Class FragmentEntryLinkLocalServiceUtil
com.liferay.fragment.service.impl.FragmentEntryLinkLocalServiceImpl and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FragmentEntryLinkaddFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Adds the fragment entry link to the database.static FragmentEntryLinkaddFragmentEntryLink(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) static FragmentEntryLinkcreateFragmentEntryLink(long fragmentEntryLinkId) Creates a new fragment entry link with the primary key.static com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) static FragmentEntryLinkdeleteFragmentEntryLink(long fragmentEntryLinkId) Deletes the fragment entry link with the primary key from the database.static FragmentEntryLinkdeleteFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Deletes the fragment entry link from the database.static FragmentEntryLinkdeleteFragmentEntryLink(String externalReferenceCode, long groupId) static voiddeleteFragmentEntryLinks(long groupId) static voiddeleteFragmentEntryLinks(long[] fragmentEntryLinkIds) static voiddeleteFragmentEntryLinks(long groupId, long plid, boolean deleted) static voiddeleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) static voiddeleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) static List<FragmentEntryLink>deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long plid) static List<FragmentEntryLink>deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long[] segmentsExperienceIds, long plid) static List<FragmentEntryLink>deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.static com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) static <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static com.liferay.portal.kernel.dao.orm.DynamicQuerystatic <T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.static <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.static <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.static longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.static 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.static FragmentEntryLinkfetchFragmentEntryLink(long fragmentEntryLinkId) static FragmentEntryLinkfetchFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) static FragmentEntryLinkfetchFragmentEntryLinkByUuidAndGroupId(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerystatic List<FragmentEntryLink>getAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static intgetAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) static intgetClassedModelFragmentEntryLinksCount(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long)static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) static FragmentEntryLinkgetFragmentEntryLink(long fragmentEntryLinkId) Returns the fragment entry link with the primary key.static FragmentEntryLinkgetFragmentEntryLink(long groupId, long originalFragmentEntryLinkId, long plid) static FragmentEntryLinkgetFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) static FragmentEntryLinkgetFragmentEntryLinkByUuidAndGroupId(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.static List<FragmentEntryLink>getFragmentEntryLinks(int start, int end) Returns a range of all the fragment entry links.static List<FragmentEntryLink>getFragmentEntryLinks(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static List<FragmentEntryLink>getFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksByPlid(long, long)static List<FragmentEntryLink>getFragmentEntryLinks(long companyId, String rendererKey) static List<FragmentEntryLink>getFragmentEntryLinks(long companyId, String[] rendererKeys) static List<FragmentEntryLink>getFragmentEntryLinks(String rendererKey) static List<FragmentEntryLink>getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) static List<FragmentEntryLink>getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) static List<FragmentEntryLink>getFragmentEntryLinksByPlid(long groupId, long plid) static List<FragmentEntryLink>getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid) static List<FragmentEntryLink>getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) static List<FragmentEntryLink>getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid) static List<FragmentEntryLink>getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, boolean deleted) static List<FragmentEntryLink>getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, String rendererKey) static List<FragmentEntryLink>getFragmentEntryLinksByUuidAndCompanyId(String uuid, long companyId) Returns all the fragment entry links matching the UUID and company.static 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.static intReturns the number of fragment entry links.static intgetFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) static intgetFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) static intgetFragmentEntryLinksCountByPlid(long groupId, long plid) static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerystatic List<FragmentEntryLink>getLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static intgetLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) static List<FragmentEntryLink>getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static intgetLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) static StringReturns the OSGi service identifier.static com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) static voidupdateClassedModel(long plid) static FragmentEntryLinkupdateDeleted(long userId, long fragmentEntryLinkId, boolean deleted) static FragmentEntryLinkupdateFragmentEntryLink(long userId, long fragmentEntryLinkId, int position) static FragmentEntryLinkupdateFragmentEntryLink(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) static FragmentEntryLinkupdateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues) static FragmentEntryLinkupdateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues, boolean updateClassedModel) static FragmentEntryLinkupdateFragmentEntryLink(FragmentEntryLink fragmentEntryLink) Updates the fragment entry link in the database or adds it if it does not yet exist.static voidupdateLatestChanges(long fragmentEntryLinkId) static voidupdateLatestChanges(FragmentEntry fragmentEntry, FragmentEntryLink fragmentEntryLink)
-
Constructor Details
-
FragmentEntryLinkLocalServiceUtil
public FragmentEntryLinkLocalServiceUtil()
-
-
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.
- Parameters:
fragmentEntryLink- the fragment entry link- Returns:
- the fragment entry link that was added
-
addFragmentEntryLink
public static 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
public static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
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.
- Parameters:
fragmentEntryLink- the fragment entry link- Returns:
- the fragment entry link that was removed
-
deleteFragmentEntryLink
public static 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
public static FragmentEntryLink deleteFragmentEntryLink(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinks
public static void deleteFragmentEntryLinks(long groupId) -
deleteFragmentEntryLinks
public static void deleteFragmentEntryLinks(long groupId, long plid, boolean deleted) -
deleteFragmentEntryLinks
public static void deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntryLinksByFragmentEntryId
public static void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) -
deleteFragmentEntryLinksByFragmentEntryId
public static void deleteFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) -
deleteLayoutPageTemplateEntryFragmentEntryLinks
public static List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long plid) -
deleteLayoutPageTemplateEntryFragmentEntryLinks
@Deprecated public static List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bydeleteLayoutPageTemplateEntryFragmentEntryLinks(long, long) -
deleteLayoutPageTemplateEntryFragmentEntryLinks
public static List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long[] segmentsExperienceIds, long plid) -
deletePersistedModel
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dslQueryCount
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dynamicQuery
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public static <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.- 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 static <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.- 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 static 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
public static 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
-
fetchFragmentEntryLinkByExternalReferenceCode
public static FragmentEntryLink fetchFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchFragmentEntryLinkByUuidAndGroupId
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
nullif a matching fragment entry link could not be found
-
getActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getAllFragmentEntryLinksByFragmentEntryId
public static List<FragmentEntryLink> getAllFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getAllFragmentEntryLinksCountByFragmentEntryId
public static int getAllFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) -
getClassedModelFragmentEntryLinksCount
@Deprecated public static int getClassedModelFragmentEntryLinksCount(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long) -
getExportActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getFragmentEntryLink
public static 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
public static FragmentEntryLink getFragmentEntryLink(long groupId, long originalFragmentEntryLinkId, long plid) -
getFragmentEntryLinkByExternalReferenceCode
public static FragmentEntryLink getFragmentEntryLinkByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentEntryLinkByUuidAndGroupId
public static 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
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.- 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 static List<FragmentEntryLink> getFragmentEntryLinks(int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getFragmentEntryLinks
@Deprecated public static List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksByPlid(long, long) -
getFragmentEntryLinks
-
getFragmentEntryLinks
-
getFragmentEntryLinks
-
getFragmentEntryLinksByFragmentEntryId
-
getFragmentEntryLinksByFragmentEntryId
public static List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId, boolean deleted) -
getFragmentEntryLinksByPlid
-
getFragmentEntryLinksBySegmentsExperienceId
public static List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid) -
getFragmentEntryLinksBySegmentsExperienceId
public static List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, boolean deleted) -
getFragmentEntryLinksBySegmentsExperienceId
public static List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long plid, String rendererKey) -
getFragmentEntryLinksBySegmentsExperienceId
public static List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid) -
getFragmentEntryLinksBySegmentsExperienceId
public static List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long[] segmentsExperienceIds, long plid, boolean deleted) -
getFragmentEntryLinksByUuidAndCompanyId
public static 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
public static 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
public static int getFragmentEntryLinksCount()Returns the number of fragment entry links.- Returns:
- the number of fragment entry links
-
getFragmentEntryLinksCountByFragmentEntryId
public static int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) -
getFragmentEntryLinksCountByFragmentEntryId
public static int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId, boolean deleted) -
getFragmentEntryLinksCountByPlid
public static int getFragmentEntryLinksCountByPlid(long groupId, long plid) -
getIndexableActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getLayoutFragmentEntryLinksByFragmentEntryId
public static List<FragmentEntryLink> getLayoutFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getLayoutFragmentEntryLinksCountByFragmentEntryId
public static int getLayoutFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId) -
getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId
public static List<FragmentEntryLink> getLayoutPageTemplateFragmentEntryLinksByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) -
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
public static int getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId(long groupId, long fragmentEntryId, int layoutPageTemplateType) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateClassedModel
public static void updateClassedModel(long plid) -
updateDeleted
public static FragmentEntryLink updateDeleted(long userId, long fragmentEntryLinkId, boolean deleted) throws com.liferay.portal.kernel.exception.PortalException - 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.
- Parameters:
fragmentEntryLink- the fragment entry link- Returns:
- the fragment entry link that was updated
-
updateFragmentEntryLink
public static FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, int position) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
public static 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
public static FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, String editableValues) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntryLink
public static 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
public static void updateLatestChanges(FragmentEntry fragmentEntry, FragmentEntryLink fragmentEntryLink) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLatestChanges
public static void updateLatestChanges(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-
deleteLayoutPageTemplateEntryFragmentEntryLinks(long, long)