public class FragmentEntryLinkLocalServiceUtil
extends java.lang.Object
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.FragmentEntryLinkLocalService
Constructor and Description |
---|
FragmentEntryLinkLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static FragmentEntryLink |
addFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
Adds the fragment entry link to the database.
|
static FragmentEntryLink |
addFragmentEntryLink(long userId,
long groupId,
long originalFragmentEntryLinkId,
long fragmentEntryId,
long segmentsExperienceId,
long classNameId,
long classPK,
java.lang.String css,
java.lang.String html,
java.lang.String js,
java.lang.String configuration,
java.lang.String editableValues,
java.lang.String namespace,
int position,
java.lang.String rendererKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentEntryLink |
addFragmentEntryLink(long userId,
long groupId,
long originalFragmentEntryLinkId,
long fragmentEntryId,
long classNameId,
long classPK,
java.lang.String css,
java.lang.String html,
java.lang.String js,
java.lang.String configuration,
java.lang.String editableValues,
java.lang.String namespace,
int position,
java.lang.String rendererKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), replaced by
addFragmentEntryLink(long, long, long, long, long, long,
long, String, String, String, String, String, String, int,
String, ServiceContext) |
static FragmentEntryLink |
createFragmentEntryLink(long fragmentEntryLinkId)
Creates a new fragment entry link with the primary key.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static FragmentEntryLink |
deleteFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
Deletes the fragment entry link from the database.
|
static FragmentEntryLink |
deleteFragmentEntryLink(long fragmentEntryLinkId)
Deletes the fragment entry link with the primary key from the database.
|
static void |
deleteFragmentEntryLinks(long groupId) |
static void |
deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) |
static java.util.List<FragmentEntryLink> |
deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId,
long classNameId,
long classPK) |
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 com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.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> java.util.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> java.util.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 |
fetchFragmentEntryLinkByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the fragment entry link matching the UUID and group.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static int |
getClassedModelFragmentEntryLinksCount(long groupId,
long classNameId,
long classPK) |
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 |
getFragmentEntryLinkByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the fragment entry link matching the UUID and group.
|
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(int start,
int end)
Returns a range of all the fragment entry links.
|
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(long groupId,
long fragmentEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(long groupId,
long classNameId,
long classPK) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(long groupId,
long fragmentEntryId,
long classNameId,
int layoutPageTemplateType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(long groupId,
long fragmentEntryId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinks(java.lang.String rendererKey) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinksBySegmentsExperienceId(long groupId,
long segmentsExperienceId,
long classNameId,
long classPK) |
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinksByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the fragment entry links matching the UUID and company.
|
static java.util.List<FragmentEntryLink> |
getFragmentEntryLinksByUuidAndCompanyId(java.lang.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 |
getFragmentEntryLinksCount()
Returns the number of fragment entry links.
|
static int |
getFragmentEntryLinksCount(long groupId,
long fragmentEntryId) |
static int |
getFragmentEntryLinksCount(long groupId,
long fragmentEntryId,
long classNameId) |
static int |
getFragmentEntryLinksCount(long groupId,
long fragmentEntryId,
long classNameId,
int layoutPageTemplateType) |
static int |
getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static FragmentEntryLinkLocalService |
getService() |
static void |
updateClassedModel(long classNameId,
long classPK) |
static FragmentEntryLink |
updateFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
Updates the fragment entry link in the database or adds it if it does not yet exist.
|
static FragmentEntryLink |
updateFragmentEntryLink(long fragmentEntryLinkId,
int position) |
static FragmentEntryLink |
updateFragmentEntryLink(long userId,
long fragmentEntryLinkId,
long originalFragmentEntryLinkId,
long fragmentEntryId,
long classNameId,
long classPK,
java.lang.String css,
java.lang.String html,
java.lang.String js,
java.lang.String configuration,
java.lang.String editableValues,
java.lang.String namespace,
int position,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentEntryLink |
updateFragmentEntryLink(long fragmentEntryLinkId,
java.lang.String editableValues) |
static FragmentEntryLink |
updateFragmentEntryLink(long fragmentEntryLinkId,
java.lang.String editableValues,
boolean updateClassedModel) |
static void |
updateFragmentEntryLinks(long userId,
long groupId,
long classNameId,
long classPK,
long[] fragmentEntryIds,
java.lang.String editableValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
updateFragmentEntryLinks(java.util.Map<java.lang.Long,java.lang.String> fragmentEntryLinksEditableValuesMap) |
static void |
updateLatestChanges(long fragmentEntryLinkId) |
public static FragmentEntryLink addFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
fragmentEntryLink
- the fragment entry linkpublic static FragmentEntryLink addFragmentEntryLink(long userId, long groupId, long originalFragmentEntryLinkId, long fragmentEntryId, long segmentsExperienceId, long classNameId, long classPK, java.lang.String css, java.lang.String html, java.lang.String js, java.lang.String configuration, java.lang.String editableValues, java.lang.String namespace, int position, java.lang.String rendererKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static FragmentEntryLink addFragmentEntryLink(long userId, long groupId, long originalFragmentEntryLinkId, long fragmentEntryId, long classNameId, long classPK, java.lang.String css, java.lang.String html, java.lang.String js, java.lang.String configuration, java.lang.String editableValues, java.lang.String namespace, int position, java.lang.String rendererKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addFragmentEntryLink(long, long, long, long, long, long,
long, String, String, String, String, String, String, int,
String, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLink createFragmentEntryLink(long fragmentEntryLinkId)
fragmentEntryLinkId
- the primary key for the new fragment entry linkpublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static FragmentEntryLink deleteFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
fragmentEntryLink
- the fragment entry linkpublic static FragmentEntryLink deleteFragmentEntryLink(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException
fragmentEntryLinkId
- the primary key of the fragment entry linkPortalException
- if a fragment entry link with the primary key could not be foundpublic static void deleteFragmentEntryLinks(long groupId)
public static void deleteFragmentEntryLinks(long[] fragmentEntryLinkIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<FragmentEntryLink> deleteLayoutPageTemplateEntryFragmentEntryLinks(long groupId, long classNameId, long classPK)
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.
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 (optionally null
)public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static FragmentEntryLink fetchFragmentEntryLink(long fragmentEntryLinkId)
public static FragmentEntryLink fetchFragmentEntryLinkByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the fragment entry link's UUIDgroupId
- the primary key of the groupnull
if a matching fragment entry link could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static int getClassedModelFragmentEntryLinksCount(long groupId, long classNameId, long classPK)
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static FragmentEntryLink getFragmentEntryLink(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException
fragmentEntryLinkId
- the primary key of the fragment entry linkPortalException
- if a fragment entry link with the primary key could not be foundpublic static FragmentEntryLink getFragmentEntryLinkByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the fragment entry link's UUIDgroupId
- the primary key of the groupPortalException
- if a matching fragment entry link could not be foundpublic static java.util.List<FragmentEntryLink> getFragmentEntryLinks(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.fragment.model.impl.FragmentEntryLinkModelImpl
.
start
- the lower bound of the range of fragment entry linksend
- the upper bound of the range of fragment entry links (not inclusive)public static java.util.List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long fragmentEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long classNameId, long classPK)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long fragmentEntryId, long classNameId, int layoutPageTemplateType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinks(long groupId, long fragmentEntryId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinks(java.lang.String rendererKey)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinksByFragmentEntryId(long fragmentEntryId)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinksBySegmentsExperienceId(long groupId, long segmentsExperienceId, long classNameId, long classPK)
public static java.util.List<FragmentEntryLink> getFragmentEntryLinksByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the fragment entry linkscompanyId
- the primary key of the companypublic static java.util.List<FragmentEntryLink> getFragmentEntryLinksByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntryLink> orderByComparator)
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 (optionally null
)public static int getFragmentEntryLinksCount()
public static int getFragmentEntryLinksCount(long groupId, long fragmentEntryId)
public static int getFragmentEntryLinksCount(long groupId, long fragmentEntryId, long classNameId)
public static int getFragmentEntryLinksCount(long groupId, long fragmentEntryId, long classNameId, int layoutPageTemplateType)
public static int getFragmentEntryLinksCountByFragmentEntryId(long fragmentEntryId)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
PortalException
public static void updateClassedModel(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLink updateFragmentEntryLink(FragmentEntryLink fragmentEntryLink)
fragmentEntryLink
- the fragment entry linkpublic static FragmentEntryLink updateFragmentEntryLink(long fragmentEntryLinkId, int position) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLink updateFragmentEntryLink(long userId, long fragmentEntryLinkId, long originalFragmentEntryLinkId, long fragmentEntryId, long classNameId, long classPK, java.lang.String css, java.lang.String html, java.lang.String js, java.lang.String configuration, java.lang.String editableValues, java.lang.String namespace, int position, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLink updateFragmentEntryLink(long fragmentEntryLinkId, java.lang.String editableValues) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLink updateFragmentEntryLink(long fragmentEntryLinkId, java.lang.String editableValues, boolean updateClassedModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateFragmentEntryLinks(long userId, long groupId, long classNameId, long classPK, long[] fragmentEntryIds, java.lang.String editableValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateFragmentEntryLinks(java.util.Map<java.lang.Long,java.lang.String> fragmentEntryLinksEditableValuesMap) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void updateLatestChanges(long fragmentEntryLinkId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryLinkLocalService getService()