Class LayoutPageTemplateEntryLocalServiceWrapper
- All Implemented Interfaces:
LayoutPageTemplateEntryLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
LayoutPageTemplateEntryLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutPageTemplateEntryLocalServiceWrapper
(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddGlobalLayoutPageTemplateEntry
(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) addLayoutPageTemplateEntry
(LayoutPageTemplateEntry layoutPageTemplateEntry) Adds the layout page template entry to the database.addLayoutPageTemplateEntry
(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) addLayoutPageTemplateEntry
(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long previewFileEntryId, boolean defaultTemplate, long layoutPrototypeId, long plid, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addLayoutPageTemplateEntry
(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) addLayoutPageTemplateEntry
(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyLayoutPageTemplateEntry
(long userId, long groupId, long layoutPageTemplateCollectionId, long sourceLayoutPageTemplateEntryId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) createLayoutPageTemplateEntry
(long layoutPageTemplateEntryId) Creates a new layout page template entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteLayoutPageTemplateEntry
(long layoutPageTemplateEntryId) Deletes the layout page template entry with the primary key from the database.deleteLayoutPageTemplateEntry
(LayoutPageTemplateEntry layoutPageTemplateEntry) Deletes the layout page template entry from the database.deleteLayoutPageTemplateEntry
(String externalReferenceCode, long groupId) 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
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.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.fetchDefaultLayoutPageTemplateEntry
(long groupId, long classNameId, long classTypeId) fetchFirstLayoutPageTemplateEntry
(long layoutPrototypeId) fetchLayoutPageTemplateEntry
(long layoutPageTemplateEntryId) fetchLayoutPageTemplateEntry
(long groupId, long layoutPageTemplateCollectionId, String name, int type) fetchLayoutPageTemplateEntry
(long groupId, String layoutPageTemplateEntryKey) fetchLayoutPageTemplateEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchLayoutPageTemplateEntryByPlid
(long plid) fetchLayoutPageTemplateEntryByUuidAndGroupId
(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFirstLayoutPageTemplateEntry
(long layoutPrototypeId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getLayoutPageTemplateEntries
(int start, int end) Returns a range of all the layout page template entries.getLayoutPageTemplateEntries
(long groupId) getLayoutPageTemplateEntries
(long groupId, int status) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, int status) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, int start, int end) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntries
(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) getLayoutPageTemplateEntriesByLayoutPrototypeId
(long layoutPrototypeId) getLayoutPageTemplateEntriesByUuidAndCompanyId
(String uuid, long companyId) Returns all the layout page template entries matching the UUID and company.getLayoutPageTemplateEntriesByUuidAndCompanyId
(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
Returns the number of layout page template entries.getLayoutPageTemplateEntry
(long layoutPageTemplateEntryId) Returns the layout page template entry with the primary key.getLayoutPageTemplateEntry
(long groupId, String layoutPageTemplateEntryKey) getLayoutPageTemplateEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) getLayoutPageTemplateEntryByUuidAndGroupId
(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getUniqueLayoutPageTemplateEntryName
(long groupId, long layoutPageTemplateCollectionId, String name, int type) void
setWrappedService
(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) updateLayoutPageTemplateEntry
(long layoutPageTemplateEntryId, boolean defaultTemplate) updateLayoutPageTemplateEntry
(long layoutPageTemplateEntryId, long previewFileEntryId) updateLayoutPageTemplateEntry
(long layoutPageTemplateEntryId, long classNameId, long classTypeId) updateLayoutPageTemplateEntry
(long userId, long layoutPageTemplateEntryId, String name, int status) updateLayoutPageTemplateEntry
(long layoutPageTemplateEntryId, String name) updateLayoutPageTemplateEntry
(LayoutPageTemplateEntry layoutPageTemplateEntry) Updates the layout page template entry in the database or adds it if it does not yet exist.updateStatus
(long userId, long layoutPageTemplateEntryId, int status) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
LayoutPageTemplateEntryLocalServiceWrapper
public LayoutPageTemplateEntryLocalServiceWrapper() -
LayoutPageTemplateEntryLocalServiceWrapper
public LayoutPageTemplateEntryLocalServiceWrapper(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService)
-
-
Method Details
-
addGlobalLayoutPageTemplateEntry
public LayoutPageTemplateEntry addGlobalLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addGlobalLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Adds the layout page template entry to the database. Also notifies the appropriate model listeners.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.
- Specified by:
addLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntry
- the layout page template entry- Returns:
- the layout page template entry that was added
-
addLayoutPageTemplateEntry
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, 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 - Specified by:
addLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, long classNameId, long classTypeId, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutPageTemplateEntry
public LayoutPageTemplateEntry addLayoutPageTemplateEntry(String externalReferenceCode, long userId, long groupId, long layoutPageTemplateCollectionId, String layoutPageTemplateEntryKey, String name, int type, long masterLayoutPlid, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyLayoutPageTemplateEntry
public LayoutPageTemplateEntry copyLayoutPageTemplateEntry(long userId, long groupId, long layoutPageTemplateCollectionId, long sourceLayoutPageTemplateEntryId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception - Specified by:
copyLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
Exception
-
createLayoutPageTemplateEntry
Creates a new layout page template entry with the primary key. Does not add the layout page template entry to the database.- Specified by:
createLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntryId
- the primary key for the new layout page template entry- Returns:
- the new layout page template entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceLayoutPageTemplateEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateEntry
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template entry from the database. Also notifies the appropriate model listeners.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.
- Specified by:
deleteLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntry
- the layout page template entry- Returns:
- the layout page template entry that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateEntry
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template entry with the primary key from the database. Also notifies the appropriate model listeners.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.
- Specified by:
deleteLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntryId
- the primary key of the layout page template entry- Returns:
- the layout page template entry that was removed
- Throws:
PortalException
- if a layout page template entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateEntry
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceLayoutPageTemplateEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceLayoutPageTemplateEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceLayoutPageTemplateEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
- 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 <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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
- 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 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDefaultLayoutPageTemplateEntry
public LayoutPageTemplateEntry fetchDefaultLayoutPageTemplateEntry(long groupId, long classNameId, long classTypeId) - Specified by:
fetchDefaultLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
-
fetchFirstLayoutPageTemplateEntry
- Specified by:
fetchFirstLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
- Specified by:
fetchLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, long layoutPageTemplateCollectionId, String name, int type) - Specified by:
fetchLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) - Specified by:
fetchLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByExternalReferenceCode
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutPageTemplateEntryByExternalReferenceCode
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByPlid
- Specified by:
fetchLayoutPageTemplateEntryByPlid
in interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByUuidAndGroupId
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.- Specified by:
fetchLayoutPageTemplateEntryByUuidAndGroupId
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
uuid
- the layout page template entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout page template entry, or
null
if a matching layout page template entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
-
getFirstLayoutPageTemplateEntry
public LayoutPageTemplateEntry getFirstLayoutPageTemplateEntry(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFirstLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
Returns a range of all the layout page template entries.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.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl
.- Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
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)- Returns:
- the range of layout page template entries
-
getLayoutPageTemplateEntries
- Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
- Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) - Specified by:
getLayoutPageTemplateEntries
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntriesByLayoutPrototypeId
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) - Specified by:
getLayoutPageTemplateEntriesByLayoutPrototypeId
in interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntriesByUuidAndCompanyId
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template entries matching the UUID and company.- Specified by:
getLayoutPageTemplateEntriesByUuidAndCompanyId
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
uuid
- the UUID of the layout page template entriescompanyId
- the primary key of the company- Returns:
- the matching layout page template entries, or an empty list if no matches were found
-
getLayoutPageTemplateEntriesByUuidAndCompanyId
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(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.- Specified by:
getLayoutPageTemplateEntriesByUuidAndCompanyId
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the range of matching layout page template entries, or an empty list if no matches were found
-
getLayoutPageTemplateEntriesCount
public int getLayoutPageTemplateEntriesCount()Returns the number of layout page template entries.- Specified by:
getLayoutPageTemplateEntriesCount
in interfaceLayoutPageTemplateEntryLocalService
- Returns:
- the number of layout page template entries
-
getLayoutPageTemplateEntry
public LayoutPageTemplateEntry getLayoutPageTemplateEntry(long layoutPageTemplateEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template entry with the primary key.- Specified by:
getLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntryId
- the primary key of the layout page template entry- Returns:
- the layout page template entry
- Throws:
PortalException
- if a layout page template entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateEntry
public LayoutPageTemplateEntry getLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) throws NoSuchPageTemplateEntryException - Specified by:
getLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
NoSuchPageTemplateEntryException
-
getLayoutPageTemplateEntryByExternalReferenceCode
public LayoutPageTemplateEntry getLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutPageTemplateEntryByExternalReferenceCode
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateEntryByUuidAndGroupId
public LayoutPageTemplateEntry getLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template entry matching the UUID and group.- Specified by:
getLayoutPageTemplateEntryByUuidAndGroupId
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
uuid
- the layout page template entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout page template entry
- Throws:
PortalException
- if a matching layout page template entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutPageTemplateEntryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceLayoutPageTemplateEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getUniqueLayoutPageTemplateEntryName
public String getUniqueLayoutPageTemplateEntryName(long groupId, long layoutPageTemplateCollectionId, String name, int type) - Specified by:
getUniqueLayoutPageTemplateEntryName
in interfaceLayoutPageTemplateEntryLocalService
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(LayoutPageTemplateEntry layoutPageTemplateEntry) Updates the layout page template entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.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.
- Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Parameters:
layoutPageTemplateEntry
- the layout page template entry- Returns:
- the layout page template entry that was updated
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, boolean defaultTemplate) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long classNameId, long classTypeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long userId, long layoutPageTemplateEntryId, String name, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateEntry
public LayoutPageTemplateEntry updateLayoutPageTemplateEntry(long layoutPageTemplateEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateEntry
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public LayoutPageTemplateEntry updateStatus(long userId, long layoutPageTemplateEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
- Specified by:
getCTPersistence
in interfaceLayoutPageTemplateEntryLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
- Specified by:
getModelClass
in interfaceLayoutPageTemplateEntryLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>
- Specified by:
updateWithUnsafeFunction
in interfaceLayoutPageTemplateEntryLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
-
setWrappedService
public void setWrappedService(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
-