Class CTCollectionServiceUtil
java.lang.Object
com.liferay.change.tracking.service.CTCollectionServiceUtil
Provides the remote service utility for CTCollection. This utility wraps
com.liferay.change.tracking.service.impl.CTCollectionServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CTCollectionaddCTCollection(String externalReferenceCode, long companyId, long userId, long ctRemoteId, String name, String description) static voiddeleteCTAutoResolutionInfo(long ctAutoResolutionInfoId) static CTCollectiondeleteCTCollection(CTCollection ctCollection) static voiddiscardCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK) static List<CTCollection>getCTCollections(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) static List<CTCollection>getCTCollections(long companyId, int[] statuses, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) static intgetCTCollectionsCount(long companyId, int[] statuses, String keywords) static StringReturns the OSGi service identifier.static CTCollectionServicestatic voidmoveCTEntry(long fromCTCollectionId, long toCTCollectionId, long modelClassNameId, long modelClassPK) static voidpublishCTCollection(long userId, long ctCollectionId) static CTCollectionundoCTCollection(long ctCollectionId, long userId, String name, String description) static CTCollectionupdateCTCollection(long userId, long ctCollectionId, String name, String description)
-
Constructor Details
-
CTCollectionServiceUtil
public CTCollectionServiceUtil()
-
-
Method Details
-
addCTCollection
public static CTCollection addCTCollection(String externalReferenceCode, long companyId, long userId, long ctRemoteId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCTAutoResolutionInfo
public static void deleteCTAutoResolutionInfo(long ctAutoResolutionInfoId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCTCollection
public static CTCollection deleteCTCollection(CTCollection ctCollection) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
discardCTEntry
public static void discardCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCTCollections
public static List<CTCollection> getCTCollections(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) -
getCTCollections
public static List<CTCollection> getCTCollections(long companyId, int[] statuses, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) -
getCTCollectionsCount
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
moveCTEntry
public static void moveCTEntry(long fromCTCollectionId, long toCTCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishCTCollection
public static void publishCTCollection(long userId, long ctCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
undoCTCollection
public static CTCollection undoCTCollection(long ctCollectionId, long userId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCTCollection
public static CTCollection updateCTCollection(long userId, long ctCollectionId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-