Class FragmentEntryLinkLocalServiceWrapper
- All Implemented Interfaces:
FragmentEntryLinkLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLinkLocalService>
FragmentEntryLinkLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionFragmentEntryLinkLocalServiceWrapper
(FragmentEntryLinkLocalService fragmentEntryLinkLocalService) -
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) com.liferay.portal.kernel.service.persistence.BasePersistence<?>
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
setWrappedService
(FragmentEntryLinkLocalService fragmentEntryLinkLocalService) 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 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
-
FragmentEntryLinkLocalServiceWrapper
public FragmentEntryLinkLocalServiceWrapper() -
FragmentEntryLinkLocalServiceWrapper
public FragmentEntryLinkLocalServiceWrapper(FragmentEntryLinkLocalService fragmentEntryLinkLocalService)
-
-
Method Details
-
addFragmentEntryLink
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.
- Specified by:
addFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was added
-
addFragmentEntryLink
public 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 - Specified by:
addFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- 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.- Specified by:
createFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLinkId
- the primary key for the new fragment entry link- Returns:
- the new fragment entry link
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceFragmentEntryLinkLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLink
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.
- Specified by:
deleteFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was removed
-
deleteFragmentEntryLink
public 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.
- Specified by:
deleteFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLinkId
- the primary key of the fragment entry link- Returns:
- the fragment entry link that was removed
- Throws:
PortalException
- if a fragment entry link with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLink
public FragmentEntryLink deleteFragmentEntryLink(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long groupId) - Specified by:
deleteFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long groupId, long plid, boolean deleted) - Specified by:
deleteFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinksByFragmentEntryId
public void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) - Specified by:
deleteFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinksByFragmentEntryId
public void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
deleteFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
public List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long plid) - Specified by:
deleteLayoutPageTemplateEntryFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
@Deprecated public List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bydeleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)
- Specified by:
deleteLayoutPageTemplateEntryFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
public List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long[] segmentsExperienceIds, long plid) - Specified by:
deleteLayoutPageTemplateEntryFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
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 interfaceFragmentEntryLinkLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceFragmentEntryLinkLocalService
- 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 interfaceFragmentEntryLinkLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceFragmentEntryLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceFragmentEntryLinkLocalService
- 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.FragmentEntryLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceFragmentEntryLinkLocalService
- 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.FragmentEntryLinkModelImpl
.- Specified by:
dynamicQuery
in interfaceFragmentEntryLinkLocalService
- 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 interfaceFragmentEntryLinkLocalService
- 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 interfaceFragmentEntryLinkLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchFragmentEntryLink
- Specified by:
fetchFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
-
fetchFragmentEntryLinkByExternalReferenceCode
public FragmentEntryLink fetchFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchFragmentEntryLinkByExternalReferenceCode
in interfaceFragmentEntryLinkLocalService
-
fetchFragmentEntryLinkByUuidAndGroupId
Returns the fragment entry link matching the UUID and group.- Specified by:
fetchFragmentEntryLinkByUuidAndGroupId
in interfaceFragmentEntryLinkLocalService
- 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
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceFragmentEntryLinkLocalService
-
getAllFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getAllFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getAllFragmentEntryLinksCountByFragmentEntryId
public int getAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) - Specified by:
getAllFragmentEntryLinksCountByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getClassedModelFragmentEntryLinksCount
@Deprecated public int getClassedModelFragmentEntryLinksCount(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long)
- Specified by:
getClassedModelFragmentEntryLinksCount
in interfaceFragmentEntryLinkLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLink
public FragmentEntryLink getFragmentEntryLink(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry link with the primary key.- Specified by:
getFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLinkId
- the primary key of the fragment entry link- Returns:
- the fragment entry link
- Throws:
PortalException
- if a fragment entry link with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryLink
public FragmentEntryLink getFragmentEntryLink(long groupId, long originalFragmentEntryLinkId, long plid) - Specified by:
getFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinkByExternalReferenceCode
public FragmentEntryLink getFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFragmentEntryLinkByExternalReferenceCode
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryLinkByUuidAndGroupId
public FragmentEntryLink getFragmentEntryLinkByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the fragment entry link matching the UUID and group.- Specified by:
getFragmentEntryLinkByUuidAndGroupId
in interfaceFragmentEntryLinkLocalService
- Parameters:
uuid
- the fragment entry link's UUIDgroupId
- the primary key of the group- Returns:
- the matching fragment entry link
- Throws:
PortalException
- if a matching fragment entry link could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryLinks
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
.- Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
- 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
public List<FragmentEntryLink> getFragmentEntryLinks(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
@Deprecated public List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksByPlid(long, long)
- Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinks
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByFragmentEntryId
- Specified by:
getFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
getFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByPlid
- Specified by:
getFragmentEntryLinksByPlid
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid) - Specified by:
getFragmentEntryLinksBySegmentsExperienceId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, boolean deleted) - Specified by:
getFragmentEntryLinksBySegmentsExperienceId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, String rendererKey) - Specified by:
getFragmentEntryLinksBySegmentsExperienceId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid) - Specified by:
getFragmentEntryLinksBySegmentsExperienceId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) - Specified by:
getFragmentEntryLinksBySegmentsExperienceId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByUuidAndCompanyId
Returns all the fragment entry links matching the UUID and company.- Specified by:
getFragmentEntryLinksByUuidAndCompanyId
in interfaceFragmentEntryLinkLocalService
- 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
public 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.- Specified by:
getFragmentEntryLinksByUuidAndCompanyId
in interfaceFragmentEntryLinkLocalService
- 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
public int getFragmentEntryLinksCount()Returns the number of fragment entry links.- Specified by:
getFragmentEntryLinksCount
in interfaceFragmentEntryLinkLocalService
- Returns:
- the number of fragment entry links
-
getFragmentEntryLinksCountByFragmentEntryId
public int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) - Specified by:
getFragmentEntryLinksCountByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksCountByFragmentEntryId
public int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
getFragmentEntryLinksCountByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksCountByPlid
public int getFragmentEntryLinksCountByPlid(long groupId, long plid) - Specified by:
getFragmentEntryLinksCountByPlid
in interfaceFragmentEntryLinkLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceFragmentEntryLinkLocalService
-
getLayoutFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getLayoutFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getLayoutFragmentEntryLinksCountByFragmentEntryId
public int getLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) - Specified by:
getLayoutFragmentEntryLinksCountByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
public int getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) - Specified by:
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
in interfaceFragmentEntryLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceFragmentEntryLinkLocalService
- 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 interfaceFragmentEntryLinkLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateClassedModel
public void updateClassedModel(long plid) - Specified by:
updateClassedModel
in interfaceFragmentEntryLinkLocalService
-
updateDeleted
public FragmentEntryLink updateDeleted(long userId, long fragmentEntryLinkId, boolean deleted) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDeleted
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
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.
- Specified by:
updateFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Parameters:
fragmentEntryLink
- the fragment entry link- Returns:
- the fragment entry link that was updated
-
updateFragmentEntryLink
public FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, int position) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
public 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 - Specified by:
updateFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
public FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
public FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues, boolean updateClassedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFragmentEntryLink
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
public void updateLatestChanges(FragmentEntry fragmentEntry, FragmentEntryLink fragmentEntryLink) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLatestChanges
in interfaceFragmentEntryLinkLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
public void updateLatestChanges(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLatestChanges
in interfaceFragmentEntryLinkLocalService
- 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<FragmentEntryLink> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
- Specified by:
getCTPersistence
in interfaceFragmentEntryLinkLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>
- Specified by:
getModelClass
in interfaceFragmentEntryLinkLocalService
-
updateWithUnsafeFunction
public <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>
- Specified by:
updateWithUnsafeFunction
in interfaceFragmentEntryLinkLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLinkLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLinkLocalService>
-
deleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)