Mattia Gosetto
3 anni fa
10 ha cambiato i file con 0 aggiunte e 11488 eliminazioni
@ -1,16 +0,0 @@ |
|||||||
<?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.counter"> |
|
||||||
<namespace>Counter</namespace> |
|
||||||
<entity name="Counter" local-service="true" remote-service="false" cache-enabled="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="name" type="String" primary="true" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="currentId" type="long" /> |
|
||||||
</entity> |
|
||||||
</service-builder> |
|
File diff soppresso perché troppo grande
Load Diff
File diff soppresso perché troppo grande
Load Diff
@ -1,664 +0,0 @@ |
|||||||
<?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.documentlibrary"> |
|
||||||
<namespace>DL</namespace> |
|
||||||
<entity name="DLApp" local-service="true" remote-service="true"> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="Lock" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Repository" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="RepositoryEntry" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Subscription" /> |
|
||||||
|
|
||||||
<!-- Transactions --> |
|
||||||
|
|
||||||
<tx-required>getFileAsStream</tx-required> |
|
||||||
</entity> |
|
||||||
<entity name="DLAppHelper" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="Group" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Image" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Layout" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Lock" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="PortletPreferences" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Subscription" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WebDAVProps" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetTag" /> |
|
||||||
<reference package-path="com.liferay.portlet.expando" entity="ExpandoValue" /> |
|
||||||
<reference package-path="com.liferay.portlet.messageboards" entity="MBDiscussion" /> |
|
||||||
<reference package-path="com.liferay.portlet.messageboards" entity="MBMessage" /> |
|
||||||
<reference package-path="com.liferay.portlet.ratings" entity="RatingsEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.ratings" entity="RatingsStats" /> |
|
||||||
<reference package-path="com.liferay.portlet.social" entity="SocialActivity" /> |
|
||||||
<reference package-path="com.liferay.portlet.trash" entity="TrashEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.trash" entity="TrashVersion" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLContent" human-name="document library content" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="contentId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Group instance --> |
|
||||||
|
|
||||||
<column name="groupId" type="long" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="companyId" type="long" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="repositoryId" type="long" /> |
|
||||||
<column name="path" type="String" /> |
|
||||||
<column name="version" type="String" /> |
|
||||||
<column name="data" type="Blob" /> |
|
||||||
<column name="size" type="long" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="desc"> |
|
||||||
<order-column name="version" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="C_R" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_R_P" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
<finder-column name="path" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_R_LikeP" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
<finder-column name="path" comparator="LIKE" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_R_P_V" return-type="DLContent" unique="true"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
<finder-column name="path" /> |
|
||||||
<finder-column name="version" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileEntry" human-name="document library file entry" uuid="true" local-service="true" remote-service="true" trash-enabled="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileEntryId" 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="classNameId" type="long" /> |
|
||||||
<column name="classPK" type="long" /> |
|
||||||
<column name="repositoryId" type="long" /> |
|
||||||
<column name="folderId" type="long" /> |
|
||||||
<column name="treePath" type="String" /> |
|
||||||
<column name="name" type="String" /> |
|
||||||
<column name="extension" type="String" /> |
|
||||||
<column name="mimeType" type="String" /> |
|
||||||
<column name="title" type="String" /> |
|
||||||
<column name="description" type="String" /> |
|
||||||
<column name="extraSettings" type="String" /> |
|
||||||
<column name="fileEntryTypeId" type="long" /> |
|
||||||
<column name="version" type="String" /> |
|
||||||
<column name="size" type="long" /> |
|
||||||
<column name="readCount" type="int" /> |
|
||||||
<column name="smallImageId" type="long" /> |
|
||||||
<column name="largeImageId" type="long" /> |
|
||||||
<column name="custom1ImageId" type="long" /> |
|
||||||
<column name="custom2ImageId" type="long" /> |
|
||||||
<column name="manualCheckInRequired" type="boolean" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="asc"> |
|
||||||
<order-column name="folderId" /> |
|
||||||
<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="MimeType" return-type="Collection"> |
|
||||||
<finder-column name="mimeType" /> |
|
||||||
</finder> |
|
||||||
<finder name="FileEntryTypeId" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryTypeId" /> |
|
||||||
</finder> |
|
||||||
<finder name="F_N" return-type="Collection"> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="name" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_U" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="userId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" arrayable-operator="OR" /> |
|
||||||
</finder> |
|
||||||
<finder name="R_F" return-type="Collection"> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_U_F" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="userId" /> |
|
||||||
<finder-column name="folderId" arrayable-operator="OR" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_N" return-type="DLFileEntry" unique="true"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="name" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_T" return-type="DLFileEntry" unique="true"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="title" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_F" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" arrayable-operator="OR" /> |
|
||||||
<finder-column name="fileEntryTypeId" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="Group" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Image" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Lock" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Repository" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WebDAVProps" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetCategory" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetTag" /> |
|
||||||
<reference package-path="com.liferay.portlet.dynamicdatamapping" entity="DDMStructure" /> |
|
||||||
<reference package-path="com.liferay.portlet.expando" entity="ExpandoRow" /> |
|
||||||
<reference package-path="com.liferay.portlet.expando" entity="ExpandoTable" /> |
|
||||||
<reference package-path="com.liferay.portlet.messageboards" entity="MBMessage" /> |
|
||||||
<reference package-path="com.liferay.portlet.trash" entity="TrashEntry" /> |
|
||||||
|
|
||||||
<!-- Transactions --> |
|
||||||
|
|
||||||
<tx-required>getFileAsStream</tx-required> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileEntryMetadata" human-name="document library file entry metadata" uuid="true" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileEntryMetadataId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="DDMStorageId" type="long" /> |
|
||||||
<column name="DDMStructureId" type="long" /> |
|
||||||
<column name="fileEntryTypeId" type="long" /> |
|
||||||
<column name="fileEntryId" type="long" /> |
|
||||||
<column name="fileVersionId" type="long" /> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="FileEntryTypeId" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryTypeId" /> |
|
||||||
</finder> |
|
||||||
<finder name="FileEntryId" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="FileVersionId" return-type="Collection"> |
|
||||||
<finder-column name="fileVersionId" /> |
|
||||||
</finder> |
|
||||||
<finder name="D_F" return-type="DLFileEntryMetadata" unique="true"> |
|
||||||
<finder-column name="DDMStructureId" /> |
|
||||||
<finder-column name="fileVersionId" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portlet.dynamicdatamapping" entity="DDMStructureLink" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileEntryType" human-name="document library file entry type" uuid="true" local-service="true" remote-service="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileEntryTypeId" 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="fileEntryTypeKey" type="String" /> |
|
||||||
<column name="name" type="String" localized="true" /> |
|
||||||
<column name="description" type="String" localized="true" /> |
|
||||||
|
|
||||||
<!-- Relationships --> |
|
||||||
|
|
||||||
<column name="folders" type="Collection" entity="DLFolder" mapping-table="DLFileEntryTypes_DLFolders" /> |
|
||||||
<column name="ddmStructure" type="Collection" entity="com.liferay.portlet.dynamicdatamapping.DDMStructure" mapping-table="DLFileEntryTypes_DDMStructures" /> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="GroupId" return-type="Collection"> |
|
||||||
<finder-column name="groupId" arrayable-operator="OR" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F" return-type="DLFileEntryType" unique="true"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="fileEntryTypeKey" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowDefinitionLink" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.dynamicdatamapping" entity="DDMStructure" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileRank" human-name="document library file rank" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileRankId" 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="createDate" type="Date" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="fileEntryId" type="long" /> |
|
||||||
<column name="active" type="boolean" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="desc"> |
|
||||||
<order-column name="createDate" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finders --> |
|
||||||
|
|
||||||
<finder name="UserId" return-type="Collection"> |
|
||||||
<finder-column name="userId" /> |
|
||||||
</finder> |
|
||||||
<finder name="FileEntryId" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_U" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="userId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_U_A" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="userId" /> |
|
||||||
<finder-column name="active" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_U_F" return-type="DLFileRank" unique="true"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="userId" /> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="Layout" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileShortcut" human-name="document library file shortcut" uuid="true" local-service="true" remote-service="true" trash-enabled="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileShortcutId" 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="repositoryId" type="long" /> |
|
||||||
<column name="folderId" type="long" /> |
|
||||||
<column name="toFileEntryId" type="long" /> |
|
||||||
<column name="treePath" type="String" /> |
|
||||||
<column name="active" type="boolean" /> |
|
||||||
<column name="status" type="int" /> |
|
||||||
<column name="statusByUserId" type="long" /> |
|
||||||
<column name="statusByUserName" type="String" /> |
|
||||||
<column name="statusDate" type="Date" /> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="CompanyId" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
</finder> |
|
||||||
<finder name="ToFileEntryId" return-type="Collection"> |
|
||||||
<finder-column name="toFileEntryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_NotS" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="status" comparator="!=" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_A" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="active" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_A_S" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="active" /> |
|
||||||
<finder-column name="status" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetTag" /> |
|
||||||
<reference package-path="com.liferay.portlet.trash" entity="TrashEntry" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLFileVersion" human-name="document library file version" uuid="true" local-service="true" remote-service="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="fileVersionId" 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="repositoryId" type="long" /> |
|
||||||
<column name="folderId" type="long" /> |
|
||||||
<column name="fileEntryId" type="long" /> |
|
||||||
<column name="treePath" type="String" /> |
|
||||||
<column name="extension" type="String" /> |
|
||||||
<column name="mimeType" type="String" /> |
|
||||||
<column name="title" type="String" /> |
|
||||||
<column name="description" type="String" /> |
|
||||||
<column name="changeLog" type="String" /> |
|
||||||
<column name="extraSettings" type="String" /> |
|
||||||
<column name="fileEntryTypeId" type="long" /> |
|
||||||
<column name="version" type="String" /> |
|
||||||
<column name="size" type="long" /> |
|
||||||
<column name="checksum" type="String" /> |
|
||||||
<column name="status" type="int" /> |
|
||||||
<column name="statusByUserId" type="long" /> |
|
||||||
<column name="statusByUserName" type="String" /> |
|
||||||
<column name="statusDate" type="Date" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="desc"> |
|
||||||
<order-column name="fileEntryId" /> |
|
||||||
<order-column name="createDate" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finders --> |
|
||||||
|
|
||||||
<finder name="CompanyId" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
</finder> |
|
||||||
<finder name="FileEntryId" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="MimeType" return-type="Collection"> |
|
||||||
<finder-column name="mimeType" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_NotS" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="status" comparator="!=" /> |
|
||||||
</finder> |
|
||||||
<finder name="F_V" return-type="DLFileVersion" unique="true"> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
<finder-column name="version" /> |
|
||||||
</finder> |
|
||||||
<finder name="F_S" return-type="Collection"> |
|
||||||
<finder-column name="fileEntryId" /> |
|
||||||
<finder-column name="status" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_S" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="status" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_F_T_V" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="folderId" /> |
|
||||||
<finder-column name="title" /> |
|
||||||
<finder-column name="version" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<entity name="DLFolder" human-name="document library folder" uuid="true" local-service="true" remote-service="true" trash-enabled="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="folderId" type="long" primary="true" container-model="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="repositoryId" type="long" /> |
|
||||||
<column name="mountPoint" type="boolean" /> |
|
||||||
<column name="parentFolderId" type="long" parent-container-model="true" /> |
|
||||||
<column name="treePath" type="String" /> |
|
||||||
<column name="name" type="String" /> |
|
||||||
<column name="description" type="String" /> |
|
||||||
<column name="lastPostDate" type="Date" /> |
|
||||||
<column name="defaultFileEntryTypeId" type="long" /> |
|
||||||
<column name="hidden" type="boolean" /> |
|
||||||
<column name="overrideFileEntryTypes" type="boolean" /> |
|
||||||
<column name="status" type="int" /> |
|
||||||
<column name="statusByUserId" type="long" /> |
|
||||||
<column name="statusByUserName" type="String" /> |
|
||||||
<column name="statusDate" type="Date" /> |
|
||||||
|
|
||||||
<!-- Relationships --> |
|
||||||
|
|
||||||
<column name="fileEntryTypes" type="Collection" entity="DLFileEntryType" mapping-table="DLFileEntryTypes_DLFolders" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="asc"> |
|
||||||
<order-column name="parentFolderId" /> |
|
||||||
<order-column name="name" case-sensitive="false" /> |
|
||||||
</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="RepositoryId" return-type="DLFolder"> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="RepositoryIdList" return-type="Collection"> |
|
||||||
<finder-column name="repositoryId" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_P" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_NotS" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="status" comparator="!=" /> |
|
||||||
</finder> |
|
||||||
<finder name="P_N" return-type="Collection"> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="name" /> |
|
||||||
</finder> |
|
||||||
<finder name="F_C_P_NotS" return-type="Collection" db-index="false"> |
|
||||||
<finder-column name="folderId" comparator=">" /> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="status" comparator="!=" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_P_N" return-type="DLFolder" unique="true"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="name" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_M_P_H" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="mountPoint" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="hidden" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_P_H_S" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="hidden" /> |
|
||||||
<finder-column name="status" /> |
|
||||||
</finder> |
|
||||||
<finder name="G_M_P_H_S" return-type="Collection"> |
|
||||||
<finder-column name="groupId" /> |
|
||||||
<finder-column name="mountPoint" /> |
|
||||||
<finder-column name="parentFolderId" /> |
|
||||||
<finder-column name="hidden" /> |
|
||||||
<finder-column name="status" /> |
|
||||||
</finder> |
|
||||||
|
|
||||||
<!-- References --> |
|
||||||
|
|
||||||
<reference package-path="com.liferay.portal" entity="Group" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Lock" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="Repository" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WebDAVProps" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowDefinitionLink" /> |
|
||||||
<reference package-path="com.liferay.portal" entity="WorkflowInstanceLink" /> |
|
||||||
<reference package-path="com.liferay.portlet.asset" entity="AssetEntry" /> |
|
||||||
<reference package-path="com.liferay.portlet.documentlibrary" entity="DLFileVersion" /> |
|
||||||
<reference package-path="com.liferay.portlet.expando" entity="ExpandoRow" /> |
|
||||||
<reference package-path="com.liferay.portlet.trash" entity="TrashEntry" /> |
|
||||||
</entity> |
|
||||||
<entity name="DLSyncEvent" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="syncEventId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="modifiedTime" type="long" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="event" type="String" /> |
|
||||||
<column name="type" type="String" /> |
|
||||||
<column name="typePK" type="long" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="asc"> |
|
||||||
<order-column name="modifiedTime" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="ModifiedTime" return-type="Collection"> |
|
||||||
<finder-column name="modifiedTime" comparator=">" /> |
|
||||||
</finder> |
|
||||||
<finder name="TypePK" return-type="DLSyncEvent" unique="true"> |
|
||||||
<finder-column name="typePK" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<exceptions> |
|
||||||
<exception>DirectoryName</exception> |
|
||||||
<exception>DuplicateDirectory</exception> |
|
||||||
<exception>DuplicateFile</exception> |
|
||||||
<exception>DuplicateFileEntryType</exception> |
|
||||||
<exception>DuplicateFolderName</exception> |
|
||||||
<exception>DuplicateRepositoryName</exception> |
|
||||||
<exception>FileExtension</exception> |
|
||||||
<exception>FileMimeType</exception> |
|
||||||
<exception>FileName</exception> |
|
||||||
<exception>FileShortcutPermission</exception> |
|
||||||
<exception>FileSize</exception> |
|
||||||
<exception>FolderName</exception> |
|
||||||
<exception>ImageSize</exception> |
|
||||||
<exception>InvalidFileEntryType</exception> |
|
||||||
<exception>InvalidFileVersion</exception> |
|
||||||
<exception>InvalidFolder</exception> |
|
||||||
<exception>NoSuchDirectory</exception> |
|
||||||
<exception>NoSuchFile</exception> |
|
||||||
<exception>NoSuchMetadataSet</exception> |
|
||||||
<exception>RepositoryName</exception> |
|
||||||
<exception>SourceFileName</exception> |
|
||||||
</exceptions> |
|
||||||
</service-builder> |
|
File diff soppresso perché troppo grande
Load Diff
@ -1,468 +0,0 @@ |
|||||||
<?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> |
|
@ -1,468 +0,0 @@ |
|||||||
<?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> |
|
@ -1,468 +0,0 @@ |
|||||||
<?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> |
|
@ -1,468 +0,0 @@ |
|||||||
<?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> |
|
@ -1,173 +0,0 @@ |
|||||||
<?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.expando"> |
|
||||||
<namespace>Expando</namespace> |
|
||||||
<entity name="ExpandoColumn" local-service="true" remote-service="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="columnId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="companyId" type="long" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="tableId" type="long" /> |
|
||||||
<column name="name" type="String" /> |
|
||||||
<column name="type" type="int" /> |
|
||||||
<column name="defaultData" type="String" /> |
|
||||||
<column name="typeSettings" type="String" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="asc"> |
|
||||||
<order-column name="name" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="TableId" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_N" return-type="Collection" unique="true"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="name" arrayable-operator="OR" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<entity name="ExpandoRow" local-service="true" remote-service="false"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="rowId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="companyId" type="long" /> |
|
||||||
<column name="modifiedDate" type="Date" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="tableId" type="long" /> |
|
||||||
<column name="classPK" type="long" /> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="TableId" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
</finder> |
|
||||||
<finder name="ClassPK" return-type="Collection"> |
|
||||||
<finder-column name="classPK" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_C" return-type="ExpandoRow" unique="true"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="classPK" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<entity name="ExpandoTable" local-service="true" remote-service="false" json-enabled="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="tableId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="companyId" type="long" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="classNameId" type="long" /> |
|
||||||
<column name="name" type="String" /> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="C_C" return-type="Collection"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="classNameId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_C_N" return-type="ExpandoTable" unique="true"> |
|
||||||
<finder-column name="companyId" /> |
|
||||||
<finder-column name="classNameId" /> |
|
||||||
<finder-column name="name" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<entity name="ExpandoValue" local-service="true" remote-service="true"> |
|
||||||
|
|
||||||
<!-- PK fields --> |
|
||||||
|
|
||||||
<column name="valueId" type="long" primary="true" /> |
|
||||||
|
|
||||||
<!-- Audit fields --> |
|
||||||
|
|
||||||
<column name="companyId" type="long" /> |
|
||||||
|
|
||||||
<!-- Other fields --> |
|
||||||
|
|
||||||
<column name="tableId" type="long" /> |
|
||||||
<column name="columnId" type="long" /> |
|
||||||
<column name="rowId" type="long" /> |
|
||||||
<column name="classNameId" type="long" /> |
|
||||||
<column name="classPK" type="long" /> |
|
||||||
<column name="data" type="String" /> |
|
||||||
|
|
||||||
<!-- Order --> |
|
||||||
|
|
||||||
<order by="asc"> |
|
||||||
<order-column name="tableId" /> |
|
||||||
<order-column name="rowId" /> |
|
||||||
<order-column name="columnId" /> |
|
||||||
</order> |
|
||||||
|
|
||||||
<!-- Finder methods --> |
|
||||||
|
|
||||||
<finder name="TableId" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
</finder> |
|
||||||
<finder name="ColumnId" return-type="Collection"> |
|
||||||
<finder-column name="columnId" /> |
|
||||||
</finder> |
|
||||||
<finder name="RowId" return-type="Collection"> |
|
||||||
<finder-column name="rowId" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_C" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="columnId" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_CPK" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="classPK" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_R" return-type="Collection"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="rowId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_R" return-type="ExpandoValue" unique="true"> |
|
||||||
<finder-column name="columnId" /> |
|
||||||
<finder-column name="rowId" /> |
|
||||||
</finder> |
|
||||||
<finder name="C_C" return-type="Collection"> |
|
||||||
<finder-column name="classNameId" /> |
|
||||||
<finder-column name="classPK" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_C_C" return-type="ExpandoValue" unique="true"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="columnId" /> |
|
||||||
<finder-column name="classPK" /> |
|
||||||
</finder> |
|
||||||
<finder name="T_C_D" return-type="Collection" db-index="false"> |
|
||||||
<finder-column name="tableId" /> |
|
||||||
<finder-column name="columnId" /> |
|
||||||
<finder-column name="data" /> |
|
||||||
</finder> |
|
||||||
</entity> |
|
||||||
<exceptions> |
|
||||||
<exception>ColumnName</exception> |
|
||||||
<exception>ColumnType</exception> |
|
||||||
<exception>DuplicateColumnName</exception> |
|
||||||
<exception>DuplicateTableName</exception> |
|
||||||
<exception>TableName</exception> |
|
||||||
<exception>ValueData</exception> |
|
||||||
</exceptions> |
|
||||||
</service-builder> |
|
Caricamento…
Reference in new issue