Interface FragmentEntryLinkLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
FragmentEntryLinkLocalServiceWrapper
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Adds the fragment entry link to the database.addFragmentEntryLink
(String externalReferenceCode, long userId, long groupId, long originalFragmentEntryLinkId, long fragmentEntryId, long segmentsExperienceId, long plid, String css, String html, String js, String configuration, String editableValues, String namespace, int position, String rendererKey, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) createFragmentEntryLink
(long fragmentEntryLinkId) Creates a new fragment entry link with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteFragmentEntryLink
(long fragmentEntryLinkId) Deletes the fragment entry link with the primary key from the database.deleteFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Deletes the fragment entry link from the database.deleteFragmentEntryLink
(String externalReferenceCode, long groupId) void
deleteFragmentEntryLinks
(long groupId) void
deleteFragmentEntryLinks
(long[] fragmentEntryLinkIds) void
deleteFragmentEntryLinks
(long groupId, long plid, boolean deleted) void
deleteFragmentEntryLinksByFragmentEntryId
(long fragmentEntryId) void
deleteFragmentEntryLinksByFragmentEntryId
(long fragmentEntryId, boolean deleted) deleteLayoutPageTemplateEntryFragmentEntryLinks
(long groupId, long plid) deleteLayoutPageTemplateEntryFragmentEntryLinks
(long groupId, long[] segmentsExperienceIds, long plid) deleteLayoutPageTemplateEntryFragmentEntryLinks
(long groupId, long classNameId, long classPK) Deprecated.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <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.fetchFragmentEntryLink
(long fragmentEntryLinkId) fetchFragmentEntryLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchFragmentEntryLinkByUuidAndGroupId
(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getAllFragmentEntryLinksByFragmentEntryId
(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) int
getAllFragmentEntryLinksCountByFragmentEntryId
(long groupId, long fragmentEntryId) int
getClassedModelFragmentEntryLinksCount
(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long)
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntryLink>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFragmentEntryLink
(long fragmentEntryLinkId) Returns the fragment entry link with the primary key.getFragmentEntryLink
(long groupId, long originalFragmentEntryLinkId, long plid) getFragmentEntryLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) getFragmentEntryLinkByUuidAndGroupId
(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.getFragmentEntryLinks
(int start, int end) Returns a range of all the fragment entry links.getFragmentEntryLinks
(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) getFragmentEntryLinks
(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksByPlid(long, long)
getFragmentEntryLinks
(long companyId, String rendererKey) getFragmentEntryLinks
(long companyId, String[] rendererKeys) getFragmentEntryLinks
(String rendererKey) getFragmentEntryLinksByFragmentEntryId
(long fragmentEntryId) getFragmentEntryLinksByFragmentEntryId
(long fragmentEntryId, boolean deleted) getFragmentEntryLinksByPlid
(long groupId, long plid) getFragmentEntryLinksBySegmentsExperienceId
(long groupId, long[] segmentsExperienceIds, long plid) getFragmentEntryLinksBySegmentsExperienceId
(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) getFragmentEntryLinksBySegmentsExperienceId
(long groupId, long segmentsExperienceId, long plid) getFragmentEntryLinksBySegmentsExperienceId
(long groupId, long segmentsExperienceId, long plid, boolean deleted) getFragmentEntryLinksBySegmentsExperienceId
(long groupId, long segmentsExperienceId, long plid, String rendererKey) getFragmentEntryLinksByUuidAndCompanyId
(String uuid, long companyId) Returns all the fragment entry links matching the UUID and company.getFragmentEntryLinksByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) Returns a range of fragment entry links matching the UUID and company.int
Returns the number of fragment entry links.int
getFragmentEntryLinksCountByFragmentEntryId
(long fragmentEntryId) int
getFragmentEntryLinksCountByFragmentEntryId
(long fragmentEntryId, boolean deleted) int
getFragmentEntryLinksCountByPlid
(long groupId, long plid) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getLayoutFragmentEntryLinksByFragmentEntryId
(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) int
getLayoutFragmentEntryLinksCountByFragmentEntryId
(long groupId, long fragmentEntryId) getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId
(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) int
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
(long groupId, long fragmentEntryId, int layoutPageTemplateType) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
updateClassedModel
(long plid) updateDeleted
(long userId, long fragmentEntryLinkId, boolean deleted) updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, int position) updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, long originalFragmentEntryLinkId, long fragmentEntryId, long plid, String css, String html, String js, String configuration, String editableValues, String namespace, int position, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, String editableValues) updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, String editableValues, boolean updateClassedModel) updateFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Updates the fragment entry link in the database or adds it if it does not yet exist.void
updateLatestChanges
(long fragmentEntryLinkId) void
updateLatestChanges
(FragmentEntry fragmentEntry, FragmentEntryLink fragmentEntryLink) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntryLink>, R, E> updateUnsafeFunction) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addFragmentEntryLink
@Indexable(type=REINDEX) FragmentEntryLink addFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Adds the fragment entry link to the database. Also notifies the appropriate model listeners.Important: Inspect FragmentEntryLinkLocalServiceImpl 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:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was added
-
addFragmentEntryLink
FragmentEntryLink addFragmentEntryLink(String externalReferenceCode, long userId, long groupId, long originalFragmentEntryLinkId, long fragmentEntryId, long segmentsExperienceId, long plid, String css, String html, String js, String configuration, String editableValues, String namespace, int position, String rendererKey, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createFragmentEntryLink
Creates a new fragment entry link with the primary key. Does not add the fragment entry link to the database.- Parameters:
fragmentEntryLinkId
- the primary key for the new fragment entry link- Returns:
- the new fragment entry link
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLink
@Indexable(type=DELETE) @SystemEvent(type=1) FragmentEntryLink deleteFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Deletes the fragment entry link from the database. Also notifies the appropriate model listeners.Important: Inspect FragmentEntryLinkLocalServiceImpl 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:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was removed
-
deleteFragmentEntryLink
@Indexable(type=DELETE) FragmentEntryLink deleteFragmentEntryLink(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException Deletes the fragment entry link with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect FragmentEntryLinkLocalServiceImpl 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:
fragmentEntryLinkId
- the primary key of the fragment entry link- Returns:
- the fragment entry link that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a fragment entry link with the primary key could not be found
-
deleteFragmentEntryLink
FragmentEntryLink deleteFragmentEntryLink(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinks
void deleteFragmentEntryLinks(long groupId) -
deleteFragmentEntryLinks
void deleteFragmentEntryLinks(long groupId, long plid, boolean deleted) -
deleteFragmentEntryLinks
void deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinksByFragmentEntryId
void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) -
deleteFragmentEntryLinksByFragmentEntryId
void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) -
deleteLayoutPageTemplateEntryFragmentEntryLinks
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
@Deprecated List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bydeleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long[] segmentsExperienceIds, long plid) -
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.- 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
-
fetchFragmentEntryLink
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink fetchFragmentEntryLink(long fragmentEntryLinkId) -
fetchFragmentEntryLinkByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink fetchFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchFragmentEntryLinkByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink fetchFragmentEntryLinkByUuidAndGroupId(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.- Parameters:
uuid
- the fragment entry link's UUIDgroupId
- the primary key of the group- Returns:
- the matching fragment entry link, or
null
if a matching fragment entry link could not be found
-
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getAllFragmentEntryLinksByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getAllFragmentEntryLinksCountByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) int getAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) -
getClassedModelFragmentEntryLinksCount
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getClassedModelFragmentEntryLinksCount(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long)
-
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFragmentEntryLink
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink getFragmentEntryLink(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry link with the primary key.- Parameters:
fragmentEntryLinkId
- the primary key of the fragment entry link- Returns:
- the fragment entry link
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a fragment entry link with the primary key could not be found
-
getFragmentEntryLink
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink getFragmentEntryLink(long groupId, long originalFragmentEntryLinkId, long plid) -
getFragmentEntryLinkByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink getFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryLinkByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntryLink getFragmentEntryLinkByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry link matching the UUID and group.- Parameters:
uuid
- the fragment entry link's UUIDgroupId
- the primary key of the group- Returns:
- the matching fragment entry link
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a matching fragment entry link could not be found
-
getFragmentEntryLinks
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(int start, int end) Returns a range of all the fragment entry links.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.FragmentEntryLinkModelImpl
.- Parameters:
start
- the lower bound of the range of fragment entry linksend
- the upper bound of the range of fragment entry links (not inclusive)- Returns:
- the range of fragment entry links
-
getFragmentEntryLinks
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getFragmentEntryLinks
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksByPlid(long, long)
-
getFragmentEntryLinks
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(long companyId, String rendererKey) -
getFragmentEntryLinks
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(long companyId, String[] rendererKeys) -
getFragmentEntryLinks
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinks(String rendererKey) -
getFragmentEntryLinksByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) -
getFragmentEntryLinksByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) -
getFragmentEntryLinksByPlid
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksByPlid(long groupId, long plid) -
getFragmentEntryLinksBySegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid) -
getFragmentEntryLinksBySegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, boolean deleted) -
getFragmentEntryLinksBySegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, String rendererKey) -
getFragmentEntryLinksBySegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid) -
getFragmentEntryLinksBySegmentsExperienceId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) -
getFragmentEntryLinksByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksByUuidAndCompanyId(String uuid, long companyId) Returns all the fragment entry links matching the UUID and company.- Parameters:
uuid
- the UUID of the fragment entry linkscompanyId
- the primary key of the company- Returns:
- the matching fragment entry links, or an empty list if no matches were found
-
getFragmentEntryLinksByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getFragmentEntryLinksByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) Returns a range of fragment entry links matching the UUID and company.- Parameters:
uuid
- the UUID of the fragment entry linkscompanyId
- the primary key of the companystart
- the lower bound of the range of fragment entry linksend
- the upper bound of the range of fragment entry links (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching fragment entry links, or an empty list if no matches were found
-
getFragmentEntryLinksCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntryLinksCount()Returns the number of fragment entry links.- Returns:
- the number of fragment entry links
-
getFragmentEntryLinksCountByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) -
getFragmentEntryLinksCountByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) -
getFragmentEntryLinksCountByPlid
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntryLinksCountByPlid(long groupId, long plid) -
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getLayoutFragmentEntryLinksByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getLayoutFragmentEntryLinksCountByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) int getLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) -
getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntryLink> getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
@Transactional(propagation=SUPPORTS, readOnly=true) int getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateClassedModel
void updateClassedModel(long plid) -
updateDeleted
FragmentEntryLink updateDeleted(long userId, long fragmentEntryLinkId, boolean deleted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
@Indexable(type=REINDEX) FragmentEntryLink updateFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Updates the fragment entry link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect FragmentEntryLinkLocalServiceImpl 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:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was updated
-
updateFragmentEntryLink
FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, int position) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, long originalFragmentEntryLinkId, long fragmentEntryId, long plid, String css, String html, String js, String configuration, String editableValues, String namespace, int position, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues, boolean updateClassedModel) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
void updateLatestChanges(FragmentEntry fragmentEntry, FragmentEntryLink fragmentEntryLink) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
void updateLatestChanges(long fragmentEntryLinkId) 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<FragmentEntryLink> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
-
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<FragmentEntryLink>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
- Throws:
E extends Throwable
-
deleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)