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.PersistedModelcreatePersistedModel(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.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?> com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFirstLayoutPageTemplateEntry(long layoutPrototypeId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutPageTemplateEntries(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.intReturns 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.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUniqueLayoutPageTemplateEntryName(long groupId, long layoutPageTemplateCollectionId, String name, int type) moveLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long targetLayoutPageTemplateCollectionId) voidsetWrappedService(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, waitMethods 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:
addGlobalLayoutPageTemplateEntryin 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:
addLayoutPageTemplateEntryin 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:
addLayoutPageTemplateEntryin 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:
addLayoutPageTemplateEntryin 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:
addLayoutPageTemplateEntryin 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:
addLayoutPageTemplateEntryin 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:
copyLayoutPageTemplateEntryin 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:
createLayoutPageTemplateEntryin 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:
createPersistedModelin interfaceLayoutPageTemplateEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
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:
deleteLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Parameters:
layoutPageTemplateEntry- the layout page template entry- Returns:
- the layout page template entry that was removed
-
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:
deleteLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Parameters:
layoutPageTemplateEntryId- the primary key of the layout page template entry- Returns:
- the layout page template entry that was removed
-
deleteLayoutPageTemplateEntry
public LayoutPageTemplateEntry deleteLayoutPageTemplateEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteLayoutPageTemplateEntryin 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:
deletePersistedModelin interfaceLayoutPageTemplateEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutPageTemplateEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutPageTemplateEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceLayoutPageTemplateEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchDefaultLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService
-
fetchFirstLayoutPageTemplateEntry
- Specified by:
fetchFirstLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
- Specified by:
fetchLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, long layoutPageTemplateCollectionId, String name, int type) - Specified by:
fetchLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntry
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) - Specified by:
fetchLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByExternalReferenceCode
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutPageTemplateEntryByExternalReferenceCodein interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByPlid
- Specified by:
fetchLayoutPageTemplateEntryByPlidin interfaceLayoutPageTemplateEntryLocalService
-
fetchLayoutPageTemplateEntryByUuidAndGroupId
public LayoutPageTemplateEntry fetchLayoutPageTemplateEntryByUuidAndGroupId(String uuid, long groupId) Returns the layout page template entry matching the UUID and group.- Specified by:
fetchLayoutPageTemplateEntryByUuidAndGroupIdin interfaceLayoutPageTemplateEntryLocalService- Parameters:
uuid- the layout page template entry's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template entry, or
nullif a matching layout page template entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceLayoutPageTemplateEntryLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceLayoutPageTemplateEntryLocalService
-
getFirstLayoutPageTemplateEntry
public LayoutPageTemplateEntry getFirstLayoutPageTemplateEntry(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFirstLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
Returns a range of all the layout page template entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.layout.page.template.model.impl.LayoutPageTemplateEntryModelImpl.- Specified by:
getLayoutPageTemplateEntriesin 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:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
- Specified by:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId) - Specified by:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status) - Specified by:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end) - Specified by:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int status, int start, int end) - Specified by:
getLayoutPageTemplateEntriesin 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:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntries
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntries(long groupId, long layoutPageTemplateCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateEntry> orderByComparator) - Specified by:
getLayoutPageTemplateEntriesin 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:
getLayoutPageTemplateEntriesin 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:
getLayoutPageTemplateEntriesin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntriesByLayoutPrototypeId
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByLayoutPrototypeId(long layoutPrototypeId) - Specified by:
getLayoutPageTemplateEntriesByLayoutPrototypeIdin interfaceLayoutPageTemplateEntryLocalService
-
getLayoutPageTemplateEntriesByUuidAndCompanyId
public List<LayoutPageTemplateEntry> getLayoutPageTemplateEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template entries matching the UUID and company.- Specified by:
getLayoutPageTemplateEntriesByUuidAndCompanyIdin 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:
getLayoutPageTemplateEntriesByUuidAndCompanyIdin 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:
getLayoutPageTemplateEntriesCountin 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:
getLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Parameters:
layoutPageTemplateEntryId- the primary key of the layout page template entry- Returns:
- the layout page template entry
-
getLayoutPageTemplateEntry
public LayoutPageTemplateEntry getLayoutPageTemplateEntry(long groupId, String layoutPageTemplateEntryKey) throws NoSuchPageTemplateEntryException - Specified by:
getLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Throws:
NoSuchPageTemplateEntryException
-
getLayoutPageTemplateEntryByExternalReferenceCode
public LayoutPageTemplateEntry getLayoutPageTemplateEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutPageTemplateEntryByExternalReferenceCodein 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:
getLayoutPageTemplateEntryByUuidAndGroupIdin interfaceLayoutPageTemplateEntryLocalService- Parameters:
uuid- the layout page template entry's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template entry
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceLayoutPageTemplateEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getUniqueLayoutPageTemplateEntryName
public String getUniqueLayoutPageTemplateEntryName(long groupId, long layoutPageTemplateCollectionId, String name, int type) - Specified by:
getUniqueLayoutPageTemplateEntryNamein interfaceLayoutPageTemplateEntryLocalService
-
moveLayoutPageTemplateEntry
public LayoutPageTemplateEntry moveLayoutPageTemplateEntry(long layoutPageTemplateEntryId, long targetLayoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveLayoutPageTemplateEntryin interfaceLayoutPageTemplateEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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:
updateLayoutPageTemplateEntryin 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:
updateLayoutPageTemplateEntryin 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:
updateLayoutPageTemplateEntryin 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:
updateLayoutPageTemplateEntryin 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:
updateLayoutPageTemplateEntryin 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:
updateLayoutPageTemplateEntryin 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:
updateStatusin interfaceLayoutPageTemplateEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>- Specified by:
getCTPersistencein interfaceLayoutPageTemplateEntryLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateEntry>- Specified by:
updateWithUnsafeFunctionin interfaceLayoutPageTemplateEntryLocalService- Throws:
E
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
-
setWrappedService
public void setWrappedService(LayoutPageTemplateEntryLocalService layoutPageTemplateEntryLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateEntryLocalService>
-