public class CommerceAccountGroupLocalServiceWrapper extends java.lang.Object implements CommerceAccountGroupLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountGroupLocalService>
CommerceAccountGroupLocalService.CommerceAccountGroupLocalService| Constructor and Description |
|---|
CommerceAccountGroupLocalServiceWrapper(CommerceAccountGroupLocalService commerceAccountGroupLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAccountGroup |
addCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup)
Adds the commerce account group to the database.
|
CommerceAccountGroup |
addCommerceAccountGroup(long companyId,
java.lang.String name,
int type,
boolean system,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkGuestCommerceAccountGroup(long companyId) |
CommerceAccountGroup |
createCommerceAccountGroup(long commerceAccountGroupId)
Creates a new commerce account group with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceAccountGroup |
deleteCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup)
Deletes the commerce account group from the database.
|
CommerceAccountGroup |
deleteCommerceAccountGroup(long commerceAccountGroupId)
Deletes the commerce account group with the primary key from the database.
|
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.
|
CommerceAccountGroup |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceAccountGroup |
fetchCommerceAccountGroup(long commerceAccountGroupId) |
CommerceAccountGroup |
fetchCommerceAccountGroupByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group with the matching external reference code and company.
|
CommerceAccountGroup |
fetchCommerceAccountGroupByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
fetchCommerceAccountGroupByExternalReferenceCode(long, String) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceAccountGroup |
getCommerceAccountGroup(long commerceAccountGroupId)
Returns the commerce account group with the primary key.
|
CommerceAccountGroup |
getCommerceAccountGroupByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group with the matching external reference code and company.
|
java.util.List<CommerceAccountGroup> |
getCommerceAccountGroups(int start,
int end)
Returns a range of all the commerce account groups.
|
java.util.List<CommerceAccountGroup> |
getCommerceAccountGroups(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) |
java.util.List<CommerceAccountGroup> |
getCommerceAccountGroupsByCommerceAccountId(long commerceAccountId) |
int |
getCommerceAccountGroupsCount()
Returns the number of commerce account groups.
|
int |
getCommerceAccountGroupsCount(long companyId) |
java.util.List<java.lang.Long> |
getCommerceAccountUserIdsFromAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end) |
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) |
CommerceAccountGroupLocalService |
getWrappedService() |
java.util.List<CommerceAccountGroup> |
searchCommerceAccountGroups(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommerceAccountsGroupCount(long companyId,
java.lang.String keywords) |
void |
setWrappedService(CommerceAccountGroupLocalService commerceAccountGroupLocalService) |
CommerceAccountGroup |
updateCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup)
Updates the commerce account group in the database or adds it if it does not yet exist.
|
CommerceAccountGroup |
updateCommerceAccountGroup(long commerceAccountGroupId,
java.lang.String name,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceAccountGroupLocalServiceWrapper(CommerceAccountGroupLocalService commerceAccountGroupLocalService)
public CommerceAccountGroup addCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup)
Important: Inspect CommerceAccountGroupLocalServiceImpl 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.
addCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroup - the commerce account grouppublic CommerceAccountGroup addCommerceAccountGroup(long companyId, java.lang.String name, int type, boolean system, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAccountGroup in interface CommerceAccountGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void checkGuestCommerceAccountGroup(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
checkGuestCommerceAccountGroup in interface CommerceAccountGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountGroup createCommerceAccountGroup(long commerceAccountGroupId)
createCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroupId - the primary key for the new commerce account grouppublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceAccountGroupLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceAccountGroup deleteCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAccountGroupLocalServiceImpl 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.
deleteCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroup - the commerce account groupPortalExceptionpublic CommerceAccountGroup deleteCommerceAccountGroup(long commerceAccountGroupId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAccountGroupLocalServiceImpl 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.
deleteCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroupId - the primary key of the commerce account groupPortalException - if a commerce account group with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceAccountGroupLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceAccountGroupLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceAccountGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceAccountGroupLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceAccountGroupLocalServicedynamicQuery - 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.account.model.impl.CommerceAccountGroupModelImpl.
dynamicQuery in interface CommerceAccountGroupLocalServicedynamicQuery - 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.account.model.impl.CommerceAccountGroupModelImpl.
dynamicQuery in interface CommerceAccountGroupLocalServicedynamicQuery - 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 CommerceAccountGroupLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceAccountGroupLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceAccountGroup fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceAccountGroupLocalServicepublic CommerceAccountGroup fetchCommerceAccountGroup(long commerceAccountGroupId)
fetchCommerceAccountGroup in interface CommerceAccountGroupLocalServicepublic CommerceAccountGroup fetchCommerceAccountGroupByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAccountGroupByExternalReferenceCode in interface CommerceAccountGroupLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce account group's external reference codenull if a matching commerce account group could not be found@Deprecated public CommerceAccountGroup fetchCommerceAccountGroupByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAccountGroupByExternalReferenceCode(long, String)fetchCommerceAccountGroupByReferenceCode in interface CommerceAccountGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceAccountGroupLocalServicepublic CommerceAccountGroup getCommerceAccountGroup(long commerceAccountGroupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroupId - the primary key of the commerce account groupPortalException - if a commerce account group with the primary key could not be foundpublic CommerceAccountGroup getCommerceAccountGroupByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroupByExternalReferenceCode in interface CommerceAccountGroupLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce account group's external reference codePortalException - if a matching commerce account group could not be foundpublic java.util.List<CommerceAccountGroup> getCommerceAccountGroups(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.account.model.impl.CommerceAccountGroupModelImpl.
getCommerceAccountGroups in interface CommerceAccountGroupLocalServicestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)public java.util.List<CommerceAccountGroup> getCommerceAccountGroups(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
getCommerceAccountGroups in interface CommerceAccountGroupLocalServicepublic java.util.List<CommerceAccountGroup> getCommerceAccountGroupsByCommerceAccountId(long commerceAccountId)
getCommerceAccountGroupsByCommerceAccountId in interface CommerceAccountGroupLocalServicepublic int getCommerceAccountGroupsCount()
getCommerceAccountGroupsCount in interface CommerceAccountGroupLocalServicepublic int getCommerceAccountGroupsCount(long companyId)
getCommerceAccountGroupsCount in interface CommerceAccountGroupLocalServicepublic java.util.List<java.lang.Long> getCommerceAccountUserIdsFromAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end)
getCommerceAccountUserIdsFromAccountGroupIds in interface CommerceAccountGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceAccountGroupLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAccountGroupLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceAccountGroupLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceAccountGroup> searchCommerceAccountGroups(long companyId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAccountGroups in interface CommerceAccountGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommerceAccountsGroupCount(long companyId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAccountsGroupCount in interface CommerceAccountGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountGroup updateCommerceAccountGroup(CommerceAccountGroup commerceAccountGroup)
Important: Inspect CommerceAccountGroupLocalServiceImpl 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.
updateCommerceAccountGroup in interface CommerceAccountGroupLocalServicecommerceAccountGroup - the commerce account grouppublic CommerceAccountGroup updateCommerceAccountGroup(long commerceAccountGroupId, java.lang.String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAccountGroup in interface CommerceAccountGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountGroupLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountGroupLocalService>public void setWrappedService(CommerceAccountGroupLocalService commerceAccountGroupLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountGroupLocalService>