Class FragmentCompositionServiceUtil

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

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

    • FragmentCompositionServiceUtil

      public FragmentCompositionServiceUtil()
  • Method Details

    • addFragmentComposition

      public static FragmentComposition addFragmentComposition(String externalReferenceCode, long groupId, long fragmentCollectionId, String fragmentCompositionKey, String name, String description, String data, long previewFileEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentComposition

      public static FragmentComposition deleteFragmentComposition(long fragmentCompositionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentComposition

      public static FragmentComposition deleteFragmentComposition(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchFragmentComposition

      public static FragmentComposition fetchFragmentComposition(long fragmentCompositionId)
    • fetchFragmentComposition

      public static FragmentComposition fetchFragmentComposition(long groupId, String fragmentCompositionKey)
    • getFragmentCompositionByExternalReferenceCode

      public static FragmentComposition getFragmentCompositionByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCompositions

      public static List<FragmentComposition> getFragmentCompositions(long fragmentCollectionId)
    • getFragmentCompositions

      public static List<FragmentComposition> getFragmentCompositions(long fragmentCollectionId, int start, int end)
    • getFragmentCompositions

      public static List<FragmentComposition> getFragmentCompositions(long groupId, long fragmentCollectionId, int status)
    • getFragmentCompositions

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

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

      public static int getFragmentCompositionsCount(long fragmentCollectionId)
    • getOSGiServiceIdentifier

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

      public static FragmentComposition moveFragmentComposition(long fragmentCompositionId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentComposition

      public static FragmentComposition updateFragmentComposition(long fragmentCompositionId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentComposition

      public static FragmentComposition updateFragmentComposition(long fragmentCompositionId, long fragmentCollectionId, String name, String description, String data, long previewFileEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentComposition

      public static FragmentComposition updateFragmentComposition(long fragmentCompositionId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentComposition

      public static FragmentComposition updateFragmentComposition(long fragmentCompositionId, String name, String description, String data, long previewFileEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static FragmentCompositionService getService()