public class CommerceAccountLocalServiceWrapper extends java.lang.Object implements CommerceAccountLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountLocalService>
CommerceAccountLocalService.CommerceAccountLocalService| Constructor and Description |
|---|
CommerceAccountLocalServiceWrapper() |
CommerceAccountLocalServiceWrapper(CommerceAccountLocalService commerceAccountLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAccount |
addBusinessCommerceAccount(java.lang.String name,
long parentCommerceAccountId,
java.lang.String email,
java.lang.String taxId,
boolean active,
java.lang.String externalReferenceCode,
long[] userIds,
java.lang.String[] emailAddresses,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
addCommerceAccount(CommerceAccount commerceAccount) |
CommerceAccount |
addCommerceAccount(java.lang.String name,
long parentCommerceAccountId,
java.lang.String email,
java.lang.String taxId,
int type,
boolean active,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
addOrUpdateCommerceAccount(java.lang.String name,
long parentCommerceAccountId,
boolean logo,
byte[] logoBytes,
java.lang.String email,
java.lang.String taxId,
int type,
boolean active,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
addPersonalCommerceAccount(long userId,
java.lang.String taxId,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
createCommerceAccount(long commerceAccountId) |
CommerceAccount |
deleteCommerceAccount(CommerceAccount commerceAccount) |
CommerceAccount |
deleteCommerceAccount(long commerceAccountId) |
void |
deleteCommerceAccounts(long companyId) |
void |
deleteLogo(long commerceAccountId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
CommerceAccount |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceAccount |
fetchCommerceAccount(long commerceAccountId) |
CommerceAccount |
fetchCommerceAccountByReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceAccount |
getCommerceAccount(long commerceAccountId) |
CommerceAccount |
getCommerceAccount(long userId,
long commerceAccountId) |
com.liferay.portal.kernel.model.Group |
getCommerceAccountGroup(long commerceAccountId) |
java.util.List<CommerceAccount> |
getCommerceAccounts(int start,
int end) |
int |
getCommerceAccountsCount() |
CommerceAccount |
getGuestCommerceAccount(long companyId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceAccount |
getPersonalCommerceAccount(long userId) |
java.util.List<CommerceAccount> |
getUserCommerceAccounts(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
java.lang.Boolean active,
int start,
int end) |
java.util.List<CommerceAccount> |
getUserCommerceAccounts(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
int start,
int end) |
int |
getUserCommerceAccountsCount(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords) |
int |
getUserCommerceAccountsCount(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
java.lang.Boolean active) |
CommerceAccountLocalService |
getWrappedService() |
java.util.List<CommerceAccount> |
search(long companyId,
long parentCommerceAccountId,
java.lang.String keywords,
int type,
java.lang.Boolean active,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommerceAccountsCount(long companyId,
long parentCommerceAccountId,
java.lang.String keywords,
int type,
java.lang.Boolean active) |
CommerceAccount |
setActive(long commerceAccountId,
boolean active) |
void |
setWrappedService(CommerceAccountLocalService commerceAccountLocalService) |
CommerceAccount |
updateCommerceAccount(CommerceAccount commerceAccount) |
CommerceAccount |
updateCommerceAccount(long commerceAccountId,
java.lang.String name,
boolean logo,
byte[] logoBytes,
java.lang.String email,
java.lang.String taxId,
boolean active,
long defaultBillingAddressId,
long defaultShippingAddressId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
updateCommerceAccount(long commerceAccountId,
java.lang.String name,
boolean logo,
byte[] logoBytes,
java.lang.String email,
java.lang.String taxId,
boolean active,
long defaultBillingAddressId,
long defaultShippingAddressId,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccount |
updateCommerceAccount(long commerceAccountId,
java.lang.String name,
boolean logo,
byte[] logoBytes,
java.lang.String email,
java.lang.String taxId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), pass Default Billing/Shipping Ids
|
CommerceAccount |
updateDefaultBillingAddress(long commerceAccountId,
long commerceAddressId) |
CommerceAccount |
updateDefaultShippingAddress(long commerceAccountId,
long commerceAddressId) |
CommerceAccount |
updateStatus(long userId,
long commerceAccountId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
Deprecated.
As of Cavanaugh (7.4.x)
|
public CommerceAccountLocalServiceWrapper()
public CommerceAccountLocalServiceWrapper(CommerceAccountLocalService commerceAccountLocalService)
public CommerceAccount addBusinessCommerceAccount(java.lang.String name, long parentCommerceAccountId, java.lang.String email, java.lang.String taxId, boolean active, java.lang.String externalReferenceCode, long[] userIds, java.lang.String[] emailAddresses, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addBusinessCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount addCommerceAccount(CommerceAccount commerceAccount)
addCommerceAccount in interface CommerceAccountLocalServicepublic CommerceAccount addCommerceAccount(java.lang.String name, long parentCommerceAccountId, java.lang.String email, java.lang.String taxId, int type, boolean active, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount addOrUpdateCommerceAccount(java.lang.String name, long parentCommerceAccountId, boolean logo, byte[] logoBytes, java.lang.String email, java.lang.String taxId, int type, boolean active, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount addPersonalCommerceAccount(long userId, java.lang.String taxId, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addPersonalCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount createCommerceAccount(long commerceAccountId)
createCommerceAccount in interface CommerceAccountLocalServicepublic CommerceAccount deleteCommerceAccount(CommerceAccount commerceAccount) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount deleteCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceAccounts(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccounts in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteLogo(long commerceAccountId)
throws com.liferay.portal.kernel.exception.PortalException
deleteLogo in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceAccountLocalServicepublic CommerceAccount fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceAccountLocalServicepublic CommerceAccount fetchCommerceAccount(long commerceAccountId)
fetchCommerceAccount in interface CommerceAccountLocalServicepublic CommerceAccount fetchCommerceAccountByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAccountByReferenceCode in interface CommerceAccountLocalServicepublic CommerceAccount getCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount getCommerceAccount(long userId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.Group getCommerceAccountGroup(long commerceAccountId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroup in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAccount> getCommerceAccounts(int start, int end)
getCommerceAccounts in interface CommerceAccountLocalServicepublic int getCommerceAccountsCount()
getCommerceAccountsCount in interface CommerceAccountLocalServicepublic CommerceAccount getGuestCommerceAccount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getGuestCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAccountLocalServicepublic CommerceAccount getPersonalCommerceAccount(long userId) throws com.liferay.portal.kernel.exception.PortalException
getPersonalCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAccount> getUserCommerceAccounts(long userId, java.lang.Long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords, java.lang.Boolean active, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccounts in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAccount> getUserCommerceAccounts(long userId, java.lang.Long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccounts in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getUserCommerceAccountsCount(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccountsCount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getUserCommerceAccountsCount(long userId,
java.lang.Long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
java.lang.Boolean active)
throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccountsCount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAccount> search(long companyId, long parentCommerceAccountId, java.lang.String keywords, int type, java.lang.Boolean active, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
search in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommerceAccountsCount(long companyId,
long parentCommerceAccountId,
java.lang.String keywords,
int type,
java.lang.Boolean active)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAccountsCount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount setActive(long commerceAccountId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount updateCommerceAccount(CommerceAccount commerceAccount)
updateCommerceAccount in interface CommerceAccountLocalServicepublic CommerceAccount updateCommerceAccount(long commerceAccountId, java.lang.String name, boolean logo, byte[] logoBytes, java.lang.String email, java.lang.String taxId, boolean active, long defaultBillingAddressId, long defaultShippingAddressId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount updateCommerceAccount(long commerceAccountId, java.lang.String name, boolean logo, byte[] logoBytes, java.lang.String email, java.lang.String taxId, boolean active, long defaultBillingAddressId, long defaultShippingAddressId, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceAccount updateCommerceAccount(long commerceAccountId, java.lang.String name, boolean logo, byte[] logoBytes, java.lang.String email, java.lang.String taxId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAccount in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount updateDefaultBillingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultBillingAddress in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccount updateDefaultShippingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultShippingAddress in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceAccount updateStatus(long userId, long commerceAccountId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus in interface CommerceAccountLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountLocalService>public void setWrappedService(CommerceAccountLocalService commerceAccountLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountLocalService>