Class FragmentEntryServiceUtil

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

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

    • FragmentEntryServiceUtil

      public FragmentEntryServiceUtil()
  • Method Details

    • addFragmentEntry

      public static FragmentEntry addFragmentEntry(long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, String configuration, long previewFileEntryId, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addFragmentEntry

      public static FragmentEntry addFragmentEntry(String externalReferenceCode, long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, int type, String typeOptions, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyFragmentEntry

      public static FragmentEntry copyFragmentEntry(long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntries

      public static void deleteFragmentEntries(long[] fragmentEntriesIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntry

      public static FragmentEntry deleteFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntry

      public static FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchDraft

      public static FragmentEntry fetchDraft(long primaryKey)
    • fetchFragmentEntry

      public static FragmentEntry fetchFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDraft

      public static FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCompositionsAndFragmentEntries

      public static List<Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFragmentCompositionsAndFragmentEntries

      public static List<Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFragmentCompositionsAndFragmentEntriesCount

      public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status)
    • getFragmentCompositionsAndFragmentEntriesCount

      public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, String name, int status)
    • getFragmentEntries

      public static List<FragmentEntry> getFragmentEntries(long fragmentCollectionId)
    • getFragmentEntries

      public static List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end)
    • getFragmentEntries

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

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

      public static List<FragmentEntry> getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByStatus

      public static List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status)
    • getFragmentEntriesByStatus

      public static List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByType

      public static List<FragmentEntry> getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByTypeAndStatus

      public static List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
    • getFragmentEntriesByTypeAndStatus

      public static List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesCount

      public static int getFragmentEntriesCount(long groupId, long fragmentCollectionId)
    • getFragmentEntriesCountByName

      public static int getFragmentEntriesCountByName(long groupId, long fragmentCollectionId, String name)
    • getFragmentEntriesCountByNameAndStatus

      public static int getFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status)
    • getFragmentEntriesCountByStatus

      public static int getFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status)
    • getFragmentEntriesCountByType

      public static int getFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type)
    • getFragmentEntriesCountByTypeAndStatus

      public static int getFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
    • getFragmentEntryByExternalReferenceCode

      public static FragmentEntry getFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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
    • moveFragmentEntry

      public static FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • publishDraft

      public static FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateDraft

      public static FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public static FragmentEntry updateFragmentEntry(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public static FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long fragmentCollectionId, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, String typeOptions, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public static FragmentEntry updateFragmentEntry(long fragmentEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static FragmentEntryService getService()