Class FragmentCollectionServiceUtil

java.lang.Object
com.liferay.fragment.service.FragmentCollectionServiceUtil

public class FragmentCollectionServiceUtil extends Object
Provides the remote service utility for FragmentCollection. This utility wraps com.liferay.fragment.service.impl.FragmentCollectionServiceImpl 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

    • FragmentCollectionServiceUtil

      public FragmentCollectionServiceUtil()
  • Method Details

    • addFragmentCollection

      public static FragmentCollection addFragmentCollection(String externalReferenceCode, long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addFragmentCollection

      public static FragmentCollection addFragmentCollection(String externalReferenceCode, long groupId, String fragmentCollectionKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentCollection

      public static FragmentCollection deleteFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentCollection

      public static FragmentCollection deleteFragmentCollection(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentCollections

      public static void deleteFragmentCollections(long[] fragmentCollectionIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchFragmentCollection

      public static FragmentCollection fetchFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCollectionByExternalReferenceCode

      public static FragmentCollection getFragmentCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCollectionFileEntries

      public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFragmentCollectionFileEntries(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, boolean includeSystem)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, int start, int end)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, String name, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long[] groupIds)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollections

      public static List<FragmentCollection> getFragmentCollections(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long groupId)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long groupId, boolean includeSystem)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long groupId, String name)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long groupId, String name, boolean includeSystem)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long[] groupIds)
    • getFragmentCollectionsCount

      public static int getFragmentCollectionsCount(long[] groupIds, String name)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getTempFileNames

      public static String[] getTempFileNames(long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentCollection

      public static FragmentCollection updateFragmentCollection(long fragmentCollectionId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static FragmentCollectionService getService()