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 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) |
java.util.List<CPDisplayLayout> |
fetchCPDisplayLayoutByGroupIdAndLayoutUuid(long groupId,
java.lang.String layoutUuid) |
java.util.List<CPDisplayLayout> |
fetchCPDisplayLayoutByGroupIdAndLayoutUuid(long groupId,
java.lang.String layoutUuid,
int start,
int end) |
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() |
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> |
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.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
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.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 layoutUuid) |
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 CPDisplayLayoutLocalService
cpDisplayLayout
- the cp display layoutpublic CPDisplayLayout addCPDisplayLayout(long userId, long groupId, java.lang.Class<?> clazz, long classPK, java.lang.String layoutUuid) throws com.liferay.portal.kernel.exception.PortalException
addCPDisplayLayout
in interface CPDisplayLayoutLocalService
com.liferay.portal.kernel.exception.PortalException
public CPDisplayLayout createCPDisplayLayout(long CPDisplayLayoutId)
createCPDisplayLayout
in interface CPDisplayLayoutLocalService
CPDisplayLayoutId
- 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 CPDisplayLayoutLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CPDisplayLayout deleteCPDisplayLayout(java.lang.Class<?> clazz, long classPK)
deleteCPDisplayLayout
in interface CPDisplayLayoutLocalService
public 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 CPDisplayLayoutLocalService
cpDisplayLayout
- 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 CPDisplayLayoutLocalService
CPDisplayLayoutId
- 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 CPDisplayLayoutLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CPDisplayLayoutLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CPDisplayLayoutLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CPDisplayLayoutLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CPDisplayLayoutLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CPDisplayLayoutLocalService
dynamicQuery
- 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 CPDisplayLayoutLocalService
dynamicQuery
- 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 CPDisplayLayoutLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CPDisplayLayoutLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CPDisplayLayoutLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CPDisplayLayout fetchCPDisplayLayout(long CPDisplayLayoutId)
fetchCPDisplayLayout
in interface CPDisplayLayoutLocalService
public CPDisplayLayout fetchCPDisplayLayout(long groupId, java.lang.Class<?> clazz, long classPK)
fetchCPDisplayLayout
in interface CPDisplayLayoutLocalService
public java.util.List<CPDisplayLayout> fetchCPDisplayLayoutByGroupIdAndLayoutUuid(long groupId, java.lang.String layoutUuid)
fetchCPDisplayLayoutByGroupIdAndLayoutUuid
in interface CPDisplayLayoutLocalService
public java.util.List<CPDisplayLayout> fetchCPDisplayLayoutByGroupIdAndLayoutUuid(long groupId, java.lang.String layoutUuid, int start, int end)
fetchCPDisplayLayoutByGroupIdAndLayoutUuid
in interface CPDisplayLayoutLocalService
public CPDisplayLayout fetchCPDisplayLayoutByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCPDisplayLayoutByUuidAndGroupId
in interface CPDisplayLayoutLocalService
uuid
- 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 CPDisplayLayoutLocalService
public CPDisplayLayout getCPDisplayLayout(long CPDisplayLayoutId) throws com.liferay.portal.kernel.exception.PortalException
getCPDisplayLayout
in interface CPDisplayLayoutLocalService
CPDisplayLayoutId
- 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 CPDisplayLayoutLocalService
uuid
- 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 CPDisplayLayoutLocalService
start
- 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> getCPDisplayLayoutsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCPDisplayLayoutsByUuidAndCompanyId
in interface CPDisplayLayoutLocalService
uuid
- 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 CPDisplayLayoutLocalService
uuid
- 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 CPDisplayLayoutLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CPDisplayLayoutLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CPDisplayLayoutLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CPDisplayLayoutLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CPDisplayLayoutLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<CPDisplayLayout> searchCPDisplayLayout(long companyId, long groupId, java.lang.String className, 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 CPDisplayLayoutLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CPDisplayLayoutLocalService
cpDisplayLayout
- the cp display layoutpublic CPDisplayLayout updateCPDisplayLayout(long cpDisplayLayoutId, long classPK, java.lang.String layoutUuid) throws com.liferay.portal.kernel.exception.PortalException
updateCPDisplayLayout
in interface CPDisplayLayoutLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>