Class LayoutPageTemplateCollectionLocalServiceWrapper
- All Implemented Interfaces:
LayoutPageTemplateCollectionLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateCollectionLocalService>
LayoutPageTemplateCollectionLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionLayoutPageTemplateCollectionLocalServiceWrapper(LayoutPageTemplateCollectionLocalService layoutPageTemplateCollectionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) Adds the layout page template collection to the database.addLayoutPageTemplateCollection(String externalReferenceCode, long userId, long groupId, long parentLayoutPageTemplateCollectionId, String layoutPageTemplateCollectionKey, String name, String description, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyLayoutPageTemplateCollection(long userId, long groupId, long sourceLayoutPageTemplateCollectionId, long layoutParentPageTemplateCollectionId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) createLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) Creates a new layout page template collection with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) Deletes the layout page template collection with the primary key from the database.deleteLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) Deletes the layout page template collection from the database.deleteLayoutPageTemplateCollection(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.fetchLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) fetchLayoutPageTemplateCollection(long groupId, String layoutPageTemplateCollectionKey, int type) fetchLayoutPageTemplateCollection(long groupId, String name, long parentLayoutPageTemplateCollectionId, int type) fetchLayoutPageTemplateCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) fetchLayoutPageTemplateCollectionByUuidAndGroupId(String uuid, long groupId) Returns the layout page template collection 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<LayoutPageTemplateCollection>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) Returns the layout page template collection with the primary key.getLayoutPageTemplateCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) getLayoutPageTemplateCollectionByUuidAndGroupId(String uuid, long groupId) Returns the layout page template collection matching the UUID and group.getLayoutPageTemplateCollections(int start, int end) Returns a range of all the layout page template collections.getLayoutPageTemplateCollections(long groupId) getLayoutPageTemplateCollections(long groupId, int type, int start, int end) getLayoutPageTemplateCollections(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId) getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId, int type) getLayoutPageTemplateCollections(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) getLayoutPageTemplateCollectionsByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template collections matching the UUID and company.getLayoutPageTemplateCollectionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns a range of layout page template collections matching the UUID and company.intReturns the number of layout page template collections.intgetLayoutPageTemplateCollectionsCount(long groupId, int type) intgetLayoutPageTemplateCollectionsCount(long groupId, String name, int type) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUniqueLayoutPageTemplateCollectionName(long groupId, long layoutPageTemplateCollectionId, String sourceName, int type) moveLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, long parentLayoutPageTemplateCollectionId) voidsetWrappedService(LayoutPageTemplateCollectionLocalService layoutPageTemplateCollectionLocalService) updateLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, String name) updateLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, String name, String description) updateLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) Updates the layout page template collection in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateCollection>, 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
-
LayoutPageTemplateCollectionLocalServiceWrapper
public LayoutPageTemplateCollectionLocalServiceWrapper() -
LayoutPageTemplateCollectionLocalServiceWrapper
public LayoutPageTemplateCollectionLocalServiceWrapper(LayoutPageTemplateCollectionLocalService layoutPageTemplateCollectionLocalService)
-
-
Method Details
-
addLayoutPageTemplateCollection
public LayoutPageTemplateCollection addLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) Adds the layout page template collection to the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateCollectionLocalServiceImpl 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:
addLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollection- the layout page template collection- Returns:
- the layout page template collection that was added
-
addLayoutPageTemplateCollection
public LayoutPageTemplateCollection addLayoutPageTemplateCollection(String externalReferenceCode, long userId, long groupId, long parentLayoutPageTemplateCollectionId, String layoutPageTemplateCollectionKey, String name, String description, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyLayoutPageTemplateCollection
public LayoutPageTemplateCollection copyLayoutPageTemplateCollection(long userId, long groupId, long sourceLayoutPageTemplateCollectionId, long layoutParentPageTemplateCollectionId, boolean copyPermissions, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception - Specified by:
copyLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Throws:
Exception
-
createLayoutPageTemplateCollection
public LayoutPageTemplateCollection createLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) Creates a new layout page template collection with the primary key. Does not add the layout page template collection to the database.- Specified by:
createLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollectionId- the primary key for the new layout page template collection- Returns:
- the new layout page template collection
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceLayoutPageTemplateCollectionLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateCollection
public LayoutPageTemplateCollection deleteLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template collection from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateCollectionLocalServiceImpl 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:
deleteLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollection- the layout page template collection- Returns:
- the layout page template collection that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateCollection
public LayoutPageTemplateCollection deleteLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the layout page template collection with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateCollectionLocalServiceImpl 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:
deleteLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollectionId- the primary key of the layout page template collection- Returns:
- the layout page template collection that was removed
- Throws:
PortalException- if a layout page template collection with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutPageTemplateCollection
public LayoutPageTemplateCollection deleteLayoutPageTemplateCollection(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- 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 interfaceLayoutPageTemplateCollectionLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceLayoutPageTemplateCollectionLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceLayoutPageTemplateCollectionLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceLayoutPageTemplateCollectionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceLayoutPageTemplateCollectionLocalService- 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.LayoutPageTemplateCollectionModelImpl.- Specified by:
dynamicQueryin interfaceLayoutPageTemplateCollectionLocalService- 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.LayoutPageTemplateCollectionModelImpl.- Specified by:
dynamicQueryin interfaceLayoutPageTemplateCollectionLocalService- 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 interfaceLayoutPageTemplateCollectionLocalService- 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 interfaceLayoutPageTemplateCollectionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchLayoutPageTemplateCollection
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) - Specified by:
fetchLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollection
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollection(long groupId, String layoutPageTemplateCollectionKey, int type) - Specified by:
fetchLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollection
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollection(long groupId, String name, long parentLayoutPageTemplateCollectionId, int type) - Specified by:
fetchLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollectionByExternalReferenceCode
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutPageTemplateCollectionByExternalReferenceCodein interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollectionByUuidAndGroupId
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollectionByUuidAndGroupId(String uuid, long groupId) Returns the layout page template collection matching the UUID and group.- Specified by:
fetchLayoutPageTemplateCollectionByUuidAndGroupIdin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
uuid- the layout page template collection's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template collection, or
nullif a matching layout page template collection could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceLayoutPageTemplateCollectionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceLayoutPageTemplateCollectionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollection
public LayoutPageTemplateCollection getLayoutPageTemplateCollection(long layoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template collection with the primary key.- Specified by:
getLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollectionId- the primary key of the layout page template collection- Returns:
- the layout page template collection
- Throws:
PortalException- if a layout page template collection with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateCollectionByExternalReferenceCode
public LayoutPageTemplateCollection getLayoutPageTemplateCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLayoutPageTemplateCollectionByExternalReferenceCodein interfaceLayoutPageTemplateCollectionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateCollectionByUuidAndGroupId
public LayoutPageTemplateCollection getLayoutPageTemplateCollectionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the layout page template collection matching the UUID and group.- Specified by:
getLayoutPageTemplateCollectionByUuidAndGroupIdin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
uuid- the layout page template collection's UUIDgroupId- the primary key of the group- Returns:
- the matching layout page template collection
- Throws:
PortalException- if a matching layout page template collection could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getLayoutPageTemplateCollections
Returns a range of all the layout page template collections.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.LayoutPageTemplateCollectionModelImpl.- Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
start- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)- Returns:
- the range of layout page template collections
-
getLayoutPageTemplateCollections
- Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, int type, int start, int end) - Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) - Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId) - Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId, int type) - Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, String name, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) - Specified by:
getLayoutPageTemplateCollectionsin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollectionsByUuidAndCompanyId
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollectionsByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template collections matching the UUID and company.- Specified by:
getLayoutPageTemplateCollectionsByUuidAndCompanyIdin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
uuid- the UUID of the layout page template collectionscompanyId- the primary key of the company- Returns:
- the matching layout page template collections, or an empty list if no matches were found
-
getLayoutPageTemplateCollectionsByUuidAndCompanyId
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollectionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) Returns a range of layout page template collections matching the UUID and company.- Specified by:
getLayoutPageTemplateCollectionsByUuidAndCompanyIdin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
uuid- the UUID of the layout page template collectionscompanyId- the primary key of the companystart- the lower bound of the range of layout page template collectionsend- the upper bound of the range of layout page template collections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching layout page template collections, or an empty list if no matches were found
-
getLayoutPageTemplateCollectionsCount
public int getLayoutPageTemplateCollectionsCount()Returns the number of layout page template collections.- Specified by:
getLayoutPageTemplateCollectionsCountin interfaceLayoutPageTemplateCollectionLocalService- Returns:
- the number of layout page template collections
-
getLayoutPageTemplateCollectionsCount
public int getLayoutPageTemplateCollectionsCount(long groupId, int type) - Specified by:
getLayoutPageTemplateCollectionsCountin interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollectionsCount
- Specified by:
getLayoutPageTemplateCollectionsCountin interfaceLayoutPageTemplateCollectionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceLayoutPageTemplateCollectionLocalService- 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 interfaceLayoutPageTemplateCollectionLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getUniqueLayoutPageTemplateCollectionName
public String getUniqueLayoutPageTemplateCollectionName(long groupId, long layoutPageTemplateCollectionId, String sourceName, int type) - Specified by:
getUniqueLayoutPageTemplateCollectionNamein interfaceLayoutPageTemplateCollectionLocalService
-
moveLayoutPageTemplateCollection
public LayoutPageTemplateCollection moveLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, long parentLayoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateCollection
public LayoutPageTemplateCollection updateLayoutPageTemplateCollection(LayoutPageTemplateCollection layoutPageTemplateCollection) Updates the layout page template collection in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect LayoutPageTemplateCollectionLocalServiceImpl 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:
updateLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Parameters:
layoutPageTemplateCollection- the layout page template collection- Returns:
- the layout page template collection that was updated
-
updateLayoutPageTemplateCollection
public LayoutPageTemplateCollection updateLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutPageTemplateCollection
public LayoutPageTemplateCollection updateLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateLayoutPageTemplateCollectionin interfaceLayoutPageTemplateCollectionLocalService- 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<LayoutPageTemplateCollection> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>- Specified by:
getCTPersistencein interfaceLayoutPageTemplateCollectionLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>- Specified by:
getModelClassin interfaceLayoutPageTemplateCollectionLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateCollection>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>- Specified by:
updateWithUnsafeFunctionin interfaceLayoutPageTemplateCollectionLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateCollectionLocalService>
-
setWrappedService
public void setWrappedService(LayoutPageTemplateCollectionLocalService layoutPageTemplateCollectionLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateCollectionLocalService>
-