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 FragmentEntryLink
addFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Adds the fragment entry link to the database.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) static FragmentEntryLink
createFragmentEntryLink
(long fragmentEntryLinkId) Creates a new fragment entry link with the primary key.static com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) static FragmentEntryLink
deleteFragmentEntryLink
(long fragmentEntryLinkId) Deletes the fragment entry link with the primary key from the database.static FragmentEntryLink
deleteFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Deletes the fragment entry link from the database.static FragmentEntryLink
deleteFragmentEntryLink
(String externalReferenceCode, long groupId) static void
deleteFragmentEntryLinks
(long groupId) static void
deleteFragmentEntryLinks
(long[] fragmentEntryLinkIds) static void
deleteFragmentEntryLinks
(long groupId, long plid, boolean deleted) static void
deleteFragmentEntryLinksByFragmentEntryId
(long fragmentEntryId) static void
deleteFragmentEntryLinksByFragmentEntryId
(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.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) static <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static com.liferay.portal.kernel.dao.orm.DynamicQuery
static <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 long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.static FragmentEntryLink
fetchFragmentEntryLink
(long fragmentEntryLinkId) static FragmentEntryLink
fetchFragmentEntryLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) static FragmentEntryLink
fetchFragmentEntryLinkByUuidAndGroupId
(String uuid, long groupId) Returns the fragment entry link matching the UUID and group.static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
static List<FragmentEntryLink>
getAllFragmentEntryLinksByFragmentEntryId
(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static int
getAllFragmentEntryLinksCountByFragmentEntryId
(long groupId, long fragmentEntryId) static int
getClassedModelFragmentEntryLinksCount
(long groupId, long classNameId, long classPK) Deprecated.As of Athanasius (7.3.x), replaced bygetFragmentEntryLinksCountByPlid(long, long)
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) static FragmentEntryLink
getFragmentEntryLink
(long fragmentEntryLinkId) Returns the fragment entry link with the primary key.static FragmentEntryLink
getFragmentEntryLink
(long groupId, long originalFragmentEntryLinkId, long plid) static FragmentEntryLink
getFragmentEntryLinkByExternalReferenceCode
(String externalReferenceCode, long groupId) static FragmentEntryLink
getFragmentEntryLinkByUuidAndGroupId
(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 int
Returns the number of fragment entry links.static int
getFragmentEntryLinksCountByFragmentEntryId
(long fragmentEntryId) static int
getFragmentEntryLinksCountByFragmentEntryId
(long fragmentEntryId, boolean deleted) static int
getFragmentEntryLinksCountByPlid
(long groupId, long plid) static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
static List<FragmentEntryLink>
getLayoutFragmentEntryLinksByFragmentEntryId
(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) static int
getLayoutFragmentEntryLinksCountByFragmentEntryId
(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 int
getLayoutPageTemplateFragmentEntryLinksCountByFragmentEntryId
(long groupId, long fragmentEntryId, int layoutPageTemplateType) static String
Returns the OSGi service identifier.static com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) static void
updateClassedModel
(long plid) static FragmentEntryLink
updateDeleted
(long userId, long fragmentEntryLinkId, boolean deleted) static FragmentEntryLink
updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, int position) 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) static FragmentEntryLink
updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, String editableValues) static FragmentEntryLink
updateFragmentEntryLink
(long userId, long fragmentEntryLinkId, String editableValues, boolean updateClassedModel) static FragmentEntryLink
updateFragmentEntryLink
(FragmentEntryLink fragmentEntryLink) Updates the fragment entry link in the database or adds it if it does not yet exist.static void
updateLatestChanges
(long fragmentEntryLinkId) static void
updateLatestChanges
(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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
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
null
if 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.- Parameters:
start
- the lower bound of the range of fragment entry linksend
- the upper bound of the range of fragment entry links (not inclusive)- Returns:
- the range of fragment entry links
-
getFragmentEntryLinks
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)