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