Package com.liferay.commerce.model
Class CommerceOrderNoteWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderNote>
com.liferay.commerce.model.CommerceOrderNoteWrapper
- All Implemented Interfaces:
CommerceOrderNote
,CommerceOrderNoteModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceOrderNote>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<CommerceOrderNote>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.model.CommerceOrderNote
COMMERCE_ORDER_NOTE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce order ID of this commerce order note.long
Returns the commerce order note ID of this commerce order note.long
Returns the company ID of this commerce order note.Returns the content of this commerce order note.Returns the create date of this commerce order note.Returns the external reference code of this commerce order note.long
Returns the group ID of this commerce order note.Returns the modified date of this commerce order note.long
Returns the mvcc version of this commerce order note.long
Returns the primary key of this commerce order note.boolean
Returns the restricted of this commerce order note.com.liferay.exportimport.kernel.lar.StagedModelType
com.liferay.portal.kernel.model.User
getUser()
long
Returns the user ID of this commerce order note.Returns the user name of this commerce order note.Returns the user uuid of this commerce order note.getUuid()
Returns the uuid of this commerce order note.boolean
Returnstrue
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
(String content) Sets the content of this commerce order note.void
setCreateDate
(Date createDate) Sets the create date of this commerce order note.void
setExternalReferenceCode
(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
(Map<String, Object> attributes) void
setModifiedDate
(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
(String userName) Sets the user name of this commerce order note.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce order note.void
Sets the uuid of this commerce order note.protected CommerceOrderNoteWrapper
wrap
(CommerceOrderNote commerceOrderNote) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceOrderNoteWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceOrderNoteModel
-
getCommerceOrderId
public long getCommerceOrderId()Returns the commerce order ID of this commerce order note.- Specified by:
getCommerceOrderId
in interfaceCommerceOrderNoteModel
- Returns:
- the commerce order ID of this commerce order note
-
getCommerceOrderNoteId
public long getCommerceOrderNoteId()Returns the commerce order note ID of this commerce order note.- Specified by:
getCommerceOrderNoteId
in interfaceCommerceOrderNoteModel
- Returns:
- the commerce order note ID of this commerce order note
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce order note.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceOrderNoteModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce order note
-
getContent
Returns the content of this commerce order note.- Specified by:
getContent
in interfaceCommerceOrderNoteModel
- Returns:
- the content of this commerce order note
-
getCreateDate
Returns the create date of this commerce order note.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceOrderNoteModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce order note
-
getExternalReferenceCode
Returns the external reference code of this commerce order note.- Specified by:
getExternalReferenceCode
in interfaceCommerceOrderNoteModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce order note
-
getGroupId
public long getGroupId()Returns the group ID of this commerce order note.- Specified by:
getGroupId
in interfaceCommerceOrderNoteModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce order note
-
getModifiedDate
Returns the modified date of this commerce order note.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceOrderNoteModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce order note
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce order note.- Specified by:
getMvccVersion
in interfaceCommerceOrderNoteModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce order note
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce order note.- Specified by:
getPrimaryKey
in interfaceCommerceOrderNoteModel
- Returns:
- the primary key of this commerce order note
-
getRestricted
public boolean getRestricted()Returns the restricted of this commerce order note.- Specified by:
getRestricted
in interfaceCommerceOrderNoteModel
- Returns:
- the restricted of this commerce order note
-
getUser
public com.liferay.portal.kernel.model.User getUser()- Specified by:
getUser
in interfaceCommerceOrderNote
-
getUserId
public long getUserId()Returns the user ID of this commerce order note.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceOrderNoteModel
- Returns:
- the user ID of this commerce order note
-
getUserName
Returns the user name of this commerce order note.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceOrderNoteModel
- Returns:
- the user name of this commerce order note
-
getUserUuid
Returns the user uuid of this commerce order note.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceOrderNoteModel
- Returns:
- the user uuid of this commerce order note
-
getUuid
Returns the uuid of this commerce order note.- Specified by:
getUuid
in interfaceCommerceOrderNoteModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce order note
-
isRestricted
public boolean isRestricted()Returnstrue
if this commerce order note is restricted.- Specified by:
isRestricted
in interfaceCommerceOrderNoteModel
- Returns:
true
if this commerce order note is restricted;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceOrderId
public void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order note.- Specified by:
setCommerceOrderId
in interfaceCommerceOrderNoteModel
- Parameters:
commerceOrderId
- the commerce order ID of this commerce order note
-
setCommerceOrderNoteId
public void setCommerceOrderNoteId(long commerceOrderNoteId) Sets the commerce order note ID of this commerce order note.- Specified by:
setCommerceOrderNoteId
in interfaceCommerceOrderNoteModel
- Parameters:
commerceOrderNoteId
- the commerce order note ID of this commerce order note
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce order note.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceOrderNoteModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce order note
-
setContent
Sets the content of this commerce order note.- Specified by:
setContent
in interfaceCommerceOrderNoteModel
- Parameters:
content
- the content of this commerce order note
-
setCreateDate
Sets the create date of this commerce order note.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceOrderNoteModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce order note
-
setExternalReferenceCode
Sets the external reference code of this commerce order note.- Specified by:
setExternalReferenceCode
in interfaceCommerceOrderNoteModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce order note
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce order note.- Specified by:
setGroupId
in interfaceCommerceOrderNoteModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce order note
-
setModifiedDate
Sets the modified date of this commerce order note.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceOrderNoteModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce order note
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order note.- Specified by:
setMvccVersion
in interfaceCommerceOrderNoteModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce order note
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce order note.- Specified by:
setPrimaryKey
in interfaceCommerceOrderNoteModel
- Parameters:
primaryKey
- the primary key of this commerce order note
-
setRestricted
public void setRestricted(boolean restricted) Sets whether this commerce order note is restricted.- Specified by:
setRestricted
in interfaceCommerceOrderNoteModel
- Parameters:
restricted
- the restricted of this commerce order note
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce order note.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceOrderNoteModel
- Parameters:
userId
- the user ID of this commerce order note
-
setUserName
Sets the user name of this commerce order note.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceOrderNoteModel
- Parameters:
userName
- the user name of this commerce order note
-
setUserUuid
Sets the user uuid of this commerce order note.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceOrderNoteModel
- Parameters:
userUuid
- the user uuid of this commerce order note
-
setUuid
Sets the uuid of this commerce order note.- Specified by:
setUuid
in interfaceCommerceOrderNoteModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce order note
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceOrderNoteModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceOrderNote>
-