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.PersistedModel
createPersistedModel
(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.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.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.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutPageTemplateCollection>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getLayoutPageTemplateCollection
(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.int
Returns the number of layout page template collections.int
getLayoutPageTemplateCollectionsCount
(long groupId, int type) int
getLayoutPageTemplateCollectionsCount
(long groupId, String name, int type) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getUniqueLayoutPageTemplateCollectionName
(long groupId, long layoutPageTemplateCollectionId, String sourceName, int type) moveLayoutPageTemplateCollection
(long layoutPageTemplateCollectionId, long parentLayoutPageTemplateCollectionId) void
setWrappedService
(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, wait
Methods 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:
addLayoutPageTemplateCollection
in 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:
addLayoutPageTemplateCollection
in 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:
copyLayoutPageTemplateCollection
in 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:
createLayoutPageTemplateCollection
in 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:
createPersistedModel
in interfaceLayoutPageTemplateCollectionLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.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:
deleteLayoutPageTemplateCollection
in interfaceLayoutPageTemplateCollectionLocalService
- Parameters:
layoutPageTemplateCollection
- the layout page template collection- Returns:
- the layout page template collection that was removed
- Throws:
PortalException
com.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:
deleteLayoutPageTemplateCollection
in 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:
deleteLayoutPageTemplateCollection
in 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:
deletePersistedModel
in interfaceLayoutPageTemplateCollectionLocalService
- 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 interfaceLayoutPageTemplateCollectionLocalService
- 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 interfaceLayoutPageTemplateCollectionLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceLayoutPageTemplateCollectionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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.LayoutPageTemplateCollectionModelImpl
.- Specified by:
dynamicQuery
in 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 - 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.LayoutPageTemplateCollectionModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchLayoutPageTemplateCollection
in interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollection
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollection(long groupId, String layoutPageTemplateCollectionKey, int type) - Specified by:
fetchLayoutPageTemplateCollection
in interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollection
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollection(long groupId, String name, long parentLayoutPageTemplateCollectionId, int type) - Specified by:
fetchLayoutPageTemplateCollection
in interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollectionByExternalReferenceCode
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchLayoutPageTemplateCollectionByExternalReferenceCode
in interfaceLayoutPageTemplateCollectionLocalService
-
fetchLayoutPageTemplateCollectionByUuidAndGroupId
public LayoutPageTemplateCollection fetchLayoutPageTemplateCollectionByUuidAndGroupId(String uuid, long groupId) Returns the layout page template collection matching the UUID and group.- Specified by:
fetchLayoutPageTemplateCollectionByUuidAndGroupId
in interfaceLayoutPageTemplateCollectionLocalService
- Parameters:
uuid
- the layout page template collection's UUIDgroupId
- the primary key of the group- Returns:
- the matching layout page template collection, or
null
if a matching layout page template collection could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceLayoutPageTemplateCollectionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceLayoutPageTemplateCollectionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in 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:
getLayoutPageTemplateCollection
in 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:
getLayoutPageTemplateCollectionByExternalReferenceCode
in 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:
getLayoutPageTemplateCollectionByUuidAndGroupId
in 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 - 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.LayoutPageTemplateCollectionModelImpl
.- Specified by:
getLayoutPageTemplateCollections
in 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:
getLayoutPageTemplateCollections
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, int type, int start, int end) - Specified by:
getLayoutPageTemplateCollections
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutPageTemplateCollection> orderByComparator) - Specified by:
getLayoutPageTemplateCollections
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId) - Specified by:
getLayoutPageTemplateCollections
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollections
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollections(long groupId, long layoutPageTemplateCollectionId, int type) - Specified by:
getLayoutPageTemplateCollections
in 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:
getLayoutPageTemplateCollections
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollectionsByUuidAndCompanyId
public List<LayoutPageTemplateCollection> getLayoutPageTemplateCollectionsByUuidAndCompanyId(String uuid, long companyId) Returns all the layout page template collections matching the UUID and company.- Specified by:
getLayoutPageTemplateCollectionsByUuidAndCompanyId
in 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:
getLayoutPageTemplateCollectionsByUuidAndCompanyId
in 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:
getLayoutPageTemplateCollectionsCount
in interfaceLayoutPageTemplateCollectionLocalService
- Returns:
- the number of layout page template collections
-
getLayoutPageTemplateCollectionsCount
public int getLayoutPageTemplateCollectionsCount(long groupId, int type) - Specified by:
getLayoutPageTemplateCollectionsCount
in interfaceLayoutPageTemplateCollectionLocalService
-
getLayoutPageTemplateCollectionsCount
- Specified by:
getLayoutPageTemplateCollectionsCount
in interfaceLayoutPageTemplateCollectionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
getPersistedModel
in interfaceLayoutPageTemplateCollectionLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getUniqueLayoutPageTemplateCollectionName
public String getUniqueLayoutPageTemplateCollectionName(long groupId, long layoutPageTemplateCollectionId, String sourceName, int type) - Specified by:
getUniqueLayoutPageTemplateCollectionName
in interfaceLayoutPageTemplateCollectionLocalService
-
moveLayoutPageTemplateCollection
public LayoutPageTemplateCollection moveLayoutPageTemplateCollection(long layoutPageTemplateCollectionId, long parentLayoutPageTemplateCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveLayoutPageTemplateCollection
in 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:
updateLayoutPageTemplateCollection
in 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:
updateLayoutPageTemplateCollection
in 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:
updateLayoutPageTemplateCollection
in interfaceLayoutPageTemplateCollectionLocalService
- 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<LayoutPageTemplateCollection> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>
- Specified by:
getCTPersistence
in interfaceLayoutPageTemplateCollectionLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<LayoutPageTemplateCollection>
- Specified by:
updateWithUnsafeFunction
in interfaceLayoutPageTemplateCollectionLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateCollectionLocalService>
-
setWrappedService
public void setWrappedService(LayoutPageTemplateCollectionLocalService layoutPageTemplateCollectionLocalService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<LayoutPageTemplateCollectionLocalService>
-