public class LayoutPageTemplateEntryLocalServiceWrapper extends java.lang.Object implements LayoutPageTemplateEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
LayoutPageTemplateEntryLocalService
.LayoutPageTemplateEntryLocalService
Constructor and Description |
---|
LayoutPageTemplateEntryLocalServiceWrapper(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
LayoutPageTemplateEntry |
addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) |
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Adds the layout page template entry to the database.
|
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) |
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)
Deprecated.
As of Athanasius (7.3.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, long, boolean, long, long, long, int,
ServiceContext) |
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)
Deprecated.
As of Athanasius (7.3.x), replaced by
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, long, int, ServiceContext) |
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long classNameId,
long classTypeId,
java.lang.String name,
int type,
long previewFileEntryId,
boolean defaultTemplate,
long layoutPrototypeId,
long plid,
long masterLayoutPlid,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long classNameId,
long classTypeId,
java.lang.String name,
int type,
long masterLayoutPlid,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), replaced by
addLayoutPageTemplateEntry(long, long, long, String, int,
long, int, ServiceContext) |
LayoutPageTemplateEntry |
addLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
java.lang.String name,
int type,
long masterLayoutPlid,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
LayoutPageTemplateEntry |
copyLayoutPageTemplateEntry(long userId,
long groupId,
long layoutPageTemplateCollectionId,
long layoutPageTemplateEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
LayoutPageTemplateEntry |
createLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Creates a new layout page template entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
LayoutPageTemplateEntry |
deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Deletes the layout page template entry from the database.
|
LayoutPageTemplateEntry |
deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Deletes the layout page template entry with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<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.
|
<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.
|
<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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
LayoutPageTemplateEntry |
fetchDefaultLayoutPageTemplateEntry(long groupId,
long classNameId,
long classTypeId) |
LayoutPageTemplateEntry |
fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId) |
LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId) |
LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntry(long groupId,
java.lang.String layoutPageTemplateEntryKey) |
LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntry(long groupId,
java.lang.String name,
int type) |
LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntryByPlid(long plid) |
LayoutPageTemplateEntry |
fetchLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the layout page template entry matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(int start,
int end)
Returns a range of all the layout page template entries.
|
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int start,
int end) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status,
int start,
int end) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntries(long groupId,
long layoutPageTemplateCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) |
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) |
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) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) |
java.util.List<LayoutPageTemplateEntry> |
getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the layout page template entries matching the UUID and company.
|
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.
|
int |
getLayoutPageTemplateEntriesCount()
Returns the number of layout page template entries.
|
LayoutPageTemplateEntry |
getLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
Returns the layout page template entry with the primary key.
|
LayoutPageTemplateEntry |
getLayoutPageTemplateEntry(long groupId,
java.lang.String layoutPageTemplateEntryKey) |
LayoutPageTemplateEntry |
getLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the layout page template entry matching the UUID and group.
|
java.lang.Class<LayoutPageTemplateEntry> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
LayoutPageTemplateEntryLocalService |
getWrappedService() |
void |
setWrappedService(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) |
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Updates the layout page template entry in the database or adds it if it does not yet exist.
|
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
boolean defaultTemplate) |
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
long previewFileEntryId) |
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long userId,
long layoutPageTemplateEntryId,
java.lang.String name,
int status) |
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
java.lang.String name) |
LayoutPageTemplateEntry |
updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId,
java.lang.String name,
long[] fragmentEntryIds,
java.lang.String editableValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
LayoutPageTemplateEntry |
updateStatus(long userId,
long layoutPageTemplateEntryId,
int status) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>,R,E> updateUnsafeFunction) |
public LayoutPageTemplateEntryLocalServiceWrapper(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService)
public LayoutPageTemplateEntry addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException
addGlobalLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntry
- the layout page template entrypublic LayoutPageTemplateEntry addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public 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
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, long, boolean, long, long, long, int,
ServiceContext)
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public 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
addLayoutPageTemplateEntry(long, long, long, long, long,
String, int, long, int, ServiceContext)
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long classNameId, long classTypeId, java.lang.String name, int type, long previewFileEntryId, boolean defaultTemplate, long layoutPrototypeId, long plid, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long classNameId, long classTypeId, java.lang.String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public 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
addLayoutPageTemplateEntry(long, long, long, String, int,
long, int, ServiceContext)
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, java.lang.String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry copyLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry createLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
createLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntryId
- the primary key for the new layout page template entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface LayoutPageTemplateEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
deleteLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntry
- the layout page template entryPortalException
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
deleteLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntryId
- the primary key of the layout page template entryPortalException
- if a layout page template entry with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface LayoutPageTemplateEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface LayoutPageTemplateEntryLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface LayoutPageTemplateEntryLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface LayoutPageTemplateEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface LayoutPageTemplateEntryLocalService
dynamicQuery
- the dynamic querypublic <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
in interface LayoutPageTemplateEntryLocalService
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 <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
in interface LayoutPageTemplateEntryLocalService
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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface LayoutPageTemplateEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface LayoutPageTemplateEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic LayoutPageTemplateEntry fetchDefaultLayoutPageTemplateEntry(long groupId, long classNameId, long classTypeId)
fetchDefaultLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchFirstLayoutPageTemplateEntry(long layoutPrototypeId)
fetchFirstLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long layoutPageTemplateEntryId)
fetchLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, java.lang.String layoutPageTemplateEntryKey)
fetchLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, java.lang.String name, int type)
fetchLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByPlid(long plid)
fetchLayoutPageTemplateEntryByPlid
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchLayoutPageTemplateEntryByUuidAndGroupId
in interface LayoutPageTemplateEntryLocalService
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 com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface LayoutPageTemplateEntryLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface LayoutPageTemplateEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface LayoutPageTemplateEntryLocalService
public 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
.
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
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 java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public 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)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public 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)
getLayoutPageTemplateEntries
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId)
getLayoutPageTemplateEntriesByLayoutPrototypeId
in interface LayoutPageTemplateEntryLocalService
public java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getLayoutPageTemplateEntriesByUuidAndCompanyId
in interface LayoutPageTemplateEntryLocalService
uuid
- the UUID of the layout page template entriescompanyId
- the primary key of the companypublic java.util.List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator)
getLayoutPageTemplateEntriesByUuidAndCompanyId
in interface LayoutPageTemplateEntryLocalService
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 int getLayoutPageTemplateEntriesCount()
getLayoutPageTemplateEntriesCount
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry getLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException
getLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntryId
- the primary key of the layout page template entryPortalException
- if a layout page template entry with the primary key could not be foundpublic LayoutPageTemplateEntry getLayoutPageTemplateEntry(long groupId, java.lang.String layoutPageTemplateEntryKey) throws NoSuchPageTemplateEntryException
getLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
NoSuchPageTemplateEntryException
public LayoutPageTemplateEntry getLayoutPageTemplateEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getLayoutPageTemplateEntryByUuidAndGroupId
in interface LayoutPageTemplateEntryLocalService
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 java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface LayoutPageTemplateEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface LayoutPageTemplateEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry)
Important: Inspect LayoutPageTemplateEntryLocalServiceImpl 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.
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
layoutPageTemplateEntry
- the layout page template entrypublic LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, boolean defaultTemplate)
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long userId, long layoutPageTemplateEntryId, java.lang.String name, int status) throws com.liferay.portal.kernel.exception.PortalException
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public 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
updateLayoutPageTemplateEntry
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public LayoutPageTemplateEntry updateStatus(long userId, long layoutPageTemplateEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface LayoutPageTemplateEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> getCTPersistence()
getCTPersistence
in interface LayoutPageTemplateEntryLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
public java.lang.Class<LayoutPageTemplateEntry> getModelClass()
getModelClass
in interface LayoutPageTemplateEntryLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface LayoutPageTemplateEntryLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
E extends java.lang.Throwable
public LayoutPageTemplateEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
public void setWrappedService(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>