public class CommerceOrderNoteWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderNote> 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 |
---|---|
CommerceOrderNote |
cloneWithOriginalValues() |
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.
|
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.util.Date |
getModifiedDate()
Returns the modified date of this commerce order note.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce order note.
|
long |
getPrimaryKey()
Returns the primary key of this commerce order note.
|
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.
|
boolean |
isRestricted()
Returns
true if this commerce order note is restricted. |
void |
persist() |
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce order note.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce order note.
|
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.
|
protected CommerceOrderNoteWrapper |
wrap(CommerceOrderNote commerceOrderNote) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceOrderNoteWrapper(CommerceOrderNote commerceOrderNote)
public 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 CommerceOrderNote cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceOrderNoteModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
public long getCommerceOrderId()
getCommerceOrderId
in interface CommerceOrderNoteModel
public long getCommerceOrderNoteId()
getCommerceOrderNoteId
in interface CommerceOrderNoteModel
public long getCompanyId()
getCompanyId
in interface CommerceOrderNoteModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.lang.String getContent()
getContent
in interface CommerceOrderNoteModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceOrderNoteModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceOrderNoteModel
public long getGroupId()
getGroupId
in interface CommerceOrderNoteModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceOrderNoteModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceOrderNoteModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceOrderNoteModel
public boolean getRestricted()
getRestricted
in interface CommerceOrderNoteModel
public com.liferay.portal.kernel.model.User getUser()
getUser
in interface CommerceOrderNote
public long getUserId()
getUserId
in interface CommerceOrderNoteModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceOrderNoteModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceOrderNoteModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean isRestricted()
true
if this commerce order note is restricted.isRestricted
in interface CommerceOrderNoteModel
true
if this commerce order note is restricted; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCommerceOrderId(long commerceOrderId)
setCommerceOrderId
in interface CommerceOrderNoteModel
commerceOrderId
- the commerce order ID of this commerce order notepublic void setCommerceOrderNoteId(long commerceOrderNoteId)
setCommerceOrderNoteId
in interface CommerceOrderNoteModel
commerceOrderNoteId
- the commerce order note ID of this commerce order notepublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceOrderNoteModel
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 order notepublic void setContent(java.lang.String content)
setContent
in interface CommerceOrderNoteModel
content
- the content of this commerce order notepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceOrderNoteModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce order notepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceOrderNoteModel
externalReferenceCode
- the external reference code of this commerce order notepublic void setGroupId(long groupId)
setGroupId
in interface CommerceOrderNoteModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce order notepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceOrderNoteModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce order notepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceOrderNoteModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce order notepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceOrderNoteModel
primaryKey
- the primary key of this commerce order notepublic void setRestricted(boolean restricted)
setRestricted
in interface CommerceOrderNoteModel
restricted
- the restricted of this commerce order notepublic void setUserId(long userId)
setUserId
in interface CommerceOrderNoteModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce order notepublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceOrderNoteModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce order notepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceOrderNoteModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce order noteprotected CommerceOrderNoteWrapper wrap(CommerceOrderNote commerceOrderNote)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderNote>