public class CommerceSubscriptionEntryWrapper extends java.lang.Object implements CommerceSubscriptionEntry, com.liferay.portal.kernel.model.ModelWrapper<CommerceSubscriptionEntry>
This class is a wrapper for CommerceSubscriptionEntry.
CommerceSubscriptionEntry,
Serialized FormCOMMERCE_SUBSCRIPTION_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
CommerceSubscriptionEntryWrapper(CommerceSubscriptionEntry commerceSubscriptionEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceSubscriptionEntry commerceSubscriptionEntry) |
boolean |
equals(java.lang.Object obj) |
CommerceOrderItem |
fetchCommerceOrderItem() |
com.liferay.commerce.product.model.CPDefinition |
fetchCPDefinition() |
com.liferay.commerce.product.model.CPInstance |
fetchCPInstance() |
long |
getCommerceOrderItemId()
Returns the commerce order item ID of this commerce subscription entry.
|
long |
getCommerceSubscriptionEntryId()
Returns the commerce subscription entry ID of this commerce subscription entry.
|
long |
getCompanyId()
Returns the company ID of this commerce subscription entry.
|
long |
getCPDefinitionId() |
long |
getCPInstanceId() |
java.lang.String |
getCPInstanceUuid()
Returns the cp instance uuid of this commerce subscription entry.
|
long |
getCProductId()
Returns the c product ID of this commerce subscription entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce subscription entry.
|
long |
getCurrentCycle()
Returns the current cycle of this commerce subscription entry.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this commerce subscription entry.
|
java.util.Date |
getLastIterationDate()
Returns the last iteration date of this commerce subscription entry.
|
long |
getMaxSubscriptionCycles()
Returns the max subscription cycles of this commerce subscription entry.
|
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 subscription entry.
|
java.util.Date |
getNextIterationDate()
Returns the next iteration date of this commerce subscription entry.
|
long |
getPrimaryKey()
Returns the primary key of this commerce subscription entry.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.util.Date |
getStartDate()
Returns the start date of this commerce subscription entry.
|
int |
getSubscriptionLength()
Returns the subscription length of this commerce subscription entry.
|
int |
getSubscriptionStatus()
Returns the subscription status of this commerce subscription entry.
|
java.lang.String |
getSubscriptionType()
Returns the subscription type of this commerce subscription entry.
|
java.lang.String |
getSubscriptionTypeSettings()
Returns the subscription type settings of this commerce subscription entry.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getSubscriptionTypeSettingsProperties() |
long |
getUserId()
Returns the user ID of this commerce subscription entry.
|
java.lang.String |
getUserName()
Returns the user name of this commerce subscription entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce subscription entry.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce subscription entry.
|
CommerceSubscriptionEntry |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCommerceOrderItemId(long commerceOrderItemId)
Sets the commerce order item ID of this commerce subscription entry.
|
void |
setCommerceSubscriptionEntryId(long commerceSubscriptionEntryId)
Sets the commerce subscription entry ID of this commerce subscription entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce subscription entry.
|
void |
setCPInstanceUuid(java.lang.String CPInstanceUuid)
Sets the cp instance uuid of this commerce subscription entry.
|
void |
setCProductId(long CProductId)
Sets the c product ID of this commerce subscription entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce subscription entry.
|
void |
setCurrentCycle(long currentCycle)
Sets the current cycle of this commerce subscription entry.
|
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 |
setGroupId(long groupId)
Sets the group ID of this commerce subscription entry.
|
void |
setLastIterationDate(java.util.Date lastIterationDate)
Sets the last iteration date of this commerce subscription entry.
|
void |
setMaxSubscriptionCycles(long maxSubscriptionCycles)
Sets the max subscription cycles of this commerce subscription entry.
|
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 subscription entry.
|
void |
setNew(boolean n) |
void |
setNextIterationDate(java.util.Date nextIterationDate)
Sets the next iteration date of this commerce subscription entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce subscription entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStartDate(java.util.Date startDate)
Sets the start date of this commerce subscription entry.
|
void |
setSubscriptionLength(int subscriptionLength)
Sets the subscription length of this commerce subscription entry.
|
void |
setSubscriptionStatus(int subscriptionStatus)
Sets the subscription status of this commerce subscription entry.
|
void |
setSubscriptionType(java.lang.String subscriptionType)
Sets the subscription type of this commerce subscription entry.
|
void |
setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
Sets the subscription type settings of this commerce subscription entry.
|
void |
setSubscriptionTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsProperties) |
void |
setUserId(long userId)
Sets the user ID of this commerce subscription entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce subscription entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce subscription entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce subscription entry.
|
com.liferay.portal.kernel.model.CacheModel<CommerceSubscriptionEntry> |
toCacheModel() |
CommerceSubscriptionEntry |
toEscapedModel() |
java.lang.String |
toString() |
CommerceSubscriptionEntry |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceSubscriptionEntryWrapper(CommerceSubscriptionEntry commerceSubscriptionEntry)
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<CommerceSubscriptionEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public java.lang.Object clone()
clone in interface CommerceSubscriptionEntryModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(CommerceSubscriptionEntry commerceSubscriptionEntry)
compareTo in interface CommerceSubscriptionEntryModelcompareTo in interface java.lang.Comparable<CommerceSubscriptionEntry>public CommerceOrderItem fetchCommerceOrderItem() throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceOrderItem in interface CommerceSubscriptionEntrycom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.product.model.CPDefinition fetchCPDefinition()
throws com.liferay.portal.kernel.exception.PortalException
fetchCPDefinition in interface CommerceSubscriptionEntrycom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.commerce.product.model.CPInstance fetchCPInstance()
fetchCPInstance in interface CommerceSubscriptionEntrypublic long getCommerceOrderItemId()
getCommerceOrderItemId in interface CommerceSubscriptionEntryModelpublic long getCommerceSubscriptionEntryId()
getCommerceSubscriptionEntryId in interface CommerceSubscriptionEntryModelpublic long getCompanyId()
getCompanyId in interface CommerceSubscriptionEntryModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getCPDefinitionId()
getCPDefinitionId in interface CommerceSubscriptionEntrypublic long getCPInstanceId()
getCPInstanceId in interface CommerceSubscriptionEntrypublic java.lang.String getCPInstanceUuid()
getCPInstanceUuid in interface CommerceSubscriptionEntryModelpublic long getCProductId()
getCProductId in interface CommerceSubscriptionEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceSubscriptionEntryModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCurrentCycle()
getCurrentCycle in interface CommerceSubscriptionEntryModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceSubscriptionEntryModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface CommerceSubscriptionEntryModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastIterationDate()
getLastIterationDate in interface CommerceSubscriptionEntryModelpublic long getMaxSubscriptionCycles()
getMaxSubscriptionCycles in interface CommerceSubscriptionEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceSubscriptionEntryModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getNextIterationDate()
getNextIterationDate in interface CommerceSubscriptionEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceSubscriptionEntryModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceSubscriptionEntryModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Date getStartDate()
getStartDate in interface CommerceSubscriptionEntryModelpublic int getSubscriptionLength()
getSubscriptionLength in interface CommerceSubscriptionEntryModelpublic int getSubscriptionStatus()
getSubscriptionStatus in interface CommerceSubscriptionEntryModelpublic java.lang.String getSubscriptionType()
getSubscriptionType in interface CommerceSubscriptionEntryModelpublic java.lang.String getSubscriptionTypeSettings()
getSubscriptionTypeSettings in interface CommerceSubscriptionEntryModelpublic com.liferay.portal.kernel.util.UnicodeProperties getSubscriptionTypeSettingsProperties()
getSubscriptionTypeSettingsProperties in interface CommerceSubscriptionEntrypublic long getUserId()
getUserId in interface CommerceSubscriptionEntryModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceSubscriptionEntryModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceSubscriptionEntryModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommerceSubscriptionEntryModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic int hashCode()
hashCode in interface CommerceSubscriptionEntryModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceSubscriptionEntryModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public boolean isEscapedModel()
isEscapedModel in interface CommerceSubscriptionEntryModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public boolean isNew()
isNew in interface CommerceSubscriptionEntryModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void persist()
CommerceSubscriptionEntry interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceSubscriptionEntryModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void setCommerceOrderItemId(long commerceOrderItemId)
setCommerceOrderItemId in interface CommerceSubscriptionEntryModelcommerceOrderItemId - the commerce order item ID of this commerce subscription entrypublic void setCommerceSubscriptionEntryId(long commerceSubscriptionEntryId)
setCommerceSubscriptionEntryId in interface CommerceSubscriptionEntryModelcommerceSubscriptionEntryId - the commerce subscription entry ID of this commerce subscription entrypublic void setCompanyId(long companyId)
setCompanyId in interface CommerceSubscriptionEntryModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce subscription entrypublic void setCPInstanceUuid(java.lang.String CPInstanceUuid)
setCPInstanceUuid in interface CommerceSubscriptionEntryModelCPInstanceUuid - the cp instance uuid of this commerce subscription entrypublic void setCProductId(long CProductId)
setCProductId in interface CommerceSubscriptionEntryModelCProductId - the c product ID of this commerce subscription entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceSubscriptionEntryModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce subscription entrypublic void setCurrentCycle(long currentCycle)
setCurrentCycle in interface CommerceSubscriptionEntryModelcurrentCycle - the current cycle of this commerce subscription entrypublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceSubscriptionEntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceSubscriptionEntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceSubscriptionEntryModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void setGroupId(long groupId)
setGroupId in interface CommerceSubscriptionEntryModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce subscription entrypublic void setLastIterationDate(java.util.Date lastIterationDate)
setLastIterationDate in interface CommerceSubscriptionEntryModellastIterationDate - the last iteration date of this commerce subscription entrypublic void setMaxSubscriptionCycles(long maxSubscriptionCycles)
setMaxSubscriptionCycles in interface CommerceSubscriptionEntryModelmaxSubscriptionCycles - the max subscription cycles of this commerce subscription entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceSubscriptionEntryModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce subscription entrypublic void setNew(boolean n)
setNew in interface CommerceSubscriptionEntryModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void setNextIterationDate(java.util.Date nextIterationDate)
setNextIterationDate in interface CommerceSubscriptionEntryModelnextIterationDate - the next iteration date of this commerce subscription entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceSubscriptionEntryModelprimaryKey - the primary key of this commerce subscription entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceSubscriptionEntryModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setStartDate(java.util.Date startDate)
setStartDate in interface CommerceSubscriptionEntryModelstartDate - the start date of this commerce subscription entrypublic void setSubscriptionLength(int subscriptionLength)
setSubscriptionLength in interface CommerceSubscriptionEntryModelsubscriptionLength - the subscription length of this commerce subscription entrypublic void setSubscriptionStatus(int subscriptionStatus)
setSubscriptionStatus in interface CommerceSubscriptionEntryModelsubscriptionStatus - the subscription status of this commerce subscription entrypublic void setSubscriptionType(java.lang.String subscriptionType)
setSubscriptionType in interface CommerceSubscriptionEntryModelsubscriptionType - the subscription type of this commerce subscription entrypublic void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
setSubscriptionTypeSettings in interface CommerceSubscriptionEntryModelsubscriptionTypeSettings - the subscription type settings of this commerce subscription entrypublic void setSubscriptionTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsProperties)
setSubscriptionTypeSettingsProperties in interface CommerceSubscriptionEntrypublic void setUserId(long userId)
setUserId in interface CommerceSubscriptionEntryModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce subscription entrypublic void setUserName(java.lang.String userName)
setUserName in interface CommerceSubscriptionEntryModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce subscription entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceSubscriptionEntryModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce subscription entrypublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceSubscriptionEntryModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce subscription entrypublic com.liferay.portal.kernel.model.CacheModel<CommerceSubscriptionEntry> toCacheModel()
toCacheModel in interface CommerceSubscriptionEntryModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public CommerceSubscriptionEntry toEscapedModel()
toEscapedModel in interface CommerceSubscriptionEntryModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public java.lang.String toString()
toString in interface CommerceSubscriptionEntryModeltoString in class java.lang.Objectpublic CommerceSubscriptionEntry toUnescapedModel()
toUnescapedModel in interface CommerceSubscriptionEntryModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public java.lang.String toXmlString()
toXmlString in interface CommerceSubscriptionEntryModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic CommerceSubscriptionEntry getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceSubscriptionEntry>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceSubscriptionEntry>