Interface FragmentEntryLocalService
- All Superinterfaces:
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.version.VersionService<FragmentEntry,
FragmentEntryVersion>
- All Known Implementing Classes:
FragmentEntryLocalServiceWrapper
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddFragmentEntry
(FragmentEntry fragmentEntry) Adds the fragment entry to the database.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) checkout
(FragmentEntry publishedFragmentEntry, int version) copyFragmentEntry
(long userId, long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) create()
Creates a new fragment entry.createFragmentEntry
(long fragmentEntryId) com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) delete
(FragmentEntry publishedFragmentEntry) deleteDraft
(FragmentEntry draftFragmentEntry) deleteFragmentEntry
(long fragmentEntryId) Deletes the fragment entry with the primary key from the database.deleteFragmentEntry
(FragmentEntry fragmentEntry) Deletes the fragment entry from the database.deleteFragmentEntry
(String externalReferenceCode, long groupId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) deleteVersion
(FragmentEntryVersion fragmentEntryVersion) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchDraft
(long primaryKey) fetchDraft
(FragmentEntry fragmentEntry) fetchFragmentEntry
(long fragmentEntryId) fetchFragmentEntry
(long groupId, String fragmentEntryKey) fetchFragmentEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchFragmentEntryByUuidAndGroupId
(String uuid, long groupId) fetchLatestVersion
(FragmentEntry fragmentEntry) fetchPublished
(long primaryKey) fetchPublished
(FragmentEntry fragmentEntry) generateFragmentEntryKey
(long groupId, String name) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry>
getDraft
(long primaryKey) getDraft
(FragmentEntry fragmentEntry) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFragmentEntries
(int start, int end) Returns a range of all the fragment entries.getFragmentEntries
(long fragmentCollectionId) getFragmentEntries
(long fragmentCollectionId, int start, int end) getFragmentEntries
(long groupId, long fragmentCollectionId, int status) getFragmentEntries
(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntries
(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntries
(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntries
(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByUuidAndCompanyId
(String uuid, long companyId) getFragmentEntriesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) int
Returns the number of fragment entries.int
getFragmentEntriesCount
(long fragmentCollectionId) getFragmentEntry
(long fragmentEntryId) Returns the fragment entry with the primary key.getFragmentEntryByUuidAndGroupId
(String uuid, long groupId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) String[]
getTempFileNames
(long userId, long groupId, String folderName) getUniqueFragmentEntryName
(long groupId, long fragmentCollectionId, String name) getVersion
(FragmentEntry fragmentEntry, int version) getVersions
(FragmentEntry fragmentEntry) moveFragmentEntry
(long fragmentEntryId, long fragmentCollectionId) publishDraft
(FragmentEntry draftFragmentEntry) void
registerListener
(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) void
unregisterListener
(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) updateDraft
(FragmentEntry draftFragmentEntry) updateFragmentEntry
(long fragmentEntryId, boolean cacheable) updateFragmentEntry
(long fragmentEntryId, long previewFileEntryId) 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) updateFragmentEntry
(long fragmentEntryId, String name) updateFragmentEntry
(FragmentEntry draftFragmentEntry) Updates the fragment entry in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry>, R, E> updateUnsafeFunction) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addFragmentEntry
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.
- Parameters:
fragmentEntry
- the fragment entry- Returns:
- the fragment entry that was added
-
addFragmentEntry
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkout
@Indexable(type=REINDEX) FragmentEntry checkout(FragmentEntry publishedFragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkout
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyFragmentEntry
FragmentEntry copyFragmentEntry(long userId, 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
-
create
Creates a new fragment entry. Does not add the fragment entry to the database.- Specified by:
create
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Returns:
- the new fragment entry
-
createFragmentEntry
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
delete
@Indexable(type=DELETE) FragmentEntry delete(FragmentEntry publishedFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
delete
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteDraft
@Indexable(type=DELETE) FragmentEntry deleteDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
@Indexable(type=DELETE) @SystemEvent(type=1) 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.
- Parameters:
fragmentEntry
- the fragment entry- Returns:
- the fragment entry that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
@Indexable(type=DELETE) 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.
- Parameters:
fragmentEntryId
- the primary key of the fragment entry- Returns:
- the fragment entry that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a fragment entry with the primary key could not be found
-
deleteFragmentEntry
FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
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 interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteVersion
FragmentEntryVersion deleteVersion(FragmentEntryVersion fragmentEntryVersion) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteVersion
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDraft
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchDraft(FragmentEntry fragmentEntry) - Specified by:
fetchDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchDraft
- Specified by:
fetchDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchFragmentEntry
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntry(long fragmentEntryId) -
fetchFragmentEntry
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntry(long groupId, String fragmentEntryKey) -
fetchFragmentEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchFragmentEntryByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntryByUuidAndGroupId(String uuid, long groupId) -
fetchLatestVersion
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryVersion fetchLatestVersion(FragmentEntry fragmentEntry) - Specified by:
fetchLatestVersion
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchPublished
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchPublished(FragmentEntry fragmentEntry) - Specified by:
fetchPublished
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublished
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
generateFragmentEntryKey
-
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getDraft
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getDraft(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDraft
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryModelImpl
.- Parameters:
start
- the lower bound of the range of fragment entriesend
- the upper bound of the range of fragment entries (not inclusive)- Returns:
- the range of fragment entries
-
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long fragmentCollectionId) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long fragmentCollectionId, int start, int end) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int status) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
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) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByUuidAndCompanyId(String uuid, long companyId) -
getFragmentEntriesByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCount()Returns the number of fragment entries.- Returns:
- the number of fragment entries
-
getFragmentEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCount(long fragmentCollectionId) -
getFragmentEntry
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry with the primary key.- Parameters:
fragmentEntryId
- the primary key of the fragment entry- Returns:
- the fragment entry
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a fragment entry with the primary key could not be found
-
getFragmentEntryByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getFragmentEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTempFileNames
@Transactional(propagation=SUPPORTS, readOnly=true) String[] getTempFileNames(long userId, long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUniqueFragmentEntryName
-
getVersion
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryVersion getVersion(FragmentEntry fragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getVersion
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVersions
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryVersion> getVersions(FragmentEntry fragmentEntry) - Specified by:
getVersions
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
moveFragmentEntry
FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
@Indexable(type=REINDEX) FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
publishDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
registerListener
void registerListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) - Specified by:
registerListener
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
unregisterListener
void unregisterListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) - Specified by:
unregisterListener
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
updateDraft
@Indexable(type=REINDEX) FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
@Indexable(type=REINDEX) 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.
- Parameters:
draftFragmentEntry
- the fragment entry- Returns:
- the fragment entry that was updated
- 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 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 - 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
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
- Throws:
E extends Throwable
-