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.PersistedModelcreatePersistedModel(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.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) deleteVersion(FragmentEntryVersion fragmentEntryVersion) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry>getDraft(long primaryKey) getDraft(FragmentEntry fragmentEntry) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(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) intReturns the number of fragment entries.intgetFragmentEntriesCount(long fragmentCollectionId) getFragmentEntry(long fragmentEntryId) Returns the fragment entry with the primary key.getFragmentEntryByUuidAndGroupId(String uuid, long groupId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(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) voidregisterListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) voidunregisterListener(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:
checkoutin 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:
createin 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:
createPersistedModelin 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:
deletein 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:
deleteDraftin 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:
deletePersistedModelin 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:
deleteVersionin 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:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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:
fetchDraftin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchDraft
- Specified by:
fetchDraftin 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:
fetchLatestVersionin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchPublished
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchPublished(FragmentEntry fragmentEntry) - Specified by:
fetchPublishedin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublishedin 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:
getDraftin 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:
getDraftin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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:
getPersistedModelin 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:
getVersionin 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:
getVersionsin 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:
publishDraftin 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:
registerListenerin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
unregisterListener
void unregisterListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) - Specified by:
unregisterListenerin 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:
updateDraftin 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:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
-
getModelClass
- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>- Throws:
E extends Throwable
-