public class CommerceApplicationBrandLocalServiceWrapper extends java.lang.Object implements CommerceApplicationBrandLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceApplicationBrandLocalService>
CommerceApplicationBrandLocalService.CommerceApplicationBrandLocalService| Constructor and Description |
|---|
CommerceApplicationBrandLocalServiceWrapper(CommerceApplicationBrandLocalService commerceApplicationBrandLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceApplicationBrand |
addCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand)
Adds the commerce application brand to the database.
|
CommerceApplicationBrand |
addCommerceApplicationBrand(long userId,
java.lang.String name,
boolean logo,
byte[] logoBytes) |
CommerceApplicationBrand |
createCommerceApplicationBrand(long commerceApplicationBrandId)
Creates a new commerce application brand with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceApplicationBrand |
deleteCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand)
Deletes the commerce application brand from the database.
|
CommerceApplicationBrand |
deleteCommerceApplicationBrand(long commerceApplicationBrandId)
Deletes the commerce application brand with the primary key from the database.
|
void |
deleteCommerceApplicationBrands(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.
|
CommerceApplicationBrand |
fetchCommerceApplicationBrand(long commerceApplicationBrandId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommerceApplicationBrand |
getCommerceApplicationBrand(long commerceApplicationBrandId)
Returns the commerce application brand with the primary key.
|
java.util.List<CommerceApplicationBrand> |
getCommerceApplicationBrands(int start,
int end)
Returns a range of all the commerce application brands.
|
int |
getCommerceApplicationBrandsCount()
Returns the number of commerce application brands.
|
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) |
CommerceApplicationBrandLocalService |
getWrappedService() |
void |
setWrappedService(CommerceApplicationBrandLocalService commerceApplicationBrandLocalService) |
CommerceApplicationBrand |
updateCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand)
Updates the commerce application brand in the database or adds it if it does not yet exist.
|
CommerceApplicationBrand |
updateCommerceApplicationBrand(long commerceApplicationBrandId,
java.lang.String name,
boolean logo,
byte[] logoBytes) |
public CommerceApplicationBrandLocalServiceWrapper(CommerceApplicationBrandLocalService commerceApplicationBrandLocalService)
public CommerceApplicationBrand addCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand)
Important: Inspect CommerceApplicationBrandLocalServiceImpl 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.
addCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrand - the commerce application brandpublic CommerceApplicationBrand addCommerceApplicationBrand(long userId, java.lang.String name, boolean logo, byte[] logoBytes) throws com.liferay.portal.kernel.exception.PortalException
addCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceApplicationBrand createCommerceApplicationBrand(long commerceApplicationBrandId)
createCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrandId - the primary key for the new commerce application brandpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceApplicationBrandLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceApplicationBrand deleteCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceApplicationBrandLocalServiceImpl 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.
deleteCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrand - the commerce application brandPortalExceptionpublic CommerceApplicationBrand deleteCommerceApplicationBrand(long commerceApplicationBrandId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceApplicationBrandLocalServiceImpl 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.
deleteCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrandId - the primary key of the commerce application brandPortalException - if a commerce application brand with the primary key could not be foundpublic void deleteCommerceApplicationBrands(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceApplicationBrands in interface CommerceApplicationBrandLocalServicecom.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 CommerceApplicationBrandLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceApplicationBrandLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceApplicationBrandLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceApplicationBrandLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceApplicationBrandLocalServicedynamicQuery - 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.application.model.impl.CommerceApplicationBrandModelImpl.
dynamicQuery in interface CommerceApplicationBrandLocalServicedynamicQuery - 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.application.model.impl.CommerceApplicationBrandModelImpl.
dynamicQuery in interface CommerceApplicationBrandLocalServicedynamicQuery - 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 CommerceApplicationBrandLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceApplicationBrandLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceApplicationBrand fetchCommerceApplicationBrand(long commerceApplicationBrandId)
fetchCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceApplicationBrandLocalServicepublic CommerceApplicationBrand getCommerceApplicationBrand(long commerceApplicationBrandId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrandId - the primary key of the commerce application brandPortalException - if a commerce application brand with the primary key could not be foundpublic java.util.List<CommerceApplicationBrand> getCommerceApplicationBrands(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.application.model.impl.CommerceApplicationBrandModelImpl.
getCommerceApplicationBrands in interface CommerceApplicationBrandLocalServicestart - the lower bound of the range of commerce application brandsend - the upper bound of the range of commerce application brands (not inclusive)public int getCommerceApplicationBrandsCount()
getCommerceApplicationBrandsCount in interface CommerceApplicationBrandLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceApplicationBrandLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceApplicationBrandLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceApplicationBrandLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceApplicationBrand updateCommerceApplicationBrand(CommerceApplicationBrand commerceApplicationBrand)
Important: Inspect CommerceApplicationBrandLocalServiceImpl 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.
updateCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecommerceApplicationBrand - the commerce application brandpublic CommerceApplicationBrand updateCommerceApplicationBrand(long commerceApplicationBrandId, java.lang.String name, boolean logo, byte[] logoBytes) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceApplicationBrand in interface CommerceApplicationBrandLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic CommerceApplicationBrandLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceApplicationBrandLocalService>public void setWrappedService(CommerceApplicationBrandLocalService commerceApplicationBrandLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceApplicationBrandLocalService>