Author: apatel
Date: Sun Sep 9 10:03:42 2007 New Revision: 574028 URL: http://svn.apache.org/viewvc?rev=574028&view=rev Log: CRUD services for WorkEffortSkillStandard entity. Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml ofbiz/trunk/applications/workeffort/servicedef/services.xml Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=574028&r1=574027&r2=574028&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original) +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Sun Sep 9 10:03:42 2007 @@ -1143,4 +1143,21 @@ <remove-by-and entity-name="WorkEffortAssignmentRate" map-name="workEffortFindContext"/> </if-not-empty> </simple-method> + + <!-- WorkEffortSkillStandard Services--> + <simple-method method-name="createWorkEffortSkillStandard" short-description="Create WorkEffortSkillStandard"> + <make-value entity-name="WorkEffortSkillStandard" value-name="newEntity"/> + <set-pk-fields map-name="parameters" value-name="newEntity"/> + <set-nonpk-fields map-name="parameters" value-name="newEntity"/> + <create-value value-name="newEntity"/> + </simple-method> + <simple-method method-name="updateWorkEffortSkillStandard" short-description="Update WorkEffortSkillStandard"> + <entity-one entity-name="WorkEffortSkillStandard" value-name="lookedUpValue"/> + <set-nonpk-fields value-name="lookedUpValue" map-name="parameters"/> + <store-value value-name="lookedUpValue"/> + </simple-method> + <simple-method method-name="deleteWorkEffortSkillStandard" short-description="Delete WorkEffortSkillStandard"> + <entity-one entity-name="WorkEffortSkillStandard" value-name="lookedUpValue"/> + <remove-value value-name="lookedUpValue"/> + </simple-method> </simple-methods> Modified: ofbiz/trunk/applications/workeffort/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/servicedef/services.xml?rev=574028&r1=574027&r2=574028&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/servicedef/services.xml (original) +++ ofbiz/trunk/applications/workeffort/servicedef/services.xml Sun Sep 9 10:03:42 2007 @@ -551,4 +551,23 @@ <implements service="permissionInterface"/> <attribute name="workEffortId" mode="IN" type="String" optional="true"></attribute> </service> + + <!-- WorkEffort Skill Standard Services --> + <service name="createWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard" + location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortSkillStandard" auth="true"> + <description>Create WOrkEffortSkillStandard</description> + <auto-attributes mode="IN" include="pk" optional="false"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="updateWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard" + location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="updateWorkEffortSkillStandard" auth="true"> + <description>Update WOrkEffortSkillStandard</description> + <auto-attributes mode="IN" include="pk" optional="false"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="deleteWorkEffortSkillStandard" engine="simple" default-entity-name="WorkEffortSkillStandard" + location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="deleteWorkEffortSkillStandard" auth="true"> + <description>Delete WOrkEffortSkillStandard</description> + <auto-attributes mode="IN" include="pk" optional="false"/> + </service> </services> |
Free forum by Nabble | Edit this page |