Interface FragmentEntryService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
FragmentEntryServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface FragmentEntryService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for FragmentEntry. 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:
  • Method Details

    • addFragmentEntry

      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

      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

      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

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

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

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

      @Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchDraft(long primaryKey)
    • fetchFragmentEntry

      @Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDraft

      @Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentCompositionsAndFragmentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFragmentCompositionsAndFragmentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFragmentCompositionsAndFragmentEntriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status)
    • getFragmentCompositionsAndFragmentEntriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, String name, int status)
    • getFragmentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long fragmentCollectionId)
    • getFragmentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end)
    • getFragmentEntries

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByName

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByName(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByNameAndStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status)
    • getFragmentEntriesByStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByType

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesByTypeAndStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
    • getFragmentEntriesByTypeAndStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
    • getFragmentEntriesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCount(long groupId, long fragmentCollectionId)
    • getFragmentEntriesCountByName

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByName(long groupId, long fragmentCollectionId, String name)
    • getFragmentEntriesCountByNameAndStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status)
    • getFragmentEntriesCountByStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status)
    • getFragmentEntriesCountByType

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type)
    • getFragmentEntriesCountByTypeAndStatus

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
    • getFragmentEntryByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      @Transactional(propagation=SUPPORTS, readOnly=true) String[] getTempFileNames(long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFragmentEntry

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

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

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

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

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

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

      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

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