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.PersistedModelcreatePersistedModel(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) voiddeleteFragmentEntryLinks(long groupId) voiddeleteFragmentEntryLinks(long[] fragmentEntryLinkIds) voiddeleteFragmentEntryLinks(long groupId, long plid, boolean deleted) voiddeleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) voiddeleteFragmentEntryLinksByFragmentEntryId(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.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.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.ActionableDynamicQuerygetAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) intgetAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) com.liferay.portal.kernel.service.persistence.BasePersistence<?>intgetClassedModelFragmentEntryLinksCount(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.ExportActionableDynamicQuerygetExportActionableDynamicQuery(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.intReturns the number of fragment entry links.intgetFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) intgetFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) intgetFragmentEntryLinksCountByPlid(long groupId, long plid) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) intgetLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) intgetLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(FragmentEntryLinkLocalService fragmentEntryLinkLocalService) voidupdateClassedModel(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.voidupdateLatestChanges(long fragmentEntryLinkId) voidupdateLatestChanges(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, waitMethods 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:
addFragmentEntryLinkin 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:
addFragmentEntryLinkin 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:
createFragmentEntryLinkin 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:
createPersistedModelin interfaceFragmentEntryLinkLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteFragmentEntryLinkin 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:
deleteFragmentEntryLinkin 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:
deleteFragmentEntryLinkin interfaceFragmentEntryLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long groupId) - Specified by:
deleteFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long groupId, long plid, boolean deleted) - Specified by:
deleteFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinks
public void deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFragmentEntryLinksin interfaceFragmentEntryLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinksByFragmentEntryId
public void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) - Specified by:
deleteFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
deleteFragmentEntryLinksByFragmentEntryId
public void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
deleteFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
public List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long plid) - Specified by:
deleteLayoutPageTemplateEntryFragmentEntryLinksin 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:
deleteLayoutPageTemplateEntryFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks
public List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long[] segmentsExperienceIds, long plid) - Specified by:
deleteLayoutPageTemplateEntryFragmentEntryLinksin 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:
deletePersistedModelin interfaceFragmentEntryLinkLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceFragmentEntryLinkLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceFragmentEntryLinkLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceFragmentEntryLinkLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchFragmentEntryLinkin interfaceFragmentEntryLinkLocalService
-
fetchFragmentEntryLinkByExternalReferenceCode
public FragmentEntryLink fetchFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchFragmentEntryLinkByExternalReferenceCodein interfaceFragmentEntryLinkLocalService
-
fetchFragmentEntryLinkByUuidAndGroupId
Returns the fragment entry link matching the UUID and group.- Specified by:
fetchFragmentEntryLinkByUuidAndGroupIdin interfaceFragmentEntryLinkLocalService- Parameters:
uuid- the fragment entry link's UUIDgroupId- the primary key of the group- Returns:
- the matching fragment entry link, or
nullif a matching fragment entry link could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceFragmentEntryLinkLocalService
-
getAllFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getAllFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getAllFragmentEntryLinksCountByFragmentEntryId
public int getAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) - Specified by:
getAllFragmentEntryLinksCountByFragmentEntryIdin 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:
getClassedModelFragmentEntryLinksCountin interfaceFragmentEntryLinkLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin 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:
getFragmentEntryLinkin 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:
getFragmentEntryLinkin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinkByExternalReferenceCode
public FragmentEntryLink getFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFragmentEntryLinkByExternalReferenceCodein 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:
getFragmentEntryLinkByUuidAndGroupIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl.- Specified by:
getFragmentEntryLinksin 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:
getFragmentEntryLinksin 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:
getFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinks
- Specified by:
getFragmentEntryLinksin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByFragmentEntryId
- Specified by:
getFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
getFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByPlid
- Specified by:
getFragmentEntryLinksByPlidin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid) - Specified by:
getFragmentEntryLinksBySegmentsExperienceIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, boolean deleted) - Specified by:
getFragmentEntryLinksBySegmentsExperienceIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, String rendererKey) - Specified by:
getFragmentEntryLinksBySegmentsExperienceIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid) - Specified by:
getFragmentEntryLinksBySegmentsExperienceIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksBySegmentsExperienceId
public List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) - Specified by:
getFragmentEntryLinksBySegmentsExperienceIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksByUuidAndCompanyId
Returns all the fragment entry links matching the UUID and company.- Specified by:
getFragmentEntryLinksByUuidAndCompanyIdin 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:
getFragmentEntryLinksByUuidAndCompanyIdin 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:
getFragmentEntryLinksCountin interfaceFragmentEntryLinkLocalService- Returns:
- the number of fragment entry links
-
getFragmentEntryLinksCountByFragmentEntryId
public int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) - Specified by:
getFragmentEntryLinksCountByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksCountByFragmentEntryId
public int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) - Specified by:
getFragmentEntryLinksCountByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getFragmentEntryLinksCountByPlid
public int getFragmentEntryLinksCountByPlid(long groupId, long plid) - Specified by:
getFragmentEntryLinksCountByPlidin interfaceFragmentEntryLinkLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceFragmentEntryLinkLocalService
-
getLayoutFragmentEntryLinksByFragmentEntryId
public List<FragmentEntryLink> getLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) - Specified by:
getLayoutFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getLayoutFragmentEntryLinksCountByFragmentEntryId
public int getLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) - Specified by:
getLayoutFragmentEntryLinksCountByFragmentEntryIdin 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:
getLayoutPageTemplateFragmentEntryLinksByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
public int getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) - Specified by:
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryIdin interfaceFragmentEntryLinkLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceFragmentEntryLinkLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateClassedModel
public void updateClassedModel(long plid) - Specified by:
updateClassedModelin interfaceFragmentEntryLinkLocalService
-
updateDeleted
public FragmentEntryLink updateDeleted(long userId, long fragmentEntryLinkId, boolean deleted) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDeletedin 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:
updateFragmentEntryLinkin 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:
updateFragmentEntryLinkin 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:
updateFragmentEntryLinkin 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:
updateFragmentEntryLinkin 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:
updateFragmentEntryLinkin 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:
updateLatestChangesin interfaceFragmentEntryLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
public void updateLatestChanges(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLatestChangesin interfaceFragmentEntryLinkLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentEntryLink> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>- Specified by:
getCTPersistencein interfaceFragmentEntryLinkLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<FragmentEntryLink>- Specified by:
updateWithUnsafeFunctionin interfaceFragmentEntryLinkLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLinkLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<FragmentEntryLinkLocalService>
-
deleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)