Class CTCollectionServiceUtil

java.lang.Object
com.liferay.change.tracking.service.CTCollectionServiceUtil

public class CTCollectionServiceUtil extends Object
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 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

      public static int getCTCollectionsCount(long companyId, int[] statuses, String keywords)
    • getOSGiServiceIdentifier

      public static String 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

      public static CTCollectionService getService()