public class CommerceOrderNoteWrapper extends java.lang.Object implements CommerceOrderNote, com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderNote>
This class is a wrapper for CommerceOrderNote.
CommerceOrderNote,
Serialized FormCOMMERCE_ORDER_NOTE_ID_ACCESSOR| Constructor and Description |
|---|
CommerceOrderNoteWrapper(CommerceOrderNote commerceOrderNote) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceOrderNote commerceOrderNote) |
boolean |
equals(java.lang.Object obj) |
long |
getCommerceOrderId()
Returns the commerce order ID of this commerce order note.
|
long |
getCommerceOrderNoteId()
Returns the commerce order note ID of this commerce order note.
|
long |
getCompanyId()
Returns the company ID of this commerce order note.
|
java.lang.String |
getContent()
Returns the content of this commerce order note.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce order note.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce order note.
|
long |
getGroupId()
Returns the group ID of this commerce order note.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce order note.
|
long |
getPrimaryKey()
Returns the primary key of this commerce order note.
|
java.io.Serializable |
getPrimaryKeyObj() |
boolean |
getRestricted()
Returns the restricted of this commerce order note.
|
com.liferay.portal.kernel.model.User |
getUser() |
long |
getUserId()
Returns the user ID of this commerce order note.
|
java.lang.String |
getUserName()
Returns the user name of this commerce order note.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce order note.
|
CommerceOrderNote |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isRestricted()
Returns
true if this commerce order note is restricted. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCommerceOrderId(long commerceOrderId)
Sets the commerce order ID of this commerce order note.
|
void |
setCommerceOrderNoteId(long commerceOrderNoteId)
Sets the commerce order note ID of this commerce order note.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce order note.
|
void |
setContent(java.lang.String content)
Sets the content of this commerce order note.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce order note.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce order note.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce order note.
|
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 order note.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce order note.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRestricted(boolean restricted)
Sets whether this commerce order note is restricted.
|
void |
setUserId(long userId)
Sets the user ID of this commerce order note.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce order note.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce order note.
|
com.liferay.portal.kernel.model.CacheModel<CommerceOrderNote> |
toCacheModel() |
CommerceOrderNote |
toEscapedModel() |
java.lang.String |
toString() |
CommerceOrderNote |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceOrderNoteWrapper(CommerceOrderNote commerceOrderNote)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public java.lang.Object clone()
clone in interface CommerceOrderNoteModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>clone in class java.lang.Objectpublic int compareTo(CommerceOrderNote commerceOrderNote)
compareTo in interface CommerceOrderNoteModelcompareTo in interface java.lang.Comparable<CommerceOrderNote>public long getCommerceOrderId()
getCommerceOrderId in interface CommerceOrderNoteModelpublic long getCommerceOrderNoteId()
getCommerceOrderNoteId in interface CommerceOrderNoteModelpublic long getCompanyId()
getCompanyId in interface CommerceOrderNoteModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.lang.String getContent()
getContent in interface CommerceOrderNoteModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceOrderNoteModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceOrderNoteModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommerceOrderNoteModelpublic long getGroupId()
getGroupId in interface CommerceOrderNoteModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceOrderNoteModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceOrderNoteModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceOrderNoteModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic boolean getRestricted()
getRestricted in interface CommerceOrderNoteModelpublic com.liferay.portal.kernel.model.User getUser()
getUser in interface CommerceOrderNotepublic long getUserId()
getUserId in interface CommerceOrderNoteModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceOrderNoteModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceOrderNoteModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommerceOrderNoteModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceOrderNoteModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public boolean isEscapedModel()
isEscapedModel in interface CommerceOrderNoteModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public boolean isNew()
isNew in interface CommerceOrderNoteModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public boolean isRestricted()
true if this commerce order note is restricted.isRestricted in interface CommerceOrderNoteModeltrue if this commerce order note is restricted; false otherwisepublic void persist()
CommerceOrderNote interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceOrderNoteModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setCommerceOrderId(long commerceOrderId)
setCommerceOrderId in interface CommerceOrderNoteModelcommerceOrderId - the commerce order ID of this commerce order notepublic void setCommerceOrderNoteId(long commerceOrderNoteId)
setCommerceOrderNoteId in interface CommerceOrderNoteModelcommerceOrderNoteId - the commerce order note ID of this commerce order notepublic void setCompanyId(long companyId)
setCompanyId in interface CommerceOrderNoteModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce order notepublic void setContent(java.lang.String content)
setContent in interface CommerceOrderNoteModelcontent - the content of this commerce order notepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceOrderNoteModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce order notepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceOrderNoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceOrderNoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceOrderNoteModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceOrderNoteModelexternalReferenceCode - the external reference code of this commerce order notepublic void setGroupId(long groupId)
setGroupId in interface CommerceOrderNoteModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce order notepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceOrderNoteModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce order notepublic void setNew(boolean n)
setNew in interface CommerceOrderNoteModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceOrderNoteModelprimaryKey - the primary key of this commerce order notepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceOrderNoteModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setRestricted(boolean restricted)
setRestricted in interface CommerceOrderNoteModelrestricted - the restricted of this commerce order notepublic void setUserId(long userId)
setUserId in interface CommerceOrderNoteModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce order notepublic void setUserName(java.lang.String userName)
setUserName in interface CommerceOrderNoteModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce order notepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceOrderNoteModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce order notepublic com.liferay.portal.kernel.model.CacheModel<CommerceOrderNote> toCacheModel()
toCacheModel in interface CommerceOrderNoteModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public CommerceOrderNote toEscapedModel()
toEscapedModel in interface CommerceOrderNoteModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public java.lang.String toString()
toString in interface CommerceOrderNoteModeltoString in class java.lang.Objectpublic CommerceOrderNote toUnescapedModel()
toUnescapedModel in interface CommerceOrderNoteModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public java.lang.String toXmlString()
toXmlString in interface CommerceOrderNoteModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommerceOrderNote getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderNote>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>