public class CTPreferencesServiceUtil
extends java.lang.Object
com.liferay.change.tracking.service.impl.CTPreferencesServiceImpl
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.CTPreferencesService
Constructor and Description |
---|
CTPreferencesServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CTPreferences |
checkoutCTCollection(long companyId,
long userId,
long ctCollectionId) |
static CTPreferences |
enablePublications(long companyId,
boolean enable) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CTPreferencesService |
getService() |
public static CTPreferences checkoutCTCollection(long companyId, long userId, long ctCollectionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CTPreferences enablePublications(long companyId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static CTPreferencesService getService()