Class FragmentEntryLocalServiceWrapper

java.lang.Object
com.liferay.fragment.service.FragmentEntryLocalServiceWrapper
All Implemented Interfaces:
FragmentEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>, com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>

public class FragmentEntryLocalServiceWrapper extends Object implements FragmentEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
Provides a wrapper for FragmentEntryLocalService.
See Also:
Generated:
  • Constructor Details

    • FragmentEntryLocalServiceWrapper

      public FragmentEntryLocalServiceWrapper()
    • FragmentEntryLocalServiceWrapper

      public FragmentEntryLocalServiceWrapper(FragmentEntryLocalService fragmentEntryLocalService)
  • Method Details

    • addFragmentEntry

      public FragmentEntry addFragmentEntry(FragmentEntry fragmentEntry)
      Adds the fragment entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect FragmentEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      addFragmentEntry in interface FragmentEntryLocalService
      Parameters:
      fragmentEntry - the fragment entry
      Returns:
      the fragment entry that was added
    • addFragmentEntry

      public FragmentEntry addFragmentEntry(String externalReferenceCode, long userId, 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
      Specified by:
      addFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkout

      public FragmentEntry checkout(FragmentEntry publishedFragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkout in interface FragmentEntryLocalService
      Specified by:
      checkout in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyFragmentEntry

      public FragmentEntry copyFragmentEntry(long userId, long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      copyFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • create

      public FragmentEntry create()
      Creates a new fragment entry. Does not add the fragment entry to the database.
      Specified by:
      create in interface FragmentEntryLocalService
      Specified by:
      create in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Returns:
      the new fragment entry
    • createFragmentEntry

      public FragmentEntry createFragmentEntry(long fragmentEntryId)
      Specified by:
      createFragmentEntry in interface FragmentEntryLocalService
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface FragmentEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • delete

      public FragmentEntry delete(FragmentEntry publishedFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      delete in interface FragmentEntryLocalService
      Specified by:
      delete in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteDraft

      public FragmentEntry deleteDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteDraft in interface FragmentEntryLocalService
      Specified by:
      deleteDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntry

      public FragmentEntry deleteFragmentEntry(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the fragment entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect FragmentEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteFragmentEntry in interface FragmentEntryLocalService
      Parameters:
      fragmentEntry - the fragment entry
      Returns:
      the fragment entry that was removed
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntry

      public FragmentEntry deleteFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the fragment entry with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect FragmentEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteFragmentEntry in interface FragmentEntryLocalService
      Parameters:
      fragmentEntryId - the primary key of the fragment entry
      Returns:
      the fragment entry that was removed
      Throws:
      PortalException - if a fragment entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteFragmentEntry

      public FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface FragmentEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteVersion

      public FragmentEntryVersion deleteVersion(FragmentEntryVersion fragmentEntryVersion) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteVersion in interface FragmentEntryLocalService
      Specified by:
      deleteVersion in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface FragmentEntryLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface FragmentEntryLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface FragmentEntryLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface FragmentEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryModelImpl.

      Specified by:
      dynamicQuery in interface FragmentEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryModelImpl.

      Specified by:
      dynamicQuery in interface FragmentEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface FragmentEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface FragmentEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchDraft

      public FragmentEntry fetchDraft(FragmentEntry fragmentEntry)
      Specified by:
      fetchDraft in interface FragmentEntryLocalService
      Specified by:
      fetchDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • fetchDraft

      public FragmentEntry fetchDraft(long primaryKey)
      Specified by:
      fetchDraft in interface FragmentEntryLocalService
      Specified by:
      fetchDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • fetchFragmentEntry

      public FragmentEntry fetchFragmentEntry(long fragmentEntryId)
      Specified by:
      fetchFragmentEntry in interface FragmentEntryLocalService
    • fetchFragmentEntry

      public FragmentEntry fetchFragmentEntry(long groupId, String fragmentEntryKey)
      Specified by:
      fetchFragmentEntry in interface FragmentEntryLocalService
    • fetchFragmentEntryByExternalReferenceCode

      public FragmentEntry fetchFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId)
      Specified by:
      fetchFragmentEntryByExternalReferenceCode in interface FragmentEntryLocalService
    • fetchFragmentEntryByUuidAndGroupId

      public FragmentEntry fetchFragmentEntryByUuidAndGroupId(String uuid, long groupId)
      Specified by:
      fetchFragmentEntryByUuidAndGroupId in interface FragmentEntryLocalService
    • fetchLatestVersion

      public FragmentEntryVersion fetchLatestVersion(FragmentEntry fragmentEntry)
      Specified by:
      fetchLatestVersion in interface FragmentEntryLocalService
      Specified by:
      fetchLatestVersion in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • fetchPublished

      public FragmentEntry fetchPublished(FragmentEntry fragmentEntry)
      Specified by:
      fetchPublished in interface FragmentEntryLocalService
      Specified by:
      fetchPublished in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • fetchPublished

      public FragmentEntry fetchPublished(long primaryKey)
      Specified by:
      fetchPublished in interface FragmentEntryLocalService
      Specified by:
      fetchPublished in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • generateFragmentEntryKey

      public String generateFragmentEntryKey(long groupId, String name)
      Specified by:
      generateFragmentEntryKey in interface FragmentEntryLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface FragmentEntryLocalService
    • getDraft

      public FragmentEntry getDraft(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDraft in interface FragmentEntryLocalService
      Specified by:
      getDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDraft

      public FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDraft in interface FragmentEntryLocalService
      Specified by:
      getDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(int start, int end)
      Returns a range of all the fragment entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryModelImpl.

      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
      Parameters:
      start - the lower bound of the range of fragment entries
      end - the upper bound of the range of fragment entries (not inclusive)
      Returns:
      the range of fragment entries
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long fragmentCollectionId)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long fragmentCollectionId, int start, int end)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int status)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntries

      public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
      Specified by:
      getFragmentEntries in interface FragmentEntryLocalService
    • getFragmentEntriesByUuidAndCompanyId

      public List<FragmentEntry> getFragmentEntriesByUuidAndCompanyId(String uuid, long companyId)
      Specified by:
      getFragmentEntriesByUuidAndCompanyId in interface FragmentEntryLocalService
    • getFragmentEntriesByUuidAndCompanyId

      public List<FragmentEntry> getFragmentEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
      Specified by:
      getFragmentEntriesByUuidAndCompanyId in interface FragmentEntryLocalService
    • getFragmentEntriesCount

      public int getFragmentEntriesCount()
      Returns the number of fragment entries.
      Specified by:
      getFragmentEntriesCount in interface FragmentEntryLocalService
      Returns:
      the number of fragment entries
    • getFragmentEntriesCount

      public int getFragmentEntriesCount(long fragmentCollectionId)
      Specified by:
      getFragmentEntriesCount in interface FragmentEntryLocalService
    • getFragmentEntry

      public FragmentEntry getFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the fragment entry with the primary key.
      Specified by:
      getFragmentEntry in interface FragmentEntryLocalService
      Parameters:
      fragmentEntryId - the primary key of the fragment entry
      Returns:
      the fragment entry
      Throws:
      PortalException - if a fragment entry with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getFragmentEntryByUuidAndGroupId

      public FragmentEntry getFragmentEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFragmentEntryByUuidAndGroupId in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface FragmentEntryLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface FragmentEntryLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface FragmentEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • getTempFileNames

      public String[] getTempFileNames(long userId, long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTempFileNames in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUniqueFragmentEntryName

      public String getUniqueFragmentEntryName(long groupId, long fragmentCollectionId, String name)
      Specified by:
      getUniqueFragmentEntryName in interface FragmentEntryLocalService
    • getVersion

      public FragmentEntryVersion getVersion(FragmentEntry fragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getVersion in interface FragmentEntryLocalService
      Specified by:
      getVersion in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVersions

      public List<FragmentEntryVersion> getVersions(FragmentEntry fragmentEntry)
      Specified by:
      getVersions in interface FragmentEntryLocalService
      Specified by:
      getVersions in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • moveFragmentEntry

      public FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • publishDraft

      public FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      publishDraft in interface FragmentEntryLocalService
      Specified by:
      publishDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • registerListener

      public void registerListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry,FragmentEntryVersion> versionServiceListener)
      Specified by:
      registerListener in interface FragmentEntryLocalService
      Specified by:
      registerListener in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • unregisterListener

      public void unregisterListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry,FragmentEntryVersion> versionServiceListener)
      Specified by:
      unregisterListener in interface FragmentEntryLocalService
      Specified by:
      unregisterListener in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
    • updateDraft

      public FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateDraft in interface FragmentEntryLocalService
      Specified by:
      updateDraft in interface com.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public FragmentEntry updateFragmentEntry(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
      Updates the fragment entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect FragmentEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      updateFragmentEntry in interface FragmentEntryLocalService
      Parameters:
      draftFragmentEntry - the fragment entry
      Returns:
      the fragment entry that was updated
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public FragmentEntry updateFragmentEntry(long userId, 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
      Specified by:
      updateFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFragmentEntry

      public FragmentEntry updateFragmentEntry(long fragmentEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFragmentEntry in interface FragmentEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
      Specified by:
      getCTPersistence in interface FragmentEntryLocalService
    • getModelClass

      public Class<FragmentEntry> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
      Specified by:
      getModelClass in interface FragmentEntryLocalService
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
      Specified by:
      updateWithUnsafeFunction in interface FragmentEntryLocalService
      Throws:
      E extends Throwable
    • getWrappedService

      public FragmentEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
    • setWrappedService

      public void setWrappedService(FragmentEntryLocalService fragmentEntryLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>