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 |
discardCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK) |
static java.util.List<CTCollection> |
getCTCollections(long companyId,
int status,
int start,
int end,
OrderByComparator<CTCollection> orderByComparator) |
static java.util.List<CTCollection> |
getCTCollections(long companyId,
int status,
java.lang.String keywords,
int start,
int end,
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 PortalException
PortalExceptionpublic static void deleteCTAutoResolutionInfo(long ctAutoResolutionInfoId)
throws PortalException
PortalExceptionpublic static CTCollection deleteCTCollection(CTCollection ctCollection) throws PortalException
PortalExceptionpublic static void discardCTEntry(long ctCollectionId,
long modelClassNameId,
long modelClassPK)
throws PortalException
PortalExceptionpublic static java.util.List<CTCollection> getCTCollections(long companyId, int status, int start, int end, OrderByComparator<CTCollection> orderByComparator)
public static java.util.List<CTCollection> getCTCollections(long companyId, int status, java.lang.String keywords, int start, int end, 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 PortalException
PortalExceptionpublic static CTCollection undoCTCollection(long ctCollectionId, long userId, java.lang.String name, java.lang.String description) throws PortalException
PortalExceptionpublic static CTCollection updateCTCollection(long userId, long ctCollectionId, java.lang.String name, java.lang.String description) throws PortalException
PortalExceptionpublic static CTCollectionService getService()