Class 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>
FragmentEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionFragmentEntryLocalServiceWrapper(FragmentEntryLocalService fragmentEntryLocalService) -
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.BasePersistence<?>com.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) voidsetWrappedService(FragmentEntryLocalService fragmentEntryLocalService) 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
FragmentEntryLocalServiceWrapper
public FragmentEntryLocalServiceWrapper() -
FragmentEntryLocalServiceWrapper
-
-
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.
- Specified by:
addFragmentEntryin interfaceFragmentEntryLocalService- 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:
addFragmentEntryin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkout
public FragmentEntry checkout(FragmentEntry publishedFragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkoutin interfaceFragmentEntryLocalService- Specified by:
checkoutin interfacecom.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:
copyFragmentEntryin interfaceFragmentEntryLocalService- 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 interfaceFragmentEntryLocalService- Specified by:
createin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion> - Returns:
- the new fragment entry
-
createFragmentEntry
- Specified by:
createFragmentEntryin interfaceFragmentEntryLocalService
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceFragmentEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
delete
public FragmentEntry delete(FragmentEntry publishedFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletein interfaceFragmentEntryLocalService- Specified by:
deletein interfacecom.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:
deleteDraftin interfaceFragmentEntryLocalService- Specified by:
deleteDraftin interfacecom.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:
deleteFragmentEntryin interfaceFragmentEntryLocalService- Parameters:
fragmentEntry- the fragment entry- Returns:
- the fragment entry that was removed
- Throws:
PortalExceptioncom.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:
deleteFragmentEntryin interfaceFragmentEntryLocalService- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
public FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFragmentEntryin interfaceFragmentEntryLocalService- 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:
deletePersistedModelin interfaceFragmentEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteVersion
public FragmentEntryVersion deleteVersion(FragmentEntryVersion fragmentEntryVersion) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteVersionin interfaceFragmentEntryLocalService- Specified by:
deleteVersionin interfacecom.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:
dslQueryin interfaceFragmentEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceFragmentEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceFragmentEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceFragmentEntryLocalService- 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 - 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.- Specified by:
dynamicQueryin interfaceFragmentEntryLocalService- 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
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 - 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.- Specified by:
dynamicQueryin interfaceFragmentEntryLocalService- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceFragmentEntryLocalService- 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:
dynamicQueryCountin interfaceFragmentEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDraft
- Specified by:
fetchDraftin interfaceFragmentEntryLocalService- Specified by:
fetchDraftin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchDraft
- Specified by:
fetchDraftin interfaceFragmentEntryLocalService- Specified by:
fetchDraftin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchFragmentEntry
- Specified by:
fetchFragmentEntryin interfaceFragmentEntryLocalService
-
fetchFragmentEntry
- Specified by:
fetchFragmentEntryin interfaceFragmentEntryLocalService
-
fetchFragmentEntryByExternalReferenceCode
public FragmentEntry fetchFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchFragmentEntryByExternalReferenceCodein interfaceFragmentEntryLocalService
-
fetchFragmentEntryByUuidAndGroupId
- Specified by:
fetchFragmentEntryByUuidAndGroupIdin interfaceFragmentEntryLocalService
-
fetchLatestVersion
- Specified by:
fetchLatestVersionin interfaceFragmentEntryLocalService- Specified by:
fetchLatestVersionin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublishedin interfaceFragmentEntryLocalService- Specified by:
fetchPublishedin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublishedin interfaceFragmentEntryLocalService- Specified by:
fetchPublishedin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
generateFragmentEntryKey
- Specified by:
generateFragmentEntryKeyin interfaceFragmentEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceFragmentEntryLocalService
-
getDraft
public FragmentEntry getDraft(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDraftin interfaceFragmentEntryLocalService- Specified by:
getDraftin interfacecom.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:
getDraftin interfaceFragmentEntryLocalService- Specified by:
getDraftin interfacecom.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:
getExportActionableDynamicQueryin interfaceFragmentEntryLocalService
-
getFragmentEntries
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.- Specified by:
getFragmentEntriesin interfaceFragmentEntryLocalService- 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
- Specified by:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
getFragmentEntries
- Specified by:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
getFragmentEntries
- Specified by:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
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:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
getFragmentEntries
public List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) - Specified by:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
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:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
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:
getFragmentEntriesin interfaceFragmentEntryLocalService
-
getFragmentEntriesByUuidAndCompanyId
- Specified by:
getFragmentEntriesByUuidAndCompanyIdin interfaceFragmentEntryLocalService
-
getFragmentEntriesByUuidAndCompanyId
public List<FragmentEntry> getFragmentEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) - Specified by:
getFragmentEntriesByUuidAndCompanyIdin interfaceFragmentEntryLocalService
-
getFragmentEntriesCount
public int getFragmentEntriesCount()Returns the number of fragment entries.- Specified by:
getFragmentEntriesCountin interfaceFragmentEntryLocalService- Returns:
- the number of fragment entries
-
getFragmentEntriesCount
public int getFragmentEntriesCount(long fragmentCollectionId) - Specified by:
getFragmentEntriesCountin interfaceFragmentEntryLocalService
-
getFragmentEntry
public FragmentEntry getFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry with the primary key.- Specified by:
getFragmentEntryin interfaceFragmentEntryLocalService- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryByUuidAndGroupId
public FragmentEntry getFragmentEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFragmentEntryByUuidAndGroupIdin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceFragmentEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceFragmentEntryLocalService- 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:
getPersistedModelin interfaceFragmentEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getTempFileNames
public String[] getTempFileNames(long userId, long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getTempFileNamesin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUniqueFragmentEntryName
- Specified by:
getUniqueFragmentEntryNamein interfaceFragmentEntryLocalService
-
getVersion
public FragmentEntryVersion getVersion(FragmentEntry fragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getVersionin interfaceFragmentEntryLocalService- Specified by:
getVersionin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVersions
- Specified by:
getVersionsin interfaceFragmentEntryLocalService- Specified by:
getVersionsin interfacecom.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:
moveFragmentEntryin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
public FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
publishDraftin interfaceFragmentEntryLocalService- Specified by:
publishDraftin interfacecom.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:
registerListenerin interfaceFragmentEntryLocalService- Specified by:
registerListenerin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
unregisterListener
public void unregisterListener(com.liferay.portal.kernel.service.version.VersionServiceListener<FragmentEntry, FragmentEntryVersion> versionServiceListener) - Specified by:
unregisterListenerin interfaceFragmentEntryLocalService- Specified by:
unregisterListenerin interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,FragmentEntryVersion>
-
updateDraft
public FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDraftin interfaceFragmentEntryLocalService- Specified by:
updateDraftin interfacecom.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:
updateFragmentEntryin interfaceFragmentEntryLocalService- Parameters:
draftFragmentEntry- the fragment entry- Returns:
- the fragment entry that was updated
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryin interfaceFragmentEntryLocalService- 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:
updateFragmentEntryin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public FragmentEntry updateFragmentEntry(long fragmentEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryin interfaceFragmentEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>- Specified by:
getCTPersistencein interfaceFragmentEntryLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>- Specified by:
getModelClassin interfaceFragmentEntryLocalService
-
updateWithUnsafeFunction
public <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>- Specified by:
updateWithUnsafeFunctionin interfaceFragmentEntryLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
-