Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
468 righe
14 KiB
468 righe
14 KiB
<?xml version="1.0"?> |
|
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd"> |
|
|
|
<service-builder package-path="com.liferay.portlet.asset"> |
|
<namespace>Asset</namespace> |
|
<entity name="AssetCategory" uuid="true" uuid-accessor="true" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="categoryId" type="long" primary="true" accessor="true" /> |
|
|
|
<!-- Group instance --> |
|
|
|
<column name="groupId" type="long" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="parentCategoryId" type="long" /> |
|
<column name="leftCategoryId" type="long" /> |
|
<column name="rightCategoryId" type="long" /> |
|
<column name="name" type="String" accessor="true" /> |
|
<column name="title" type="String" localized="true" /> |
|
<column name="description" type="String" localized="true" /> |
|
<column name="vocabularyId" type="long" /> |
|
|
|
<!-- Relationships --> |
|
|
|
<column name="entries" type="Collection" entity="AssetEntry" mapping-table="AssetEntries_AssetCategories" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="name" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="GroupId" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
</finder> |
|
<finder name="ParentCategoryId" return-type="Collection"> |
|
<finder-column name="parentCategoryId" /> |
|
</finder> |
|
<finder name="VocabularyId" return-type="Collection"> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
<finder name="G_V" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="vocabularyId" arrayable-operator="OR" /> |
|
</finder> |
|
<finder name="P_N" return-type="Collection"> |
|
<finder-column name="parentCategoryId" /> |
|
<finder-column name="name" /> |
|
</finder> |
|
<finder name="P_V" return-type="Collection"> |
|
<finder-column name="parentCategoryId" /> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
<finder name="N_V" return-type="Collection"> |
|
<finder-column name="name" /> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
<finder name="G_P_V" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="parentCategoryId" /> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
<finder name="G_LikeN_V" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="name" case-sensitive="false" comparator="LIKE" /> |
|
<finder-column name="vocabularyId" arrayable-operator="OR" /> |
|
</finder> |
|
<finder name="P_N_V" return-type="AssetCategory" unique="true"> |
|
<finder-column name="parentCategoryId" /> |
|
<finder-column name="name" /> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
<finder name="G_P_N_V" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="parentCategoryId" /> |
|
<finder-column name="name" /> |
|
<finder-column name="vocabularyId" /> |
|
</finder> |
|
</entity> |
|
<entity name="AssetCategoryProperty" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="categoryPropertyId" type="long" primary="true" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="categoryId" type="long" /> |
|
<column name="key" type="String" /> |
|
<column name="value" type="String" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="key" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="CompanyId" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
</finder> |
|
<finder name="CategoryId" return-type="Collection"> |
|
<finder-column name="categoryId" /> |
|
</finder> |
|
<finder name="C_K" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
<finder-column name="key" /> |
|
</finder> |
|
<finder name="CA_K" return-type="AssetCategoryProperty" unique="true"> |
|
<finder-column name="categoryId" /> |
|
<finder-column name="key" /> |
|
</finder> |
|
</entity> |
|
<entity name="AssetEntry" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="entryId" type="long" primary="true" accessor="true" /> |
|
|
|
<!-- Group instance --> |
|
|
|
<column name="groupId" type="long" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="classNameId" type="long" /> |
|
<column name="classPK" type="long" /> |
|
<column name="classUuid" type="String" /> |
|
<column name="classTypeId" type="long" /> |
|
<column name="visible" type="boolean" /> |
|
<column name="startDate" type="Date" /> |
|
<column name="endDate" type="Date" /> |
|
<column name="publishDate" type="Date" /> |
|
<column name="expirationDate" type="Date" /> |
|
<column name="mimeType" type="String" /> |
|
<column name="title" type="String" localized="true" /> |
|
<column name="description" type="String" localized="true" /> |
|
<column name="summary" type="String" localized="true" /> |
|
<column name="url" type="String" /> |
|
<column name="layoutUuid" type="String" /> |
|
<column name="height" type="int" /> |
|
<column name="width" type="int" /> |
|
<column name="priority" type="double" /> |
|
<column name="viewCount" type="int" /> |
|
|
|
<!-- Relationships --> |
|
|
|
<column name="categories" type="Collection" entity="AssetCategory" mapping-table="AssetEntries_AssetCategories" /> |
|
<column name="tags" type="Collection" entity="AssetTag" mapping-table="AssetEntries_AssetTags" /> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="CompanyId" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
</finder> |
|
<finder name="Visible" return-type="Collection"> |
|
<finder-column name="visible" /> |
|
</finder> |
|
<finder name="PublishDate" return-type="Collection"> |
|
<finder-column name="publishDate" /> |
|
</finder> |
|
<finder name="ExpirationDate" return-type="Collection"> |
|
<finder-column name="expirationDate" /> |
|
</finder> |
|
<finder name="LayoutUuid" return-type="Collection"> |
|
<finder-column name="layoutUuid" /> |
|
</finder> |
|
<finder name="G_CU" return-type="AssetEntry"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="classUuid" /> |
|
</finder> |
|
<finder name="C_C" return-type="AssetEntry" unique="true"> |
|
<finder-column name="classNameId" /> |
|
<finder-column name="classPK" /> |
|
</finder> |
|
|
|
<!-- References --> |
|
|
|
<reference package-path="com.liferay.portal" entity="Company" /> |
|
<reference package-path="com.liferay.portal" entity="Group" /> |
|
<reference package-path="com.liferay.portal" entity="SystemEvent" /> |
|
<reference package-path="com.liferay.portlet.blogs" entity="BlogsEntry" /> |
|
<reference package-path="com.liferay.portlet.bookmarks" entity="BookmarksEntry" /> |
|
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLApp" /> |
|
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLFileEntry" /> |
|
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLFolder" /> |
|
<reference package-path="com.liferay.portlet.journal" entity="JournalArticle" /> |
|
<reference package-path="com.liferay.portlet.journal" entity="JournalArticleResource" /> |
|
<reference package-path="com.liferay.portlet.messageboards" entity="MBMessage" /> |
|
<reference package-path="com.liferay.portlet.social" entity="SocialActivity" /> |
|
<reference package-path="com.liferay.portlet.social" entity="SocialActivityCounter" /> |
|
<reference package-path="com.liferay.portlet.wiki" entity="WikiPage" /> |
|
<reference package-path="com.liferay.portlet.wiki" entity="WikiPageResource" /> |
|
</entity> |
|
<entity name="AssetLink" local-service="true" remote-service="false"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="linkId" type="long" primary="true" accessor="true" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="entryId1" type="long" /> |
|
<column name="entryId2" type="long" accessor="true" /> |
|
<column name="type" type="int" /> |
|
<column name="weight" type="int" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="weight" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="E1" return-type="Collection"> |
|
<finder-column name="entryId1" /> |
|
</finder> |
|
|
|
<finder name="E2" return-type="Collection"> |
|
<finder-column name="entryId2" /> |
|
</finder> |
|
<finder name="E_E" return-type="Collection"> |
|
<finder-column name="entryId1" /> |
|
<finder-column name="entryId2" /> |
|
</finder> |
|
<finder name="E1_T" return-type="Collection"> |
|
<finder-column name="entryId1" /> |
|
<finder-column name="type" /> |
|
</finder> |
|
<finder name="E2_T" return-type="Collection"> |
|
<finder-column name="entryId2" /> |
|
<finder-column name="type" /> |
|
</finder> |
|
<finder name="E_E_T" return-type="AssetLink" unique="true"> |
|
<finder-column name="entryId1" /> |
|
<finder-column name="entryId2" /> |
|
<finder-column name="type" /> |
|
</finder> |
|
</entity> |
|
<entity name="AssetTag" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="tagId" type="long" primary="true" accessor="true" /> |
|
|
|
<!-- Group instance --> |
|
|
|
<column name="groupId" type="long" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="name" type="String" accessor="true" /> |
|
<column name="assetCount" type="int" /> |
|
|
|
<!-- Relationships --> |
|
|
|
<column name="entries" type="Collection" entity="AssetEntry" mapping-table="AssetEntries_AssetTags" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="name" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="GroupId" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
</finder> |
|
<finder name="G_N" return-type="AssetTag"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="name" /> |
|
</finder> |
|
|
|
<!-- References --> |
|
|
|
<reference package-path="com.liferay.portal" entity="Group" /> |
|
</entity> |
|
<entity name="AssetTagProperty" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="tagPropertyId" type="long" primary="true" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="tagId" type="long" /> |
|
<column name="key" type="String" /> |
|
<column name="value" type="String" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="key" /> |
|
</order> |
|
|
|
<!--Finder methods --> |
|
|
|
<finder name="CompanyId" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
</finder> |
|
<finder name="TagId" return-type="Collection"> |
|
<finder-column name="tagId" /> |
|
</finder> |
|
<finder name="C_K" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
<finder-column name="key" /> |
|
</finder> |
|
<finder name="T_K" return-type="AssetTagProperty" unique="true"> |
|
<finder-column name="tagId" /> |
|
<finder-column name="key" /> |
|
</finder> |
|
</entity> |
|
<entity name="AssetTagPropertyKey" local-service="false" remote-service="false" /> |
|
<entity name="AssetTagStats" local-service="true" remote-service="false"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="tagStatsId" type="long" primary="true" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="tagId" type="long" /> |
|
<column name="classNameId" type="long" /> |
|
<column name="assetCount" type="int" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="desc"> |
|
<order-column name="assetCount" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="TagId" return-type="Collection"> |
|
<finder-column name="tagId" /> |
|
</finder> |
|
<finder name="ClassNameId" return-type="Collection"> |
|
<finder-column name="classNameId" /> |
|
</finder> |
|
<finder name="T_C" return-type="AssetTagStats" unique="true"> |
|
<finder-column name="tagId" /> |
|
<finder-column name="classNameId" /> |
|
</finder> |
|
</entity> |
|
<entity name="AssetVocabulary" uuid="true" local-service="true" remote-service="true"> |
|
|
|
<!-- PK fields --> |
|
|
|
<column name="vocabularyId" type="long" primary="true" /> |
|
|
|
<!-- Group instance --> |
|
|
|
<column name="groupId" type="long" /> |
|
|
|
<!-- Audit fields --> |
|
|
|
<column name="companyId" type="long" /> |
|
<column name="userId" type="long" /> |
|
<column name="userName" type="String" /> |
|
<column name="createDate" type="Date" /> |
|
<column name="modifiedDate" type="Date" /> |
|
|
|
<!-- Other fields --> |
|
|
|
<column name="name" type="String" /> |
|
<column name="title" type="String" localized="true" /> |
|
<column name="description" type="String" localized="true" /> |
|
<column name="settings" type="String" /> |
|
|
|
<!-- Order --> |
|
|
|
<order by="asc"> |
|
<order-column name="name" /> |
|
</order> |
|
|
|
<!-- Finder methods --> |
|
|
|
<finder name="GroupId" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
</finder> |
|
<finder name="CompanyId" return-type="Collection"> |
|
<finder-column name="companyId" /> |
|
</finder> |
|
<finder name="G_N" return-type="AssetVocabulary" unique="true"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="name" /> |
|
</finder> |
|
<finder name="G_LikeN" return-type="Collection"> |
|
<finder-column name="groupId" /> |
|
<finder-column name="name" case-sensitive="false" comparator="LIKE" /> |
|
</finder> |
|
|
|
<!-- References --> |
|
|
|
<reference package-path="com.liferay.portal" entity="Group" /> |
|
</entity> |
|
<exceptions> |
|
<exception>AssetCategory</exception> |
|
<exception>AssetCategoryName</exception> |
|
<exception>AssetLink</exception> |
|
<exception>AssetTag</exception> |
|
<exception>CategoryName</exception> |
|
<exception>CategoryPropertyKey</exception> |
|
<exception>CategoryPropertyValue</exception> |
|
<exception>DuplicateCategory</exception> |
|
<exception>DuplicateQueryRule</exception> |
|
<exception>DuplicateTag</exception> |
|
<exception>DuplicateVocabulary</exception> |
|
<exception>TagPropertyKey</exception> |
|
<exception>TagPropertyValue</exception> |
|
<exception>VocabularyName</exception> |
|
</exceptions> |
|
</service-builder> |