@ProviderType public interface CommerceAccountModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAccount>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.WorkflowedModel
This interface and its corresponding implementation com.liferay.commerce.account.model.impl.CommerceAccountModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.account.model.impl.CommerceAccountImpl
.
CommerceAccount
Modifier and Type | Method and Description |
---|---|
CommerceAccount |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this commerce account.
|
long |
getCommerceAccountId()
Returns the commerce account ID of this commerce account.
|
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.
|
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.Date |
getModifiedDate()
Returns the modified date of this commerce account.
|
java.lang.String |
getName()
Returns the name of this commerce account.
|
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 |
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 |
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 |
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 |
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.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce account@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this commerce accountlong getCommerceAccountId()
void setCommerceAccountId(long commerceAccountId)
commerceAccountId
- the commerce account ID of this commerce accountlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
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 accountlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce accountjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce account@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce accountjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce accountjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce accountlong getParentCommerceAccountId()
void setParentCommerceAccountId(long parentCommerceAccountId)
parentCommerceAccountId
- the parent commerce account ID of this commerce account@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this commerce accountlong getLogoId()
void setLogoId(long logoId)
logoId
- the logo ID of this commerce account@AutoEscape java.lang.String getEmail()
void setEmail(java.lang.String email)
email
- the email of this commerce account@AutoEscape java.lang.String getTaxId()
void setTaxId(java.lang.String taxId)
taxId
- the tax ID of this commerce accountint getType()
void setType(int type)
type
- the type of this commerce accountboolean getActive()
boolean isActive()
true
if this commerce account is active.true
if this commerce account is active; false
otherwisevoid setActive(boolean active)
active
- the active of this commerce accountjava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate
- the display date of this commerce accountlong getDefaultBillingAddressId()
void setDefaultBillingAddressId(long defaultBillingAddressId)
defaultBillingAddressId
- the default billing address ID of this commerce accountlong getDefaultShippingAddressId()
void setDefaultShippingAddressId(long defaultShippingAddressId)
defaultShippingAddressId
- the default shipping address ID of this commerce accountjava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration date of this commerce accountjava.util.Date getLastPublishDate()
void setLastPublishDate(java.util.Date lastPublishDate)
lastPublishDate
- the last publish date of this commerce accountint getStatus()
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatus(int status)
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this commerce accountlong getStatusByUserId()
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this commerce accountjava.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this commerce account@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this commerce accountjava.util.Date getStatusDate()
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this commerce accountboolean isApproved()
true
if this commerce account is approved.isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is approved; false
otherwiseboolean isDenied()
true
if this commerce account is denied.isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is denied; false
otherwiseboolean isDraft()
true
if this commerce account is a draft.isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is a draft; false
otherwiseboolean isExpired()
true
if this commerce account is expired.isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is expired; false
otherwiseboolean isInactive()
true
if this commerce account is inactive.isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is inactive; false
otherwiseboolean isIncomplete()
true
if this commerce account is incomplete.isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is incomplete; false
otherwiseboolean isPending()
true
if this commerce account is pending.isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is pending; false
otherwiseboolean isScheduled()
true
if this commerce account is scheduled.isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this commerce account is scheduled; false
otherwiseCommerceAccount cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAccount>
default java.lang.String toXmlString()