public class CommerceCatalogLocalServiceWrapper extends java.lang.Object implements CommerceCatalogLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceCatalogLocalService>
CommerceCatalogLocalService.CommerceCatalogLocalService| Constructor and Description |
|---|
CommerceCatalogLocalServiceWrapper() |
CommerceCatalogLocalServiceWrapper(CommerceCatalogLocalService commerceCatalogLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceCatalog |
addCommerceCatalog(CommerceCatalog commerceCatalog)
Adds the commerce catalog to the database.
|
CommerceCatalog |
addCommerceCatalog(java.lang.String externalReferenceCode,
java.lang.String name,
java.lang.String commerceCurrencyCode,
java.lang.String catalogDefaultLanguageId,
boolean system,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceCatalog |
addCommerceCatalog(java.lang.String externalReferenceCode,
java.lang.String name,
java.lang.String commerceCurrencyCode,
java.lang.String catalogDefaultLanguageId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceCatalog |
addDefaultCommerceCatalog(long companyId) |
CommerceCatalog |
createCommerceCatalog(long commerceCatalogId)
Creates a new commerce catalog with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceCatalog |
deleteCommerceCatalog(CommerceCatalog commerceCatalog)
Deletes the commerce catalog from the database.
|
CommerceCatalog |
deleteCommerceCatalog(long commerceCatalogId)
Deletes the commerce catalog with the primary key from the database.
|
void |
deleteCommerceCatalogs(long companyId) |
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.
|
CommerceCatalog |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceCatalog |
fetchCommerceCatalog(long commerceCatalogId) |
CommerceCatalog |
fetchCommerceCatalogByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceCatalog |
fetchCommerceCatalogByGroupId(long groupId) |
CommerceCatalog |
fetchCommerceCatalogByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce catalog with the matching UUID and company.
|
CommerceCatalog |
forceDeleteCommerceCatalog(CommerceCatalog commerceCatalog) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommerceCatalog |
getCommerceCatalog(long commerceCatalogId)
Returns the commerce catalog with the primary key.
|
CommerceCatalog |
getCommerceCatalogByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceCatalog |
getCommerceCatalogByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce catalog with the matching UUID and company.
|
com.liferay.portal.kernel.model.Group |
getCommerceCatalogGroup(long commerceCatalogId) |
java.util.List<CommerceCatalog> |
getCommerceCatalogs(int start,
int end)
Returns a range of all the commerce catalogs.
|
java.util.List<CommerceCatalog> |
getCommerceCatalogs(long companyId,
boolean system) |
int |
getCommerceCatalogsCount()
Returns the number of commerce catalogs.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceCatalog> |
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<CommerceCatalog> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceCatalogLocalService |
getWrappedService() |
java.util.List<CommerceCatalog> |
search(long companyId) |
java.util.List<CommerceCatalog> |
search(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommerceCatalogsCount(long companyId,
java.lang.String keywords) |
void |
setWrappedService(CommerceCatalogLocalService commerceCatalogLocalService) |
CommerceCatalog |
updateCommerceCatalog(CommerceCatalog commerceCatalog)
Updates the commerce catalog in the database or adds it if it does not yet exist.
|
CommerceCatalog |
updateCommerceCatalog(long commerceCatalogId,
java.lang.String name,
java.lang.String commerceCurrencyCode,
java.lang.String catalogDefaultLanguageId) |
CommerceCatalog |
updateCommerceCatalogExternalReferenceCode(java.lang.String externalReferenceCode,
long commerceCatalogId) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceCatalog>,R,E> updateUnsafeFunction) |
public CommerceCatalogLocalServiceWrapper()
public CommerceCatalogLocalServiceWrapper(CommerceCatalogLocalService commerceCatalogLocalService)
public CommerceCatalog addCommerceCatalog(CommerceCatalog commerceCatalog)
Important: Inspect CommerceCatalogLocalServiceImpl 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.
addCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalog - the commerce catalogpublic CommerceCatalog addCommerceCatalog(java.lang.String externalReferenceCode, java.lang.String name, java.lang.String commerceCurrencyCode, java.lang.String catalogDefaultLanguageId, boolean system, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceCatalog in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog addCommerceCatalog(java.lang.String externalReferenceCode, java.lang.String name, java.lang.String commerceCurrencyCode, java.lang.String catalogDefaultLanguageId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceCatalog in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog addDefaultCommerceCatalog(long companyId) throws com.liferay.portal.kernel.exception.PortalException
addDefaultCommerceCatalog in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog createCommerceCatalog(long commerceCatalogId)
createCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalogId - the primary key for the new commerce catalogpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceCatalogLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceCatalog deleteCommerceCatalog(CommerceCatalog commerceCatalog) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceCatalogLocalServiceImpl 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.
deleteCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalog - the commerce catalogPortalExceptionpublic CommerceCatalog deleteCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceCatalogLocalServiceImpl 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.
deleteCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalogId - the primary key of the commerce catalogPortalException - if a commerce catalog with the primary key could not be foundpublic void deleteCommerceCatalogs(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceCatalogs in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceCatalogLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceCatalogLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceCatalogLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceCatalogLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceCatalogLocalServicedynamicQuery - 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.CommerceCatalogModelImpl.
dynamicQuery in interface CommerceCatalogLocalServicedynamicQuery - 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.CommerceCatalogModelImpl.
dynamicQuery in interface CommerceCatalogLocalServicedynamicQuery - 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 CommerceCatalogLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceCatalogLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceCatalog fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CommerceCatalogLocalServicepublic CommerceCatalog fetchCommerceCatalog(long commerceCatalogId)
fetchCommerceCatalog in interface CommerceCatalogLocalServicepublic CommerceCatalog fetchCommerceCatalogByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCommerceCatalogByExternalReferenceCode in interface CommerceCatalogLocalServicepublic CommerceCatalog fetchCommerceCatalogByGroupId(long groupId)
fetchCommerceCatalogByGroupId in interface CommerceCatalogLocalServicepublic CommerceCatalog fetchCommerceCatalogByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommerceCatalogByUuidAndCompanyId in interface CommerceCatalogLocalServiceuuid - the commerce catalog's UUIDcompanyId - the primary key of the companynull if a matching commerce catalog could not be foundpublic CommerceCatalog forceDeleteCommerceCatalog(CommerceCatalog commerceCatalog) throws com.liferay.portal.kernel.exception.PortalException
forceDeleteCommerceCatalog in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceCatalogLocalServicepublic CommerceCatalog getCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalogId - the primary key of the commerce catalogPortalException - if a commerce catalog with the primary key could not be foundpublic CommerceCatalog getCommerceCatalogByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalogByExternalReferenceCode in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog getCommerceCatalogByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalogByUuidAndCompanyId in interface CommerceCatalogLocalServiceuuid - the commerce catalog's UUIDcompanyId - the primary key of the companyPortalException - if a matching commerce catalog could not be foundpublic com.liferay.portal.kernel.model.Group getCommerceCatalogGroup(long commerceCatalogId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceCatalogGroup in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceCatalog> getCommerceCatalogs(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.CommerceCatalogModelImpl.
getCommerceCatalogs in interface CommerceCatalogLocalServicestart - the lower bound of the range of commerce catalogsend - the upper bound of the range of commerce catalogs (not inclusive)public java.util.List<CommerceCatalog> getCommerceCatalogs(long companyId, boolean system)
getCommerceCatalogs in interface CommerceCatalogLocalServicepublic int getCommerceCatalogsCount()
getCommerceCatalogsCount in interface CommerceCatalogLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface CommerceCatalogLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceCatalogLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceCatalogLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceCatalogLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceCatalog> search(long companyId) throws com.liferay.portal.kernel.exception.PortalException
search in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceCatalog> search(long companyId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
search in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommerceCatalogsCount(long companyId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceCatalogsCount in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog updateCommerceCatalog(CommerceCatalog commerceCatalog)
Important: Inspect CommerceCatalogLocalServiceImpl 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.
updateCommerceCatalog in interface CommerceCatalogLocalServicecommerceCatalog - the commerce catalogpublic CommerceCatalog updateCommerceCatalog(long commerceCatalogId, java.lang.String name, java.lang.String commerceCurrencyCode, java.lang.String catalogDefaultLanguageId) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceCatalog in interface CommerceCatalogLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceCatalog updateCommerceCatalogExternalReferenceCode(java.lang.String externalReferenceCode, long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceCatalogExternalReferenceCode in interface CommerceCatalogLocalServicecom.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<CommerceCatalog> getCTPersistence()
getCTPersistence in interface CommerceCatalogLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceCatalog>public java.lang.Class<CommerceCatalog> getModelClass()
getModelClass in interface CommerceCatalogLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceCatalog>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceCatalog>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface CommerceCatalogLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<CommerceCatalog>E extends java.lang.Throwablepublic CommerceCatalogLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceCatalogLocalService>public void setWrappedService(CommerceCatalogLocalService commerceCatalogLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceCatalogLocalService>