public class CPDisplayLayoutLocalServiceWrapper extends java.lang.Object implements CPDisplayLayoutLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CPDisplayLayoutLocalService>
CPDisplayLayoutLocalService.CPDisplayLayoutLocalService| Constructor and Description |
|---|
CPDisplayLayoutLocalServiceWrapper() |
CPDisplayLayoutLocalServiceWrapper(CPDisplayLayoutLocalService cpDisplayLayoutLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CPDisplayLayout |
addCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Adds the cp display layout to the database.
|
CPDisplayLayout |
addCPDisplayLayout(long userId,
long groupId,
java.lang.Class<?> clazz,
long classPK,
java.lang.String layoutPageTemplateEntryUuid,
java.lang.String layoutUuid) |
CPDisplayLayout |
createCPDisplayLayout(long CPDisplayLayoutId)
Creates a new cp display layout with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CPDisplayLayout |
deleteCPDisplayLayout(java.lang.Class<?> clazz,
long classPK) |
CPDisplayLayout |
deleteCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Deletes the cp display layout from the database.
|
CPDisplayLayout |
deleteCPDisplayLayout(long CPDisplayLayoutId)
Deletes the cp display layout with the primary key from the database.
|
void |
deleteCPDisplayLayouts(java.lang.Class<?> clazz,
long classPK) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CPDisplayLayout |
fetchCPDisplayLayout(long CPDisplayLayoutId) |
CPDisplayLayout |
fetchCPDisplayLayout(long groupId,
java.lang.Class<?> clazz,
long classPK) |
CPDisplayLayout |
fetchCPDisplayLayoutByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp display layout matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CPDisplayLayout |
getCPDisplayLayout(long CPDisplayLayoutId)
Returns the cp display layout with the primary key.
|
CPDisplayLayout |
getCPDisplayLayoutByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the cp display layout matching the UUID and group.
|
java.util.List<CPDisplayLayout> |
getCPDisplayLayouts(int start,
int end)
Returns a range of all the cp display layouts.
|
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid(long groupId,
java.lang.String layoutPageTemplateEntryUuid) |
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid(long groupId,
java.lang.String layoutPageTemplateEntryUuid,
int start,
int end) |
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByGroupIdAndLayoutUuid(long groupId,
java.lang.String layoutUuid) |
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByGroupIdAndLayoutUuid(long groupId,
java.lang.String layoutUuid,
int start,
int end) |
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the cp display layouts matching the UUID and company.
|
java.util.List<CPDisplayLayout> |
getCPDisplayLayoutsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
Returns a range of cp display layouts matching the UUID and company.
|
int |
getCPDisplayLayoutsCount()
Returns the number of cp display layouts.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDisplayLayout> |
getCTPersistence() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.Class<CPDisplayLayout> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CPDisplayLayoutLocalService |
getWrappedService() |
com.liferay.portal.kernel.search.BaseModelSearchResult<CPDisplayLayout> |
searchCPDisplayLayout(long companyId,
long groupId,
java.lang.String className,
java.lang.Integer type,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setWrappedService(CPDisplayLayoutLocalService cpDisplayLayoutLocalService) |
CPDisplayLayout |
updateCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Updates the cp display layout in the database or adds it if it does not yet exist.
|
CPDisplayLayout |
updateCPDisplayLayout(long cpDisplayLayoutId,
long classPK,
java.lang.String layoutPageTemplateEntryUuid,
java.lang.String layoutUuid) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDisplayLayout>,R,E> updateUnsafeFunction) |
public CPDisplayLayoutLocalServiceWrapper()
public CPDisplayLayoutLocalServiceWrapper(CPDisplayLayoutLocalService cpDisplayLayoutLocalService)
public CPDisplayLayout addCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Important: Inspect CPDisplayLayoutLocalServiceImpl 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.
addCPDisplayLayout in interface CPDisplayLayoutLocalServicecpDisplayLayout - the cp display layoutpublic CPDisplayLayout addCPDisplayLayout(long userId, long groupId, java.lang.Class<?> clazz, long classPK, java.lang.String layoutPageTemplateEntryUuid, java.lang.String layoutUuid) throws com.liferay.portal.kernel.exception.PortalException
addCPDisplayLayout in interface CPDisplayLayoutLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPDisplayLayout createCPDisplayLayout(long CPDisplayLayoutId)
createCPDisplayLayout in interface CPDisplayLayoutLocalServiceCPDisplayLayoutId - the primary key for the new cp display layoutpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CPDisplayLayoutLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CPDisplayLayout deleteCPDisplayLayout(java.lang.Class<?> clazz, long classPK)
deleteCPDisplayLayout in interface CPDisplayLayoutLocalServicepublic CPDisplayLayout deleteCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Important: Inspect CPDisplayLayoutLocalServiceImpl 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.
deleteCPDisplayLayout in interface CPDisplayLayoutLocalServicecpDisplayLayout - the cp display layoutpublic CPDisplayLayout deleteCPDisplayLayout(long CPDisplayLayoutId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CPDisplayLayoutLocalServiceImpl 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.
deleteCPDisplayLayout in interface CPDisplayLayoutLocalServiceCPDisplayLayoutId - the primary key of the cp display layoutPortalException - if a cp display layout with the primary key could not be foundpublic void deleteCPDisplayLayouts(java.lang.Class<?> clazz,
long classPK)
deleteCPDisplayLayouts in interface CPDisplayLayoutLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CPDisplayLayoutLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CPDisplayLayoutLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CPDisplayLayoutLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CPDisplayLayoutLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CPDisplayLayoutLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDisplayLayoutModelImpl.
dynamicQuery in interface CPDisplayLayoutLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDisplayLayoutModelImpl.
dynamicQuery in interface CPDisplayLayoutLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CPDisplayLayoutLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CPDisplayLayoutLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CPDisplayLayout fetchCPDisplayLayout(long CPDisplayLayoutId)
fetchCPDisplayLayout in interface CPDisplayLayoutLocalServicepublic CPDisplayLayout fetchCPDisplayLayout(long groupId, java.lang.Class<?> clazz, long classPK)
fetchCPDisplayLayout in interface CPDisplayLayoutLocalServicepublic CPDisplayLayout fetchCPDisplayLayoutByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPDisplayLayoutByUuidAndGroupId in interface CPDisplayLayoutLocalServiceuuid - the cp display layout's UUIDgroupId - the primary key of the groupnull if a matching cp display layout could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CPDisplayLayoutLocalServicepublic CPDisplayLayout getCPDisplayLayout(long CPDisplayLayoutId) throws com.liferay.portal.kernel.exception.PortalException
getCPDisplayLayout in interface CPDisplayLayoutLocalServiceCPDisplayLayoutId - the primary key of the cp display layoutPortalException - if a cp display layout with the primary key could not be foundpublic CPDisplayLayout getCPDisplayLayoutByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCPDisplayLayoutByUuidAndGroupId in interface CPDisplayLayoutLocalServiceuuid - the cp display layout's UUIDgroupId - the primary key of the groupPortalException - if a matching cp display layout could not be foundpublic java.util.List<CPDisplayLayout> getCPDisplayLayouts(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CPDisplayLayoutModelImpl.
getCPDisplayLayouts in interface CPDisplayLayoutLocalServicestart - the lower bound of the range of cp display layoutsend - the upper bound of the range of cp display layouts (not inclusive)public java.util.List<CPDisplayLayout> getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid(long groupId, java.lang.String layoutPageTemplateEntryUuid)
getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid in interface CPDisplayLayoutLocalServicepublic java.util.List<CPDisplayLayout> getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid(long groupId, java.lang.String layoutPageTemplateEntryUuid, int start, int end)
getCPDisplayLayoutsByGroupIdAndLayoutPageTemplateEntryUuid in interface CPDisplayLayoutLocalServicepublic java.util.List<CPDisplayLayout> getCPDisplayLayoutsByGroupIdAndLayoutUuid(long groupId, java.lang.String layoutUuid)
getCPDisplayLayoutsByGroupIdAndLayoutUuid in interface CPDisplayLayoutLocalServicepublic java.util.List<CPDisplayLayout> getCPDisplayLayoutsByGroupIdAndLayoutUuid(long groupId, java.lang.String layoutUuid, int start, int end)
getCPDisplayLayoutsByGroupIdAndLayoutUuid in interface CPDisplayLayoutLocalServicepublic java.util.List<CPDisplayLayout> getCPDisplayLayoutsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPDisplayLayoutsByUuidAndCompanyId in interface CPDisplayLayoutLocalServiceuuid - the UUID of the cp display layoutscompanyId - the primary key of the companypublic java.util.List<CPDisplayLayout> getCPDisplayLayoutsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDisplayLayout> orderByComparator)
getCPDisplayLayoutsByUuidAndCompanyId in interface CPDisplayLayoutLocalServiceuuid - the UUID of the cp display layoutscompanyId - the primary key of the companystart - the lower bound of the range of cp display layoutsend - the upper bound of the range of cp display layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getCPDisplayLayoutsCount()
getCPDisplayLayoutsCount in interface CPDisplayLayoutLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CPDisplayLayoutLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CPDisplayLayoutLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CPDisplayLayoutLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CPDisplayLayoutLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<CPDisplayLayout> searchCPDisplayLayout(long companyId, long groupId, java.lang.String className, java.lang.Integer type, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCPDisplayLayout in interface CPDisplayLayoutLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CPDisplayLayout updateCPDisplayLayout(CPDisplayLayout cpDisplayLayout)
Important: Inspect CPDisplayLayoutLocalServiceImpl 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.
updateCPDisplayLayout in interface CPDisplayLayoutLocalServicecpDisplayLayout - the cp display layoutpublic CPDisplayLayout updateCPDisplayLayout(long cpDisplayLayoutId, long classPK, java.lang.String layoutPageTemplateEntryUuid, java.lang.String layoutUuid) throws com.liferay.portal.kernel.exception.PortalException
updateCPDisplayLayout in interface CPDisplayLayoutLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDisplayLayout> getCTPersistence()
getCTPersistence in interface CPDisplayLayoutLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDisplayLayout>public java.lang.Class<CPDisplayLayout> getModelClass()
getModelClass in interface CPDisplayLayoutLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDisplayLayout>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDisplayLayout>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CPDisplayLayoutLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CPDisplayLayout>E extends java.lang.Throwablepublic CPDisplayLayoutLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDisplayLayoutLocalService>public void setWrappedService(CPDisplayLayoutLocalService cpDisplayLayoutLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CPDisplayLayoutLocalService>