Package com.liferay.commerce.model
Interface CommerceOrderNoteModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceOrderNote>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
CommerceOrderNote
- All Known Implementing Classes:
CommerceOrderNoteWrapper
@ProviderType
public interface CommerceOrderNoteModel
extends com.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CommerceOrderNote service. Represents a row in the "CommerceOrderNote" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceOrderNoteModelImpl 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.model.impl.CommerceOrderNoteImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the commerce order ID of this commerce order note.longReturns the commerce order note ID of this commerce order note.longReturns 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.longReturns the group ID of this commerce order note.Returns the modified date of this commerce order note.longReturns the mvcc version of this commerce order note.longReturns the primary key of this commerce order note.booleanReturns the restricted of this commerce order note.longReturns 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.booleanReturnstrueif this commerce order note is restricted.voidsetCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order note.voidsetCommerceOrderNoteId(long commerceOrderNoteId) Sets the commerce order note ID of this commerce order note.voidsetCompanyId(long companyId) Sets the company ID of this commerce order note.voidsetContent(String content) Sets the content of this commerce order note.voidsetCreateDate(Date createDate) Sets the create date of this commerce order note.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce order note.voidsetGroupId(long groupId) Sets the group ID of this commerce order note.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce order note.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order note.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce order note.voidsetRestricted(boolean restricted) Sets whether this commerce order note is restricted.voidsetUserId(long userId) Sets the user ID of this commerce order note.voidsetUserName(String userName) Sets the user name of this commerce order note.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce order note.voidSets the uuid of this commerce order note.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this commerce order note.- Returns:
- the primary key of this commerce order note
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce order note.- Parameters:
primaryKey- the primary key of this commerce order note
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce order note.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce order note
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce order note.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce order note
-
getUuid
Returns the uuid of this commerce order note.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce order note
-
setUuid
Sets the uuid of this commerce order note.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce order note
-
getExternalReferenceCode
Returns the external reference code of this commerce order note.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce order note
-
setExternalReferenceCode
Sets the external reference code of this commerce order note.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce order note
-
getCommerceOrderNoteId
long getCommerceOrderNoteId()Returns the commerce order note ID of this commerce order note.- Returns:
- the commerce order note ID of this commerce order note
-
setCommerceOrderNoteId
void setCommerceOrderNoteId(long commerceOrderNoteId) Sets the commerce order note ID of this commerce order note.- Parameters:
commerceOrderNoteId- the commerce order note ID of this commerce order note
-
getGroupId
long getGroupId()Returns the group ID of this commerce order note.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this commerce order note
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this commerce order note.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this commerce order note
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce order note.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce order note
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce order note.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce order note
-
getUserId
long getUserId()Returns the user ID of this commerce order note.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce order note
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce order note.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce order note
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce order note.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce order note
-
setUserUuid
Sets the user uuid of this commerce order note.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce order note
-
getUserName
Returns the user name of this commerce order note.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce order note
-
setUserName
Sets the user name of this commerce order note.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce order note
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce order note.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce order note
-
setCreateDate
Sets the create date of this commerce order note.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce order note
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce order note.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce order note
-
setModifiedDate
Sets the modified date of this commerce order note.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce order note
-
getCommerceOrderId
long getCommerceOrderId()Returns the commerce order ID of this commerce order note.- Returns:
- the commerce order ID of this commerce order note
-
setCommerceOrderId
void setCommerceOrderId(long commerceOrderId) Sets the commerce order ID of this commerce order note.- Parameters:
commerceOrderId- the commerce order ID of this commerce order note
-
getContent
Returns the content of this commerce order note.- Returns:
- the content of this commerce order note
-
setContent
Sets the content of this commerce order note.- Parameters:
content- the content of this commerce order note
-
getRestricted
boolean getRestricted()Returns the restricted of this commerce order note.- Returns:
- the restricted of this commerce order note
-
isRestricted
boolean isRestricted()Returnstrueif this commerce order note is restricted.- Returns:
trueif this commerce order note is restricted;falseotherwise
-
setRestricted
void setRestricted(boolean restricted) Sets whether this commerce order note is restricted.- Parameters:
restricted- the restricted of this commerce order note
-
cloneWithOriginalValues
CommerceOrderNote cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceOrderNote>
-
toXmlString
-