public class CommerceAccountWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAccount> implements CommerceAccount, com.liferay.portal.kernel.model.ModelWrapper<CommerceAccount>
This class is a wrapper for CommerceAccount
.
CommerceAccount
,
Serialized FormCOMMERCE_ACCOUNT_ID_ACCESSOR, NAME_ACCESSOR
Constructor and Description |
---|
CommerceAccountWrapper(CommerceAccount commerceAccount) |
Modifier and Type | Method and Description |
---|---|
CommerceAccount |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this commerce account.
|
com.liferay.portal.kernel.model.Group |
getCommerceAccountGroup() |
long |
getCommerceAccountGroupId() |
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce account.
|
java.util.List<CommerceAccountOrganizationRel> |
getCommerceAccountOrganizationRels() |
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels() |
long |
getCompanyId()
Returns the company ID of this commerce account.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce account.
|
long |
getDefaultBillingAddressId()
Returns the default billing address ID of this commerce account.
|
long |
getDefaultShippingAddressId()
Returns the default shipping address ID of this commerce account.
|
java.util.Date |
getDisplayDate()
Returns the display date of this commerce account.
|
java.lang.String |
getEmail()
Returns the email of this commerce account.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpirationDate()
Returns the expiration date of this commerce account.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce account.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce account.
|
long |
getLogoId()
Returns the logo ID of this commerce account.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce account.
|
java.lang.String |
getName()
Returns the name of this commerce account.
|
CommerceAccount |
getParentCommerceAccount() |
long |
getParentCommerceAccountId()
Returns the parent commerce account ID of this commerce account.
|
long |
getPrimaryKey()
Returns the primary key of this commerce account.
|
int |
getStatus()
Returns the status of this commerce account.
|
long |
getStatusByUserId()
Returns the status by user ID of this commerce account.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this commerce account.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this commerce account.
|
java.util.Date |
getStatusDate()
Returns the status date of this commerce account.
|
java.lang.String |
getTaxId()
Returns the tax ID of this commerce account.
|
int |
getType()
Returns the type of this commerce account.
|
long |
getUserId()
Returns the user ID of this commerce account.
|
java.lang.String |
getUserName()
Returns the user name of this commerce account.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce account.
|
boolean |
isActive()
Returns
true if this commerce account is active. |
boolean |
isApproved()
Returns
true if this commerce account is approved. |
boolean |
isBusinessAccount() |
boolean |
isDenied()
Returns
true if this commerce account is denied. |
boolean |
isDraft()
Returns
true if this commerce account is a draft. |
boolean |
isExpired()
Returns
true if this commerce account is expired. |
boolean |
isGuestAccount() |
boolean |
isInactive()
Returns
true if this commerce account is inactive. |
boolean |
isIncomplete()
Returns
true if this commerce account is incomplete. |
boolean |
isPending()
Returns
true if this commerce account is pending. |
boolean |
isPersonalAccount() |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this commerce account is scheduled. |
void |
setActive(boolean active)
Sets whether this commerce account is active.
|
void |
setCommerceAccountId(long commerceAccountId)
Sets the commerce account ID of this commerce account.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce account.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce account.
|
void |
setDefaultBillingAddressId(long defaultBillingAddressId)
Sets the default billing address ID of this commerce account.
|
void |
setDefaultShippingAddressId(long defaultShippingAddressId)
Sets the default shipping address ID of this commerce account.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this commerce account.
|
void |
setEmail(java.lang.String email)
Sets the email of this commerce account.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this commerce account.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce account.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this commerce account.
|
void |
setLogoId(long logoId)
Sets the logo ID of this commerce account.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce account.
|
void |
setName(java.lang.String name)
Sets the name of this commerce account.
|
void |
setParentCommerceAccountId(long parentCommerceAccountId)
Sets the parent commerce account ID of this commerce account.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce account.
|
void |
setStatus(int status)
Sets the status of this commerce account.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this commerce account.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this commerce account.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this commerce account.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this commerce account.
|
void |
setTaxId(java.lang.String taxId)
Sets the tax ID of this commerce account.
|
void |
setType(int type)
Sets the type of this commerce account.
|
void |
setUserId(long userId)
Sets the user ID of this commerce account.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce account.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce account.
|
java.lang.String |
toXmlString() |
protected CommerceAccountWrapper |
wrap(CommerceAccount commerceAccount) |
clone, compareTo, equals, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public CommerceAccountWrapper(CommerceAccount commerceAccount)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>
public CommerceAccount cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceAccountModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>
public boolean getActive()
getActive
in interface CommerceAccountModel
public com.liferay.portal.kernel.model.Group getCommerceAccountGroup() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroup
in interface CommerceAccount
com.liferay.portal.kernel.exception.PortalException
public long getCommerceAccountGroupId() throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroupId
in interface CommerceAccount
com.liferay.portal.kernel.exception.PortalException
public long getCommerceAccountId()
getCommerceAccountId
in interface CommerceAccountModel
public java.util.List<CommerceAccountOrganizationRel> getCommerceAccountOrganizationRels()
getCommerceAccountOrganizationRels
in interface CommerceAccount
public java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels()
getCommerceAccountUserRels
in interface CommerceAccount
public long getCompanyId()
getCompanyId
in interface CommerceAccountModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceAccountModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getDefaultBillingAddressId()
getDefaultBillingAddressId
in interface CommerceAccountModel
public long getDefaultShippingAddressId()
getDefaultShippingAddressId
in interface CommerceAccountModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface CommerceAccountModel
public java.lang.String getEmail()
getEmail
in interface CommerceAccountModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface CommerceAccount
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAccount>
public java.util.Date getExpirationDate()
getExpirationDate
in interface CommerceAccountModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceAccountModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface CommerceAccountModel
public long getLogoId()
getLogoId
in interface CommerceAccountModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceAccountModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getName()
getName
in interface CommerceAccountModel
public CommerceAccount getParentCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getParentCommerceAccount
in interface CommerceAccount
com.liferay.portal.kernel.exception.PortalException
public long getParentCommerceAccountId()
getParentCommerceAccountId
in interface CommerceAccountModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceAccountModel
public int getStatus()
getStatus
in interface CommerceAccountModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface CommerceAccountModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface CommerceAccountModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface CommerceAccountModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface CommerceAccountModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getTaxId()
getTaxId
in interface CommerceAccountModel
public int getType()
getType
in interface CommerceAccountModel
public long getUserId()
getUserId
in interface CommerceAccountModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceAccountModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceAccountModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean isActive()
true
if this commerce account is active.isActive
in interface CommerceAccountModel
true
if this commerce account is active; false
otherwisepublic boolean isApproved()
true
if this commerce account is approved.isApproved
in interface CommerceAccountModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is approved; false
otherwisepublic boolean isBusinessAccount()
isBusinessAccount
in interface CommerceAccount
public boolean isDenied()
true
if this commerce account is denied.isDenied
in interface CommerceAccountModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is denied; false
otherwisepublic boolean isDraft()
true
if this commerce account is a draft.isDraft
in interface CommerceAccountModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is a draft; false
otherwisepublic boolean isExpired()
true
if this commerce account is expired.isExpired
in interface CommerceAccountModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is expired; false
otherwisepublic boolean isGuestAccount()
isGuestAccount
in interface CommerceAccount
public boolean isInactive()
true
if this commerce account is inactive.isInactive
in interface CommerceAccountModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is inactive; false
otherwisepublic boolean isIncomplete()
true
if this commerce account is incomplete.isIncomplete
in interface CommerceAccountModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is incomplete; false
otherwisepublic boolean isPending()
true
if this commerce account is pending.isPending
in interface CommerceAccountModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is pending; false
otherwisepublic boolean isPersonalAccount()
isPersonalAccount
in interface CommerceAccount
public boolean isRoot()
isRoot
in interface CommerceAccount
public boolean isScheduled()
true
if this commerce account is scheduled.isScheduled
in interface CommerceAccountModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is scheduled; false
otherwisepublic void setActive(boolean active)
setActive
in interface CommerceAccountModel
active
- the active of this commerce accountpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId
in interface CommerceAccountModel
commerceAccountId
- the commerce account ID of this commerce accountpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceAccountModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce accountpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceAccountModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce accountpublic void setDefaultBillingAddressId(long defaultBillingAddressId)
setDefaultBillingAddressId
in interface CommerceAccountModel
defaultBillingAddressId
- the default billing address ID of this commerce accountpublic void setDefaultShippingAddressId(long defaultShippingAddressId)
setDefaultShippingAddressId
in interface CommerceAccountModel
defaultShippingAddressId
- the default shipping address ID of this commerce accountpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface CommerceAccountModel
displayDate
- the display date of this commerce accountpublic void setEmail(java.lang.String email)
setEmail
in interface CommerceAccountModel
email
- the email of this commerce accountpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface CommerceAccountModel
expirationDate
- the expiration date of this commerce accountpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceAccountModel
externalReferenceCode
- the external reference code of this commerce accountpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface CommerceAccountModel
lastPublishDate
- the last publish date of this commerce accountpublic void setLogoId(long logoId)
setLogoId
in interface CommerceAccountModel
logoId
- the logo ID of this commerce accountpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceAccountModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce accountpublic void setName(java.lang.String name)
setName
in interface CommerceAccountModel
name
- the name of this commerce accountpublic void setParentCommerceAccountId(long parentCommerceAccountId)
setParentCommerceAccountId
in interface CommerceAccountModel
parentCommerceAccountId
- the parent commerce account ID of this commerce accountpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceAccountModel
primaryKey
- the primary key of this commerce accountpublic void setStatus(int status)
setStatus
in interface CommerceAccountModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce accountpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface CommerceAccountModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce accountpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface CommerceAccountModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce accountpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface CommerceAccountModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce accountpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface CommerceAccountModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce accountpublic void setTaxId(java.lang.String taxId)
setTaxId
in interface CommerceAccountModel
taxId
- the tax ID of this commerce accountpublic void setType(int type)
setType
in interface CommerceAccountModel
type
- the type of this commerce accountpublic void setUserId(long userId)
setUserId
in interface CommerceAccountModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce accountpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceAccountModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce accountpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceAccountModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce accountpublic java.lang.String toXmlString()
toXmlString
in interface CommerceAccountModel
protected CommerceAccountWrapper wrap(CommerceAccount commerceAccount)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAccount>