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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount addCommerceAccount(CommerceAccount commerceAccount)
addCommerceAccount
in interface CommerceAccountLocalService
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 CommerceAccountLocalService
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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount createCommerceAccount(long commerceAccountId)
createCommerceAccount
in interface CommerceAccountLocalService
public CommerceAccount deleteCommerceAccount(CommerceAccount commerceAccount) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount deleteCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommerceAccounts(long companyId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccounts
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteLogo(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
deleteLogo
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommerceAccountLocalService
public CommerceAccount fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode
in interface CommerceAccountLocalService
public CommerceAccount fetchCommerceAccount(long commerceAccountId)
fetchCommerceAccount
in interface CommerceAccountLocalService
public CommerceAccount fetchCommerceAccountByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAccountByReferenceCode
in interface CommerceAccountLocalService
public CommerceAccount getCommerceAccount(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount getCommerceAccount(long userId, long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Group getCommerceAccountGroup(long commerceAccountId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroup
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<CommerceAccount> getCommerceAccounts(int start, int end)
getCommerceAccounts
in interface CommerceAccountLocalService
public int getCommerceAccountsCount()
getCommerceAccountsCount
in interface CommerceAccountLocalService
public CommerceAccount getGuestCommerceAccount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
getGuestCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceAccountLocalService
public CommerceAccount getPersonalCommerceAccount(long userId) throws com.liferay.portal.kernel.exception.PortalException
getPersonalCommerceAccount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public int getUserCommerceAccountsCount(long userId, java.lang.Long parentCommerceAccountId, int commerceSiteType, java.lang.String keywords) throws com.liferay.portal.kernel.exception.PortalException
getUserCommerceAccountsCount
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount setActive(long commerceAccountId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount updateCommerceAccount(CommerceAccount commerceAccount)
updateCommerceAccount
in interface CommerceAccountLocalService
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 CommerceAccountLocalService
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 CommerceAccountLocalService
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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount updateDefaultBillingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultBillingAddress
in interface CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceAccount updateDefaultShippingAddress(long commerceAccountId, long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultShippingAddress
in interface CommerceAccountLocalService
com.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 CommerceAccountLocalService
com.liferay.portal.kernel.exception.PortalException
public 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>