public class CTCollectionServiceUtil
extends java.lang.Object
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.CTCollectionService
Constructor and Description |
---|
CTCollectionServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CTCollection |
addCTCollection(long companyId,
long userId,
java.lang.String name,
java.lang.String description) |
static void |
deleteCTAutoResolutionInfo(long ctAutoResolutionInfoId) |
static CTCollection |
deleteCTCollection(CTCollection ctCollection) |
static void |
discardCTEntries(long ctCollectionId,
long modelClassNameId,
long modelClassPK) |
static void |
discardCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK) |
static java.util.List<CTCollection> |
getCTCollections(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) |
static java.util.List<CTCollection> |
getCTCollections(long companyId,
int status,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) |
static int |
getCTCollectionsCount(long companyId,
int status,
java.lang.String keywords) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CTCollectionService |
getService() |
static void |
publishCTCollection(long userId,
long ctCollectionId) |
static CTCollection |
undoCTCollection(long ctCollectionId,
long userId,
java.lang.String name,
java.lang.String description) |
static CTCollection |
updateCTCollection(long userId,
long ctCollectionId,
java.lang.String name,
java.lang.String description) |
public static CTCollection addCTCollection(long companyId, long userId, java.lang.String name, java.lang.String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCTAutoResolutionInfo(long ctAutoResolutionInfoId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CTCollection deleteCTCollection(CTCollection ctCollection) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void discardCTEntries(long ctCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void discardCTEntry(long ctCollectionId, long modelClassNameId, long modelClassPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CTCollection> getCTCollections(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
public static java.util.List<CTCollection> getCTCollections(long companyId, int status, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
public static int getCTCollectionsCount(long companyId, int status, java.lang.String keywords)
public static java.lang.String getOSGiServiceIdentifier()
public static void publishCTCollection(long userId, long ctCollectionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CTCollection undoCTCollection(long ctCollectionId, long userId, java.lang.String name, java.lang.String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CTCollection updateCTCollection(long userId, long ctCollectionId, java.lang.String name, java.lang.String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CTCollectionService getService()