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.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.BasePersistence<?>
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
setWrappedService
(FragmentEntryLocalService fragmentEntryLocalService) 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
addFragmentEntry
in 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:
addFragmentEntry
in 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:
checkout
in interfaceFragmentEntryLocalService
- Specified by:
checkout
in 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:
copyFragmentEntry
in 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:
create
in interfaceFragmentEntryLocalService
- Specified by:
create
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Returns:
- the new fragment entry
-
createFragmentEntry
- Specified by:
createFragmentEntry
in interfaceFragmentEntryLocalService
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceFragmentEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.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 interfaceFragmentEntryLocalService
- Specified by:
delete
in 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:
deleteDraft
in interfaceFragmentEntryLocalService
- Specified by:
deleteDraft
in 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:
deleteFragmentEntry
in interfaceFragmentEntryLocalService
- 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 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:
deleteFragmentEntry
in 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:
deletePersistedModel
in interfaceFragmentEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.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 interfaceFragmentEntryLocalService
- Specified by:
deleteVersion
in 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:
dslQuery
in interfaceFragmentEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceFragmentEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceFragmentEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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
.- Specified by:
dynamicQuery
in 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 - 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
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchDraft
in interfaceFragmentEntryLocalService
- Specified by:
fetchDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchDraft
- Specified by:
fetchDraft
in interfaceFragmentEntryLocalService
- Specified by:
fetchDraft
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchFragmentEntry
- Specified by:
fetchFragmentEntry
in interfaceFragmentEntryLocalService
-
fetchFragmentEntry
- Specified by:
fetchFragmentEntry
in interfaceFragmentEntryLocalService
-
fetchFragmentEntryByExternalReferenceCode
public FragmentEntry fetchFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchFragmentEntryByExternalReferenceCode
in interfaceFragmentEntryLocalService
-
fetchFragmentEntryByUuidAndGroupId
- Specified by:
fetchFragmentEntryByUuidAndGroupId
in interfaceFragmentEntryLocalService
-
fetchLatestVersion
- Specified by:
fetchLatestVersion
in interfaceFragmentEntryLocalService
- Specified by:
fetchLatestVersion
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublished
in interfaceFragmentEntryLocalService
- Specified by:
fetchPublished
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
fetchPublished
- Specified by:
fetchPublished
in interfaceFragmentEntryLocalService
- Specified by:
fetchPublished
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion>
-
generateFragmentEntryKey
- Specified by:
generateFragmentEntryKey
in interfaceFragmentEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceFragmentEntryLocalService
-
getDraft
public FragmentEntry getDraft(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDraft
in interfaceFragmentEntryLocalService
- Specified by:
getDraft
in 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:
getDraft
in interfaceFragmentEntryLocalService
- Specified by:
getDraft
in 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:
getExportActionableDynamicQuery
in interfaceFragmentEntryLocalService
-
getFragmentEntries
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
.- Specified by:
getFragmentEntries
in 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:
getFragmentEntries
in interfaceFragmentEntryLocalService
-
getFragmentEntries
- Specified by:
getFragmentEntries
in interfaceFragmentEntryLocalService
-
getFragmentEntries
- Specified by:
getFragmentEntries
in 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:
getFragmentEntries
in interfaceFragmentEntryLocalService
-
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 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:
getFragmentEntries
in 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:
getFragmentEntries
in interfaceFragmentEntryLocalService
-
getFragmentEntriesByUuidAndCompanyId
- Specified by:
getFragmentEntriesByUuidAndCompanyId
in interfaceFragmentEntryLocalService
-
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 interfaceFragmentEntryLocalService
-
getFragmentEntriesCount
public int getFragmentEntriesCount()Returns the number of fragment entries.- Specified by:
getFragmentEntriesCount
in interfaceFragmentEntryLocalService
- Returns:
- the number of fragment entries
-
getFragmentEntriesCount
public int getFragmentEntriesCount(long fragmentCollectionId) - Specified by:
getFragmentEntriesCount
in interfaceFragmentEntryLocalService
-
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 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:
getFragmentEntryByUuidAndGroupId
in interfaceFragmentEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceFragmentEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
getPersistedModel
in interfaceFragmentEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.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 interfaceFragmentEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUniqueFragmentEntryName
- Specified by:
getUniqueFragmentEntryName
in interfaceFragmentEntryLocalService
-
getVersion
public FragmentEntryVersion getVersion(FragmentEntry fragmentEntry, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getVersion
in interfaceFragmentEntryLocalService
- Specified by:
getVersion
in interfacecom.liferay.portal.kernel.service.version.VersionService<FragmentEntry,
FragmentEntryVersion> - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVersions
- Specified by:
getVersions
in interfaceFragmentEntryLocalService
- Specified by:
getVersions
in 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:
moveFragmentEntry
in interfaceFragmentEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
public FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
publishDraft
in interfaceFragmentEntryLocalService
- Specified by:
publishDraft
in 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:
registerListener
in interfaceFragmentEntryLocalService
- Specified by:
registerListener
in 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:
unregisterListener
in interfaceFragmentEntryLocalService
- Specified by:
unregisterListener
in interfacecom.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 interfaceFragmentEntryLocalService
- Specified by:
updateDraft
in 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:
updateFragmentEntry
in interfaceFragmentEntryLocalService
- 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 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:
updateFragmentEntry
in 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:
updateFragmentEntry
in 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:
updateFragmentEntry
in interfaceFragmentEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
- Specified by:
getCTPersistence
in interfaceFragmentEntryLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntry>
- Specified by:
updateWithUnsafeFunction
in interfaceFragmentEntryLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLocalService>
-