public class CommerceAccountServiceWrapper extends java.lang.Object implements CommerceAccountService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountService>
CommerceAccountService
.CommerceAccountService
Constructor and Description |
---|
CommerceAccountServiceWrapper() |
CommerceAccountServiceWrapper(CommerceAccountService commerceAccountService) |
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(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) |
void |
deleteCommerceAccount(long commerceAccountId) |
CommerceAccount |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceAccount |
fetchCommerceAccount(long commerceAccountId) |
CommerceAccount |
getCommerceAccount(long commerceAccountId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CommerceAccount |
getPersonalCommerceAccount(long userId) |
java.util.List<CommerceAccount> |
getUserCommerceAccounts(long userId,
long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
java.lang.Boolean active,
int start,
int end) |
java.util.List<CommerceAccount> |
getUserCommerceAccounts(long userId,
long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
int start,
int end) |
int |
getUserCommerceAccountsCount(long userId,
long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords) |
int |
getUserCommerceAccountsCount(long userId,
long parentCommerceAccountId,
int commerceSiteType,
java.lang.String keywords,
java.lang.Boolean active) |
CommerceAccountService |
getWrappedService() |
CommerceAccount |
setActive(long commerceAccountId,
boolean active) |
void |
setWrappedService(CommerceAccountService commerceAccountService) |
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) |
public CommerceAccountServiceWrapper()
public CommerceAccountServiceWrapper(CommerceAccountService commerceAccountService)
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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchByExternalReferenceCode
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount fetchCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceAccount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount getCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceAccountService
public CommerceAccount getPersonalCommerceAccount(long userId) throws com.liferay.portal.kernel.exception.PortalException
getPersonalCommerceAccount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceAccount> getUserCommerceAccounts(long userId, 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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceAccount> getUserCommerceAccounts(long userId, long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccounts
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public int getUserCommerceAccountsCount(long userId, long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccountsCount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public int getUserCommerceAccountsCount(long userId, long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords, java.lang.Boolean active) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccountsCount
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount setActive(long commerceAccountId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountService
com.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 CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount updateDefaultBillingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultBillingAddress
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount updateDefaultShippingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultShippingAddress
in interface CommerceAccountService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccountService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountService>
public void setWrappedService(CommerceAccountService commerceAccountService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountService>