Author: jleroux
Date: Thu Mar 19 11:20:52 2009 New Revision: 755928 URL: http://svn.apache.org/viewvc?rev=755928&view=rev Log: Content component Following best practice. Changed location="org/ofbiz/......... to location="component:// in the service location attribute. Modified: ofbiz/trunk/applications/content/servicedef/services.xml ofbiz/trunk/applications/content/servicedef/services_commevent.xml ofbiz/trunk/applications/content/servicedef/services_content.xml ofbiz/trunk/applications/content/servicedef/services_contenttypes.xml ofbiz/trunk/applications/content/servicedef/services_data.xml ofbiz/trunk/applications/content/servicedef/services_survey.xml ofbiz/trunk/applications/content/servicedef/services_website.xml Modified: ofbiz/trunk/applications/content/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services.xml?rev=755928&r1=755927&r2=755928&view=diff ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services.xml Thu Mar 19 11:20:52 2009 @@ -33,7 +33,7 @@ <!-- Content services? --> <service name="getPublicForumMessage" engine="simple" default-entity-name="Content" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="getPublicForumMessage"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="getPublicForumMessage"> <description>Get Content and resource information</description> <permission-service service-name="genericContentPermission" main-action="VIEW"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -41,7 +41,7 @@ </service> <service name="getSubContentWithPermCheck" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="getSubContentWithPermCheck"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="getSubContentWithPermCheck"> <description>Get Content and resource information</description> <permission-service service-name="genericContentPermission" main-action="VIEW"/> <attribute mode="IN" name="contentId" optional="false" type="String"/> @@ -55,7 +55,7 @@ </service> <service name="getSubSubContentWithPermCheck" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="getSubSubContentWithPermCheck"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="getSubSubContentWithPermCheck"> <description>Get Content associated with Content</description> <implements service="getSubContentWithPermCheck"/> <attribute mode="IN" name="subContentAssocTypeId" optional="true" type="String"/> @@ -64,7 +64,7 @@ </service> <service name="getContentAndDataResource" engine="simple" default-entity-name="Content" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="getContentAndDataResource"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="getContentAndDataResource"> <description>Get Content and resource information</description> <permission-service service-name="genericContentPermission" main-action="VIEW"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -72,7 +72,7 @@ </service> <service name="getDataResource" engine="simple" default-entity-name="DataResource" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="getDataResource"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="getDataResource"> <description>Get Content and resource information</description> <permission-service service-name="genericContentPermission" main-action="VIEW"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -81,21 +81,21 @@ <!-- DataCategory services --> <service name="createDataCategory" engine="simple" default-entity-name="DataCategory" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataCategory"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataCategory"> <description>Create a DataCategory</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateDataCategory" engine="simple" default-entity-name="DataCategory" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataCategory"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataCategory"> <description>Update a DataCategory</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeDataCategory" engine="simple" default-entity-name="DataCategory" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeDataCategory"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeDataCategory"> <description>Remove DataCategory</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -103,21 +103,21 @@ <!-- ContentOperation services --> <service name="createContentOperation" engine="simple" default-entity-name="ContentOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentOperation"> <description>Create a ContentOperation</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentOperation" engine="simple" default-entity-name="ContentOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentOperation"> <description>Update a ContentOperation</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentOperation" engine="simple" default-entity-name="ContentOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentOperation"> <description>Remove ContentOperation</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -125,27 +125,27 @@ <!-- ContentPurpose services --> <service name="createContentPurpose" engine="simple" default-entity-name="ContentPurpose" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurpose"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurpose"> <description>Create a ContentPurpose</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentPurpose" engine="simple" default-entity-name="ContentPurpose" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurpose"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurpose"> <description>Update a ContentPurpose</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentPurpose" engine="simple" default-entity-name="ContentPurpose" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurpose"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurpose"> <description>Remove ContentPurpose</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="updateSingleContentPurpose" engine="simple" default-entity-name="ContentPurpose" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateSingleContentPurpose"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateSingleContentPurpose"> <description>Removes content purposes and creates a new one</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> @@ -154,21 +154,21 @@ <!-- ContentPurposeOperation services --> <service name="createContentPurposeOperation" engine="simple" default-entity-name="ContentPurposeOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurposeOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurposeOperation"> <description>Create a ContentPurposeOperation</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentPurposeOperation" engine="simple" default-entity-name="ContentPurposeOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurposeOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurposeOperation"> <description>Update a ContentPurposeOperation</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentPurposeOperation" engine="simple" default-entity-name="ContentPurposeOperation" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurposeOperation"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurposeOperation"> <description>Remove ContentPurposeOperation</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -176,21 +176,21 @@ <!-- ContentAttribute services --> <service name="createContentAttribute" engine="simple" default-entity-name="ContentAttribute" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentAttribute"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentAttribute"> <description>Create a ContentAttribute</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentAttribute" engine="simple" default-entity-name="ContentAttribute" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAttribute"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAttribute"> <description>Update a ContentAttribute</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentAttribute" engine="simple" default-entity-name="ContentAttribute" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAttribute"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAttribute"> <description>Remove ContentAttribute</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -198,21 +198,21 @@ <!-- ContentMetaData services --> <service name="createContentMetaData" engine="simple" default-entity-name="ContentMetaData" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentMetaData"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentMetaData"> <description>Create a ContentMetaData</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentMetaData" engine="simple" default-entity-name="ContentMetaData" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentMetaData"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentMetaData"> <description>Update a ContentMetaData</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentMetaData" engine="simple" default-entity-name="ContentMetaData" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentMetaData"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentMetaData"> <description>Remove ContentMetaData</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -220,21 +220,21 @@ <!-- DataResourceAttribute services --> <service name="createDataResourceAttribute" engine="simple" default-entity-name="DataResourceAttribute" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceAttribute"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceAttribute"> <description>Create a DataResourceAttribute</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateDataResourceAttribute" engine="simple" default-entity-name="DataResourceAttribute" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceAttribute"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceAttribute"> <description>Update a DataResourceAttribute</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeDataResourceAttribute" engine="simple" default-entity-name="DataResourceAttribute" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceAttribute"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceAttribute"> <description>Remove DataResourceAttribute</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -242,21 +242,21 @@ <!-- DataResourceRole services --> <service name="createDataResourceRole" engine="simple" default-entity-name="DataResourceRole" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceRole"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceRole"> <description>Create a DataResourceRole</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateDataResourceRole" engine="simple" default-entity-name="DataResourceRole" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceRole"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceRole"> <description>Update a DataResourceRole</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeDataResourceRole" engine="simple" default-entity-name="DataResourceRole" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceRole"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceRole"> <description>Remove DataResourceRole</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -301,7 +301,7 @@ <!-- Util --> <service name="findAssocContent" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="findAssocContent" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="findAssocContent" auth="true"> <attribute name="contentId" type="String" mode="IN" optional="false"/> <attribute name="mapKeys" type="List" mode="IN" optional="false"/> <attribute name="contentAssocs" type="List" mode="OUT" optional="true"/> @@ -550,7 +550,7 @@ </service> <service name="createArticleContent" engine="simple" transaction-timeout="300" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createArticleContent"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createArticleContent"> <description>Creates content records for a blog entry</description> <implements service="createContentFromUploadedFile" optional="true"/> <implements service="createTextContent" optional="true"/> @@ -820,26 +820,26 @@ <!-- Content Revision services --> <service name="createContentRevision" engine="simple" default-entity-name="ContentRevision" auth="true" - location="org/ofbiz/content/compdoc/CompDocServices.xml" invoke="createContentRevision"> + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="createContentRevision"> <description>Create a ContentRevision</description> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentRevision" engine="simple" default-entity-name="ContentRevision" auth="true" - location="org/ofbiz/content/compdoc/CompDocServices.xml" invoke="updateContentRevision"> + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="updateContentRevision"> <description>Update a ContentRevision</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentRevision" engine="simple" default-entity-name="ContentRevision" auth="true" - location="org/ofbiz/content/compdoc/CompDocServices.xml" invoke="removeContentRevision"> + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="removeContentRevision"> <description>Remove ContentRevision</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- Content Revision Item services --> <service name="createContentRevisionItem" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="createContentRevisionItem" default-entity-name="ContentRevisionItem" auth="true"> <description>Create a ContentRevisionItem</description> @@ -847,7 +847,7 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentRevisionItem" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="updateContentRevisionItem" default-entity-name="ContentRevisionItem" auth="true"> <description>Update a ContentRevisionItem</description> @@ -855,7 +855,7 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentRevisionItem" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="removeContentRevisionItem" default-entity-name="ContentRevisionItem" auth="true"> <description>Remove ContentRevisionItem</description> @@ -864,7 +864,7 @@ <!-- Content Approval services --> <service name="createContentApproval" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="createContentApproval" default-entity-name="ContentApproval" auth="true"> <description>Create a ContentApproval</description> @@ -872,7 +872,7 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentApproval" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="updateContentApproval" default-entity-name="ContentApproval" auth="true"> <description>Update a ContentApproval</description> @@ -880,7 +880,7 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentApproval" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="removeContentApproval" default-entity-name="ContentApproval" auth="true"> <description>Remove ContentApproval</description> @@ -889,7 +889,7 @@ <!-- ================ CompDoc Requests ================= --> <service name="persistContentRevisionAndItem" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="persistContentRevisionAndItem" auth="true"> <description>Update a ContentRevision and ContentRevisionItem</description> <auto-attributes entity-name="ContentRevision" include="all" mode="IN" optional="true"> @@ -902,7 +902,7 @@ </service> <service name="prepForApproval" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="prepForApproval" auth="true"> <description>Set ContentApprovals for approval process</description> <attribute name="rootContentId" type="String" mode="IN" optional="false"/> @@ -910,7 +910,7 @@ </service> <service name="getFinalApprovalStatus" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="getFinalApprovalStatus" auth="true"> <description>Set ContentApprovals for approval process</description> <attribute name="contentId" type="String" mode="IN" optional="false"/> @@ -920,7 +920,7 @@ </service> <service name="getApprovalsWithPermissions" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="getApprovalsWithPermissions" auth="true" > <description>Get a list of ContentApprovals and permission indicators</description> <attribute name="rootContentId" type="String" mode="IN" optional="false"/> @@ -931,7 +931,7 @@ </service> <service name="hasApprovalPermission" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="hasApprovalPermission" auth="true"> <description>Determine permission status for record</description> <attribute name="contentApprovalId" type="String" mode="IN" optional="false"/> @@ -940,7 +940,7 @@ </service> <service name="genCompDocInstance" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="genCompDocInstance" auth="true"> <description>Generate parallel CompDoc Instance tree</description> <attribute name="contentName" type="String" mode="IN" optional="true"/> @@ -951,7 +951,7 @@ </service> <service name="persistCompDoc" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="persistCompDoc" auth="true"> <description>Create a CompDoc Template entity and associated ContentRevision/Item entities</description> <implements service="persistContentAndAssoc"/> @@ -960,7 +960,7 @@ </service> <service name="cloneTemplateContentApprovals" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="cloneTemplateContentApprovals" auth="true"> <description>Bump the previous ContentApproval approvals up to current CDT</description> <attribute name="contentRevisionSeqId" type="String" mode="IN" optional="false"/> @@ -968,7 +968,7 @@ </service> <service name="cloneInstanceContentApprovals" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="cloneInstanceContentApprovals" auth="true"> <description>Bump the previous ContentApproval approvals up to current CDI</description> <attribute name="contentRevisionSeqId" type="String" mode="IN" optional="true"/> @@ -976,7 +976,7 @@ </service> <service name="checkForWaitingApprovals" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="checkForWaitingApprovals" auth="true"> <description>Check to see if there are any ContentApproval records awaiting this user's action</description> <attribute name="thisUserLogin" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"/> @@ -984,7 +984,7 @@ </service> <service name="getMostRecentRevision" engine="simple" - location="org/ofbiz/content/compdoc/CompDocServices.xml" + location="component://content/script/org/ofbiz/content/compdoc/CompDocServices.xml" invoke="getMostRecentRevision" auth="true"> <description>Look for most recent revision for contentId</description> <attribute name="contentId" type="String" mode="IN" optional="false"/> @@ -1059,7 +1059,7 @@ <!-- blog services --> <service name="createBlogEntry" engine="simple" auth="true" - location="org/ofbiz/content/blog/BlogServices.xml" invoke="createBlogEntry"> + location="component://content/script/org/ofbiz/content/blog/BlogServices.xml" invoke="createBlogEntry"> <description>Creates content records for a blog entry</description> <implements service="uploadFileInterface" optional="true"/> <attribute name="blogContentId" type="String" mode="INOUT" optional="false"/> @@ -1072,7 +1072,7 @@ <attribute name="summaryData" type="String" mode="IN" optional="true"/> </service> <service name="updateBlogEntry" engine="simple" auth="true" - location="org/ofbiz/content/blog/BlogServices.xml" invoke="updateBlogEntry"> + location="component://content/script/org/ofbiz/content/blog/BlogServices.xml" invoke="updateBlogEntry"> <description>Updates content records for a blog entry</description> <implements service="uploadFileInterface" optional="true"/> <attribute name="blogContentId" type="String" mode="INOUT" optional="false"/> @@ -1085,7 +1085,7 @@ <attribute name="summaryData" type="String" mode="IN" optional="true"/> </service> <service name="getBlogEntry" engine="simple" auth="true" - location="org/ofbiz/content/blog/BlogServices.xml" invoke="getBlogEntry"> + location="component://content/script/org/ofbiz/content/blog/BlogServices.xml" invoke="getBlogEntry"> <description>Retrieves content records for a blog entry</description> <attribute name="blogContentId" type="String" mode="INOUT" optional="false"/> <attribute name="contentId" type="String" mode="INOUT" optional="true"/><!-- also used for new entries, will return with no error with empty contentId --> @@ -1116,7 +1116,7 @@ <!-- eca helper services --> <service name="checkContentAssocIds" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="checkContentAssocIds"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="checkContentAssocIds"> <description>Fixes the ContentAssoc IDs based on passed parameters</description> <attribute name="contentIdFrom" type="String" mode="INOUT" optional="true"/> <attribute name="contentIdTo" type="String" mode="INOUT" optional="true"/> @@ -1125,15 +1125,15 @@ <!-- content permission services --> <service name="contentManagerRolePermission" engine="simple" auth="true" - location="org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="contentManagerRolePermission"> + location="component://content/script/org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="contentManagerRolePermission"> <implements service="permissionInterface"/> </service> <service name="contentManagerPermission" engine="simple" auth="true" - location="org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="contentManagerPermission"> + location="component://content/script/org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="contentManagerPermission"> <implements service="permissionInterface"/> </service> <service name="genericContentPermission" engine="simple" auth="true" - location="org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="genericContentPermission"> + location="component://content/script/org/ofbiz/content/permission/ContentPermissionServices.xml" invoke="genericContentPermission"> <description>Generic Content Permission Service; Takes mainAction to determine the mode.</description> <implements service="permissionInterface"/> <attribute name="ownerContentId" type="String" mode="IN" optional="true"/> @@ -1145,7 +1145,7 @@ <attribute name="contentOperationId" type="String" mode="IN" optional="true"/> </service> <service name="genericDataResourcePermission" engine="simple" auth="true" - location="org/ofbiz/content/permission/DataResourcePermissionServices.xml" invoke="genericDataResourcePermission"> + location="component://content/script/org/ofbiz/content/permission/DataResourcePermissionServices.xml" invoke="genericDataResourcePermission"> <description>Generic DataResource Permission Service; Takes mainAction to determine the mode.</description> <implements service="permissionInterface"/> <attribute name="dataResourceId" type="String" mode="IN" optional="true"/> Modified: ofbiz/trunk/applications/content/servicedef/services_commevent.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_commevent.xml?rev=755928&r1=755927&r2=755928&view=diff ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services_commevent.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services_commevent.xml Thu Mar 19 11:20:52 2009 @@ -36,7 +36,7 @@ The fromData should be defaulted if not passed in. --> <service name="createCommContentDataResource" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createCommContentDataResource" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createCommContentDataResource" auth="true"> <description>Create CommunicationEvent and Content</description> <implements service="persistContentAndAssoc"/> <attribute name="communicationEventId" type="String" mode="IN" optional="false"/> @@ -44,7 +44,7 @@ </service> <service name="updateCommContentDataResource" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateCommContentDataResource" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateCommContentDataResource" auth="true"> <description>Update CommunicationEvent and Content</description> <implements service="persistContentAndAssoc"/> <attribute name="communicationEventId" type="String" mode="IN" optional="false"/> @@ -52,7 +52,7 @@ </service> <service name="createCommEventContentAssoc" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createCommEventContentAssoc" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createCommEventContentAssoc" auth="true"> <description>Create CommEventContentAssoc</description> <attribute name="communicationEventId" type="String" mode="IN" optional="false"/> <attribute name="contentId" type="String" mode="IN" optional="false"/> @@ -62,7 +62,7 @@ </service> <service name="updateCommEventContentAssoc" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateCommEventContentAssoc" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateCommEventContentAssoc" auth="true"> <description>Update CommEventContentAssoc</description> <attribute name="communicationEventId" type="String" mode="IN" optional="false"/> <attribute name="contentId" type="String" mode="IN" optional="false"/> @@ -72,7 +72,7 @@ </service> <service name="removeCommEventContentAssoc" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeCommEventContentAssoc" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeCommEventContentAssoc" auth="true"> <description>Remove CommEventContentAssoc</description> <attribute name="communicationEventId" type="String" mode="IN" optional="false"/> <attribute name="contentId" type="String" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/content/servicedef/services_content.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_content.xml?rev=755928&r1=755927&r2=755928&view=diff ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services_content.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services_content.xml Thu Mar 19 11:20:52 2009 @@ -24,7 +24,7 @@ <!-- create content services --> <service name="createContent" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContent"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContent"> <description>Create a Content</description> <permission-service service-name="genericContentPermission" main-action="CREATE"/> <auto-attributes entity-name="Content" include="nonpk" mode="IN" optional="true"/> @@ -51,7 +51,7 @@ </service> <service name="createTextAndUploadedContent" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createTextAndUploadedContent"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createTextAndUploadedContent"> <description>Creates text content and optional uploaded sub-content</description> <implements service="createTextContent"/> <implements service="uploadFileInterface" optional="true"/> @@ -68,7 +68,7 @@ </service> <service name="createContentFromDataResource" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentFromDataResource"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentFromDataResource"> <description>Creates content record from data resource and allows all content fields to be set</description> <!-- uses createContent internally; additonal permission(s) not necessary --> <implements service="createContent" optional="true"/> @@ -77,7 +77,7 @@ </service> <service name="attachUploadToDataResource" engine="simple" transaction-timeout="300" - location="org/ofbiz/content/data/DataServices.xml" invoke="attachUploadToDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="attachUploadToDataResource"> <description>Accepts uploaded content and attaches to an existing data resource</description> <!-- uses createContent internally; additonal permission(s) not necessary --> <implements service="uploadFileInterface"/> @@ -107,7 +107,7 @@ </service> <service name="copyContentAndElectronicTextandAssoc" default-entity-name="Content" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="copyContentAndElectronicTextandAssoc" auth="true" > + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="copyContentAndElectronicTextandAssoc" auth="true" > <description>Copy a Content, e;ectronic text and assocs</description> <!-- uses createContent internally; additonal permission(s) not necessary --> <auto-attributes include="pk" mode="INOUT" optional="false"/> @@ -115,7 +115,7 @@ <!-- update content services --> <service name="updateContent" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContent"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContent"> <description>Update a Content</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <implements service="updateContentAssoc" optional="true"/> @@ -140,7 +140,7 @@ </service> <service name="removeContent" default-entity-name="Content" engine="simple" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContent" auth="true"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContent" auth="true"> <description>Remove Content</description> <permission-service service-name="genericContentPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -220,7 +220,7 @@ </service> <service name="assocContent" engine="simple" default-entity-name="ContentAssoc" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="assocContent"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="assocContent"> <description>Check for permission to perform operation on Content</description> <attribute mode="IN" name="targetOperationList" optional="true" type="List"/> <attribute mode="IN" name="contentPurposeList" optional="true" type="List"/> @@ -236,7 +236,7 @@ </service> <service name="createContentAssoc" default-entity-name="ContentAssoc" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssoc"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssoc"> <description>Create a ContentAssoc</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="all" mode="IN" optional="true"/> @@ -254,7 +254,7 @@ <!-- end of deprecated fields --> </service> <service name="updateContentAssoc" default-entity-name="ContentAssoc" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssoc"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssoc"> <description>Update a ContentAssoc</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -270,7 +270,7 @@ <!-- end of deprecated fields --> </service> <service name="removeContentAssoc" default-entity-name="ContentAssoc" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssoc"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssoc"> <description>Remove ContentAssoc</description> <permission-service service-name="genericContentPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -285,7 +285,7 @@ <!-- content status services --> <service name="setContentStatus" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="setContentStatus"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="setContentStatus"> <description>Set the Content Status</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <attribute name="contentId" type="String" mode="IN" optional="false"/> @@ -295,7 +295,7 @@ <!-- ContentRole services --> <service name="createContentRole" engine="simple" default-entity-name="ContentRole" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentRole"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentRole"> <description>Create a ContentRole</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -303,14 +303,14 @@ <override name="fromDate" optional="true"/> </service> <service name="updateContentRole" engine="simple" default-entity-name="ContentRole" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentRole"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentRole"> <description>Update a ContentRole</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deactivateAllContentRoles" engine="simple" default-entity-name="ContentRole" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="deactivateAllContentRoles"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="deactivateAllContentRoles"> <description>Deactivate all ContentRoles</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <attribute mode="IN" name="contentId" optional="false" type="String"/> @@ -318,7 +318,7 @@ <attribute mode="IN" name="partyId" optional="false" type="String"/> </service> <service name="removeContentRole" engine="simple" default-entity-name="ContentRole" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentRole"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentRole"> <description>Remove ContentRole</description> <permission-service service-name="genericContentPermission" main-action="UPDATE"/> <auto-attributes entity-name="ContentRole" include="pk" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/content/servicedef/services_contenttypes.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_contenttypes.xml?rev=755928&r1=755927&r2=755928&view=diff ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services_contenttypes.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services_contenttypes.xml Thu Mar 19 11:20:52 2009 @@ -25,21 +25,21 @@ <!-- ContentType services --> <service name="createContentType" engine="simple" default-entity-name="ContentType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentType"> <description>Create a ContentType</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentType" engine="simple" default-entity-name="ContentType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentType"> <description>Update a ContentType</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentType" engine="simple" default-entity-name="ContentType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentType" > + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentType" > <description>Remove ContentType</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -47,21 +47,21 @@ <!-- ContentAssocType services --> <service name="createContentAssocType" engine="simple" default-entity-name="ContentAssocType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssocType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssocType"> <description>Create a ContentAssocType</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentAssocType" engine="simple" default-entity-name="ContentAssocType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssocType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssocType"> <description>Update a ContentAssocType</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentAssocType" engine="simple" default-entity-name="ContentAssocType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssocType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssocType"> <description>Remove ContentAssocType</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -69,14 +69,14 @@ <!-- ContentTypeAttr services --> <service name="createContentTypeAttr" engine="simple" default-entity-name="ContentTypeAttr" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentTypeAttr"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentTypeAttr"> <description>Create a ContentTypeAttr</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentTypeAttr" engine="simple" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentTypeAttr"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentTypeAttr"> <description>Remove ContentTypeAttr</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes entity-name="ContentTypeAttr" include="pk" mode="IN" optional="false"/> @@ -84,21 +84,21 @@ <!--ContentAssocPredicate services.--> <service name="createContentAssocPredicate" engine="simple" default-entity-name="ContentAssocPredicate" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssocPredicate"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentAssocPredicate"> <description>Create a ContentAssocPredicate</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentAssocPredicate" engine="simple" default-entity-name="ContentAssocPredicate" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssocPredicate"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentAssocPredicate"> <description>Update a ContentAssocPredicate</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentAssocPredicate" engine="simple" default-entity-name="ContentAssocPredicate" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssocPredicate"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentAssocPredicate"> <description>Remove ContentAssocPredicate</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes entity-name="ContentAssocPredicate" include="pk" mode="IN" optional="false"/> @@ -106,21 +106,21 @@ <!-- ContentPurposeType services --> <service name="createContentPurposeType" engine="simple" default-entity-name="ContentPurposeType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurposeType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="createContentPurposeType"> <description>Create a ContentPurposeType</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateContentPurposeType" engine="simple" default-entity-name="ContentPurposeType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurposeType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="updateContentPurposeType"> <description>Update a ContentPurposeType</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeContentPurposeType" engine="simple" default-entity-name="ContentPurposeType" auth="true" - location="org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurposeType"> + location="component://content/script/org/ofbiz/content/content/ContentServices.xml" invoke="removeContentPurposeType"> <description>Remove ContentPurposeType</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -128,21 +128,21 @@ <!-- CharacterSet services --> <service name="createCharacterSet" engine="simple" default-entity-name="CharacterSet" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createCharacterSet"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createCharacterSet"> <description>Create a CharacterSet</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateCharacterSet" engine="simple" default-entity-name="CharacterSet" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateCharacterSet"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateCharacterSet"> <description>Update a CharacterSet</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeCharacterSet" engine="simple" default-entity-name="CharacterSet" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeCharacterSet"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeCharacterSet"> <description>Remove CharacterSet</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -150,21 +150,21 @@ <!-- DataResourceType services --> <service name="createDataResourceType" engine="simple" default-entity-name="DataResourceType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceType"> <description>Create a DataResourceType</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateDataResourceType" engine="simple" default-entity-name="DataResourceType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceType"> <description>Update a DataResourceType</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeDataResourceType" engine="simple" default-entity-name="DataResourceType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceType"> <description>Remove DataResourceType</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -172,21 +172,21 @@ <!--DataResourceTypeAttr services.--> <service name="createDataResourceTypeAttr" engine="simple" default-entity-name="DataResourceTypeAttr" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceTypeAttr"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataResourceTypeAttr"> <description>Create a DataResourceTypeAttr</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="IN" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateDataResourceTypeAttr" engine="simple" default-entity-name="DataResourceTypeAttr" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceTypeAttr"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataResourceTypeAttr"> <description>Update a DataResourceTypeAttr</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeDataResourceTypeAttr" engine="simple" default-entity-name="DataResourceTypeAttr" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceTypeAttr"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeDataResourceTypeAttr"> <description>Remove DataResourceTypeAttr</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -194,21 +194,21 @@ <!-- FileExtension services --> <service name="createFileExtension" engine="simple" default-entity-name="FileExtension" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createFileExtension"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createFileExtension"> <description>Create a FileExtension</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateFileExtension" engine="simple" default-entity-name="FileExtension" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateFileExtension"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateFileExtension"> <description>Update a FileExtension</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeFileExtension" engine="simple" default-entity-name="FileExtension" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeFileExtension"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeFileExtension"> <description>Remove FileExtension</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -216,21 +216,21 @@ <!-- MetaDataPredicate services --> <service name="createMetaDataPredicate" engine="simple" default-entity-name="MetaDataPredicate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createMetaDataPredicate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createMetaDataPredicate"> <description>Create a MetaDataPredicate</description> <permission-service service-name="contentManagerPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateMetaDataPredicate" engine="simple" default-entity-name="MetaDataPredicate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateMetaDataPredicate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateMetaDataPredicate"> <description>Update a MetaDataPredicate</description> <permission-service service-name="contentManagerPermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeMetaDataPredicate" engine="simple" default-entity-name="MetaDataPredicate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeMetaDataPredicate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeMetaDataPredicate"> <description>Remove MetaDataPredicate</description> <permission-service service-name="contentManagerPermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -238,38 +238,38 @@ <!-- MimeType services --> <service name="createMimeType" engine="simple" default-entity-name="MimeType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createMimeType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createMimeType"> <description>Create a MimeType</description> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateMimeType" engine="simple" default-entity-name="MimeType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateMimeType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateMimeType"> <description>Update a MimeType</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeMimeType" engine="simple" default-entity-name="MimeType" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeMimeType"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeMimeType"> <description>Remove MimeType</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- MimeTypeHtmlTemplate services --> <service name="createMimeTypeHtmlTemplate" engine="simple" default-entity-name="MimeTypeHtmlTemplate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createMimeTypeHtmlTemplate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createMimeTypeHtmlTemplate"> <description>Create a MimeTypeHtmlTemplate</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateMimeTypeHtmlTemplate" engine="simple" default-entity-name="MimeTypeHtmlTemplate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateMimeTypeHtmlTemplate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateMimeTypeHtmlTemplate"> <description>Update a MimeTypeHtmlTemplate</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeMimeTypeHtmlTemplate" engine="simple" default-entity-name="MimeTypeHtmlTemplate" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeMimeTypeHtmlTemplate"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeMimeTypeHtmlTemplate"> <description>Remove MimeTypeHtmlTemplate</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> Modified: ofbiz/trunk/applications/content/servicedef/services_data.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_data.xml?rev=755928&r1=755927&r2=755928&view=diff ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services_data.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services_data.xml Thu Mar 19 11:20:52 2009 @@ -24,7 +24,7 @@ <!-- DataResource services --> <service name="createDataResource" default-entity-name="DataResource" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="createDataResource" auth="true"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createDataResource" auth="true"> <description>Create a DataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> @@ -39,7 +39,7 @@ <override name="objectInfo" allow-html="safe"/> </service> <service name="updateDataResource" engine="simple" default-entity-name="DataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateDataResource"> <description>Update a DataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> @@ -52,7 +52,7 @@ <override name="objectInfo" allow-html="safe"/> </service> <service name="removeDataResource" engine="simple" default-entity-name="DataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="deleteDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="deleteDataResource"> <description>Remove DataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -97,7 +97,7 @@ <!-- ElectronicText services --> <service name="createElectronicText" default-entity-name="ElectronicText" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="createElectronicText" auth="true"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createElectronicText" auth="true"> <description>Create a ElectronicText</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <implements service="createDataResource"/> @@ -107,7 +107,7 @@ <override name="textData" allow-html="safe"/> </service> <service name="updateElectronicText" default-entity-name="ElectronicText" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateElectronicText" auth="true"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateElectronicText" auth="true"> <description>Update a ElectronicText</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="INOUT" optional="false"/> @@ -116,13 +116,13 @@ <override name="textData" allow-html="safe"/> </service> <service name="removeElectronicText" default-entity-name="ElectronicText" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeElectronicText" auth="true"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeElectronicText" auth="true"> <description>Remove ElectronicText</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="getElectronicText" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="getElectronicText" default-entity-name="ElectronicText" auth="false" > + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="getElectronicText" default-entity-name="ElectronicText" auth="false" > <description>Get a ElectronicText: Can pass either content value object or contentId</description> <attribute mode="IN" name="contentId" optional="true" type="String"/> <attribute mode="IN" name="content" optional="true" type="GenericValue"/> @@ -132,21 +132,21 @@ <!-- Image Data Resource services --> <service name="createImageDataResource" engine="simple" default-entity-name="ImageDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createImageDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createImageDataResource"> <description>Create an ImageDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateImageDataResource" engine="simple" default-entity-name="ImageDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateImageDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateImageDataResource"> <description>Update an ImageDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeImageDataResource" engine="simple" default-entity-name="ImageDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeImageDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeImageDataResource"> <description>Remove an ImageDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -154,21 +154,21 @@ <!-- Video Data Resource services --> <service name="createVideoDataResource" engine="simple" default-entity-name="VideoDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createVideoDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createVideoDataResource"> <description>Create a VideoDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateVideoDataResource" engine="simple" default-entity-name="VideoDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateVideoDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateVideoDataResource"> <description>Update an VideoDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeVideoDataResource" engine="simple" default-entity-name="VideoDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeVideoDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeVideoDataResource"> <description>Remove an VideoDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -176,21 +176,21 @@ <!-- Audio Data Resource services --> <service name="createAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createAudioDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createAudioDataResource"> <description>Create an AudioDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateAudioDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateAudioDataResource"> <description>Update an AudioDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeAudioDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeAudioDataResource"> <description>Remove an AudioDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -198,21 +198,21 @@ <!-- Other Data Resource services --> <service name="createOtherDataResource" engine="simple" default-entity-name="OtherDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="createOtherDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="createOtherDataResource"> <description>Create an OtherDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/> <auto-attributes include="pk" mode="INOUT" optional="true"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateOtherDataResource" engine="simple" default-entity-name="OtherDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="updateOtherDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="updateOtherDataResource"> <description>Update an OtherDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeOtherDataResource" engine="simple" default-entity-name="OtherDataResource" auth="true" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeOtherDataResource"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeOtherDataResource"> <description>Remove an OtherDataResource</description> <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/> <auto-attributes include="pk" mode="IN" optional="false"/> @@ -247,7 +247,7 @@ </service> <!-- TO BE REMOVED <service name="removeFile" engine="simple" - location="org/ofbiz/content/data/DataServices.xml" invoke="removeFile" auth="true"> + location="component://content/script/org/ofbiz/content/data/DataServices.xml" invoke="removeFile" auth="true"> <description>Remove File</description> <attribute mode="IN" name="rootDir" optional="true" type="String"/> </service> |
Free forum by Nabble | Edit this page |