com.liferay.portlet.trash.service.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
<?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.trash"> <namespace>Trash</namespace> <entity name="TrashEntry" local-service="true" remote-service="true"> <!-- PK fields --> <column name="entryId" 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" /> <!-- Other fields --> <column name="classNameId" type="long" /> <column name="classPK" type="long" /> <column name="systemEventSetKey" type="long" /> <column name="typeSettings" type="String" /> <column name="status" type="int" /> <!-- Order --> <order by="desc"> <order-column name="createDate" /> </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_LtCD" return-type="Collection"> <finder-column name="groupId" /> <finder-column name="createDate" comparator="<" /> </finder> <finder name="G_C" return-type="Collection"> <finder-column name="groupId" /> <finder-column name="classNameId" /> </finder> <finder name="C_C" return-type="TrashEntry" unique="true"> <finder-column name="classNameId" /> <finder-column name="classPK" /> </finder> <!-- References --> <reference package-path="com.liferay.portal" entity="Group" /> <reference package-path="com.liferay.portal" entity="SystemEvent" /> </entity> <entity name="TrashVersion" local-service="true" remote-service="false"> <!-- PK fields --> <column name="versionId" type="long" primary="true" /> <!-- Other fields --> <column name="entryId" type="long" /> <column name="classNameId" type="long" /> <column name="classPK" type="long" /> <column name="typeSettings" type="String" /> <column name="status" type="int" /> <!-- Finder methods --> <finder name="EntryId" return-type="Collection"> <finder-column name="entryId" /> </finder> <finder name="E_C" return-type="Collection"> <finder-column name="entryId" /> <finder-column name="classNameId" /> </finder> <finder name="C_C" return-type="Collection"> <finder-column name="classNameId" /> <finder-column name="classPK" /> </finder> <finder name="E_C_C" return-type="TrashVersion" unique="true"> <finder-column name="entryId" /> <finder-column name="classNameId" /> <finder-column name="classPK" /> </finder> </entity> <exceptions> <exception>DuplicateEntry</exception> </exceptions> </service-builder>