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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 CommerceAccountModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>public boolean getActive()
getActive in interface CommerceAccountModelpublic com.liferay.portal.kernel.model.Group getCommerceAccountGroup()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroup in interface CommerceAccountcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceAccountGroupId()
throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountGroupId in interface CommerceAccountcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceAccountId()
getCommerceAccountId in interface CommerceAccountModelpublic java.util.List<CommerceAccountOrganizationRel> getCommerceAccountOrganizationRels()
getCommerceAccountOrganizationRels in interface CommerceAccountpublic java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels()
getCommerceAccountUserRels in interface CommerceAccountpublic long getCompanyId()
getCompanyId in interface CommerceAccountModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceAccountModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getDefaultBillingAddressId()
getDefaultBillingAddressId in interface CommerceAccountModelpublic long getDefaultShippingAddressId()
getDefaultShippingAddressId in interface CommerceAccountModelpublic java.util.Date getDisplayDate()
getDisplayDate in interface CommerceAccountModelpublic java.lang.String getEmail()
getEmail in interface CommerceAccountModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceAccountgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAccount>public java.util.Date getExpirationDate()
getExpirationDate in interface CommerceAccountModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommerceAccountModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CommerceAccountModelpublic long getLogoId()
getLogoId in interface CommerceAccountModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceAccountModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getName()
getName in interface CommerceAccountModelpublic CommerceAccount getParentCommerceAccount() throws com.liferay.portal.kernel.exception.PortalException
getParentCommerceAccount in interface CommerceAccountcom.liferay.portal.kernel.exception.PortalExceptionpublic long getParentCommerceAccountId()
getParentCommerceAccountId in interface CommerceAccountModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceAccountModelpublic int getStatus()
getStatus in interface CommerceAccountModelgetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelpublic long getStatusByUserId()
getStatusByUserId in interface CommerceAccountModelgetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserName()
getStatusByUserName in interface CommerceAccountModelgetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface CommerceAccountModelgetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.util.Date getStatusDate()
getStatusDate in interface CommerceAccountModelgetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelpublic java.lang.String getTaxId()
getTaxId in interface CommerceAccountModelpublic int getType()
getType in interface CommerceAccountModelpublic long getUserId()
getUserId in interface CommerceAccountModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceAccountModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceAccountModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean isActive()
true if this commerce account is active.isActive in interface CommerceAccountModeltrue if this commerce account is active; false otherwisepublic boolean isApproved()
true if this commerce account is approved.isApproved in interface CommerceAccountModelisApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is approved; false otherwisepublic boolean isBusinessAccount()
isBusinessAccount in interface CommerceAccountpublic boolean isDenied()
true if this commerce account is denied.isDenied in interface CommerceAccountModelisDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is denied; false otherwisepublic boolean isDraft()
true if this commerce account is a draft.isDraft in interface CommerceAccountModelisDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is a draft; false otherwisepublic boolean isExpired()
true if this commerce account is expired.isExpired in interface CommerceAccountModelisExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is expired; false otherwisepublic boolean isGuestAccount()
isGuestAccount in interface CommerceAccountpublic boolean isInactive()
true if this commerce account is inactive.isInactive in interface CommerceAccountModelisInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is inactive; false otherwisepublic boolean isIncomplete()
true if this commerce account is incomplete.isIncomplete in interface CommerceAccountModelisIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is incomplete; false otherwisepublic boolean isPending()
true if this commerce account is pending.isPending in interface CommerceAccountModelisPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is pending; false otherwisepublic boolean isPersonalAccount()
isPersonalAccount in interface CommerceAccountpublic boolean isRoot()
isRoot in interface CommerceAccountpublic boolean isScheduled()
true if this commerce account is scheduled.isScheduled in interface CommerceAccountModelisScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this commerce account is scheduled; false otherwisepublic void setActive(boolean active)
setActive in interface CommerceAccountModelactive - the active of this commerce accountpublic void setCommerceAccountId(long commerceAccountId)
setCommerceAccountId in interface CommerceAccountModelcommerceAccountId - the commerce account ID of this commerce accountpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceAccountModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce accountpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceAccountModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce accountpublic void setDefaultBillingAddressId(long defaultBillingAddressId)
setDefaultBillingAddressId in interface CommerceAccountModeldefaultBillingAddressId - the default billing address ID of this commerce accountpublic void setDefaultShippingAddressId(long defaultShippingAddressId)
setDefaultShippingAddressId in interface CommerceAccountModeldefaultShippingAddressId - the default shipping address ID of this commerce accountpublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate in interface CommerceAccountModeldisplayDate - the display date of this commerce accountpublic void setEmail(java.lang.String email)
setEmail in interface CommerceAccountModelemail - the email of this commerce accountpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface CommerceAccountModelexpirationDate - the expiration date of this commerce accountpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceAccountModelexternalReferenceCode - the external reference code of this commerce accountpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CommerceAccountModellastPublishDate - the last publish date of this commerce accountpublic void setLogoId(long logoId)
setLogoId in interface CommerceAccountModellogoId - the logo ID of this commerce accountpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceAccountModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce accountpublic void setName(java.lang.String name)
setName in interface CommerceAccountModelname - the name of this commerce accountpublic void setParentCommerceAccountId(long parentCommerceAccountId)
setParentCommerceAccountId in interface CommerceAccountModelparentCommerceAccountId - the parent commerce account ID of this commerce accountpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceAccountModelprimaryKey - the primary key of this commerce accountpublic void setStatus(int status)
setStatus in interface CommerceAccountModelsetStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this commerce accountpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface CommerceAccountModelsetStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this commerce accountpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface CommerceAccountModelsetStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this commerce accountpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface CommerceAccountModelsetStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this commerce accountpublic void setStatusDate(java.util.Date statusDate)
setStatusDate in interface CommerceAccountModelsetStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this commerce accountpublic void setTaxId(java.lang.String taxId)
setTaxId in interface CommerceAccountModeltaxId - the tax ID of this commerce accountpublic void setType(int type)
setType in interface CommerceAccountModeltype - the type of this commerce accountpublic void setUserId(long userId)
setUserId in interface CommerceAccountModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce accountpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceAccountModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce accountpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceAccountModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce accountpublic java.lang.String toXmlString()
toXmlString in interface CommerceAccountModelprotected CommerceAccountWrapper wrap(CommerceAccount commerceAccount)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAccount>