public class LayoutPageTemplateEntryLocalServiceUtil
extends java.lang.Object
com.liferay.layout.page.template.service.impl.LayoutPageTemplateEntryLocalServiceImpl
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.LayoutPageTemplateEntryLocalService
Constructor and Description |
---|
LayoutPageTemplateEntryLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static LayoutPageTemplateEntry |
addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Adds the layout page template entry to the database.
|
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long classNameId,
long classTypeId,
java.lang.String name,
int type,
boolean defaultTemplate,
long layoutPrototypeId,
long previewFileEntryId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int,
ServiceContext) } |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long classNameId,
long classTypeId,
java.lang.String name,
int type,
boolean defaultTemplate,
long layoutPrototypeId,
long previewFileEntryId,
long plid,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long classNameId,
long classTypeId,
java.lang.String name,
int type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
long layoutPrototypeId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
long layoutPrototypeId,
long previewFileEntryId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext) |
static LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext) |
static LayoutPageTemplateEntry |
createLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Creates a new layout page template entry with the primary key.
|
static LayoutPageTemplateEntry |
deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Deletes the layout page template entry from the database.
|
static LayoutPageTemplateEntry |
deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Deletes the layout page template entry with the primary key from the database.
|
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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 LayoutPageTemplateEntry |
fetchDefaultLayoutPageTemplateEntry(long groupId,
long classNameId,
long classTypeId) |
static LayoutPageTemplateEntry |
fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId) |
static LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId) |
static LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntry(long groupId,
java.lang.String name) |
static LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntryByPlid(long plid) |
static LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the layout page template entry matching the UUID and group.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(int start,
int end)
Returns a range of all the layout page template entries.
|
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int start,
int end) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status,
int start,
int end) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) |
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the layout page template entries matching the UUID and company.
|
static java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
Returns a range of layout page template entries matching the UUID and company.
|
static int |
getLayoutPageTemplateEntriesCount()
Returns the number of layout page template entries.
|
static LayoutPageTemplateEntry |
getLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Returns the layout page template entry with the primary key.
|
static LayoutPageTemplateEntry |
getLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the layout page template entry matching the UUID and group.
|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static LayoutPageTemplateEntryLocalService |
getService() |
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Updates the layout page template entry in the database or adds it if it does not yet exist.
|
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
boolean defaultTemplate) |
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
long previewFileEntryId) |
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
long classNameId,
long classTypeId)
Deprecated.
As of Mueller (7.2.x)
|
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long userId,
long layoutPageTemplateEntryId,
java.lang.String name,
int status) |
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
java.lang.String name) |
static LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
java.lang.String name,
long[] fragmentEntryIds,
java.lang.String editableValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutPageTemplateEntry |
updateStatus(long userId,
long layoutPageTemplateEntryId,
int status) |
public LayoutPageTemplateEntryLocalServiceUtil()
public static LayoutPageTemplateEntry addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException
LayoutPageTemplateEntryLocalServiceUtil
to access the layout page template entry local service. Add custom service methods to com.liferay.layout.page.template.service.impl.LayoutPageTemplateEntryLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
layoutPageTemplateEntry
- the layout page template entrypublic static LayoutPageTemplateEntry addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long classNameId, long classTypeId, java.lang.String name, int type, boolean defaultTemplate, long layoutPrototypeId, long previewFileEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int,
ServiceContext)
}com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long classNameId, long classTypeId, java.lang.String name, int type, boolean defaultTemplate, long layoutPrototypeId, long previewFileEntryId, long plid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long classNameId, long classTypeId, java.lang.String name, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int type, long layoutPrototypeId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int type, long layoutPrototypeId, long previewFileEntryId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, boolean, long, long, long, int, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry createLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId
- the primary key for the new layout page template entrypublic static LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) throws com.liferay.portal.kernel.exception.PortalException
layoutPageTemplateEntry
- the layout page template entryPortalException
public static LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException
layoutPageTemplateEntryId
- the primary key of the layout page template entryPortalException
- if a layout page template entry with the primary key could not be foundpublic 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 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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.
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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.
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 LayoutPageTemplateEntry fetchDefaultLayoutPageTemplateEntry(long groupId, long classNameId, long classTypeId)
public static LayoutPageTemplateEntry fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId)
public static LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
public static LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, java.lang.String name)
public static LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByPlid(long plid)
public static LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the layout page template entry's UUIDgroupId
- the primary key of the groupnull
if a matching layout page template entry could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.
start
- the lower bound of the range of layout page template entriesend
- the upper bound of the range of layout page template entries (not inclusive)public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId)
public static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the layout page template entriescompanyId
- the primary key of the companypublic static java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
uuid
- the UUID of the layout page template entriescompanyId
- the primary key of the companystart
- the lower bound of the range of layout page template entriesend
- the upper bound of the range of layout page template entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getLayoutPageTemplateEntriesCount()
public static LayoutPageTemplateEntry getLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException
layoutPageTemplateEntryId
- the primary key of the layout page template entryPortalException
- if a layout page template entry with the primary key could not be foundpublic static LayoutPageTemplateEntry getLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the layout page template entry's UUIDgroupId
- the primary key of the groupPortalException
- if a matching layout page template entry could not be foundpublic 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
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
layoutPageTemplateEntry
- the layout page template entrypublic static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, boolean defaultTemplate)
public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long classNameId, long classTypeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long userId, long layoutPageTemplateEntryId, java.lang.String name, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, java.lang.String name, 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 LayoutPageTemplateEntry updateStatus(long userId, long layoutPageTemplateEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static LayoutPageTemplateEntryLocalService getService()