@ProviderType public class RuleInstanceWrapper extends java.lang.Object implements RuleInstance, com.liferay.portal.kernel.model.ModelWrapper<RuleInstance>
This class is a wrapper for RuleInstance.
RuleInstance,
Serialized FormRULE_INSTANCE_ID_ACCESSOR| Constructor and Description |
|---|
RuleInstanceWrapper(RuleInstance ruleInstance) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(RuleInstance ruleInstance) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this rule instance.
|
java.util.Date |
getCreateDate()
Returns the create date of this rule instance.
|
int |
getDisplayOrder()
Returns the display order of this rule instance.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this rule instance.
|
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 rule instance.
|
long |
getPrimaryKey()
Returns the primary key of this rule instance.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getRuleGuid() |
long |
getRuleInstanceId()
Returns the rule instance ID of this rule instance.
|
java.lang.String |
getRuleKey()
Returns the rule key of this rule instance.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getTypeSettings()
Returns the type settings of this rule instance.
|
long |
getUserId()
Returns the user ID of this rule instance.
|
java.lang.String |
getUserName()
Returns the user name of this rule instance.
|
long |
getUserSegmentId()
Returns the user segment ID of this rule instance.
|
java.lang.String |
getUserSegmentName(java.util.Locale locale) |
java.lang.String |
getUserUuid()
Returns the user uuid of this rule instance.
|
java.lang.String |
getUuid()
Returns the uuid of this rule instance.
|
java.util.Map<java.lang.String,java.lang.String> |
getValues() |
RuleInstance |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this rule instance.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this rule instance.
|
void |
setDisplayOrder(int displayOrder)
Sets the display order of this rule instance.
|
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 rule instance.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this rule instance.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this rule instance.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRuleGuid(java.lang.String ruleGuid) |
void |
setRuleInstanceId(long ruleInstanceId)
Sets the rule instance ID of this rule instance.
|
void |
setRuleKey(java.lang.String ruleKey)
Sets the rule key of this rule instance.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this rule instance.
|
void |
setUserId(long userId)
Sets the user ID of this rule instance.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this rule instance.
|
void |
setUserSegmentId(long userSegmentId)
Sets the user segment ID of this rule instance.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this rule instance.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this rule instance.
|
void |
setValues(java.util.Map<java.lang.String,java.lang.String> values) |
com.liferay.portal.kernel.model.CacheModel<RuleInstance> |
toCacheModel() |
RuleInstance |
toEscapedModel() |
java.lang.String |
toString() |
RuleInstance |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public RuleInstanceWrapper(RuleInstance ruleInstance)
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<RuleInstance>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public java.lang.Object clone()
clone in interface RuleInstanceModelclone in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(RuleInstance ruleInstance)
compareTo in interface RuleInstanceModelcompareTo in interface java.lang.Comparable<RuleInstance>public long getCompanyId()
getCompanyId in interface RuleInstanceModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface RuleInstanceModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic int getDisplayOrder()
getDisplayOrder in interface RuleInstanceModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface RuleInstanceModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface RuleInstanceModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface RuleInstanceModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface RuleInstanceModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface RuleInstanceModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getRuleGuid()
getRuleGuid in interface RuleInstancepublic long getRuleInstanceId()
getRuleInstanceId in interface RuleInstanceModelpublic java.lang.String getRuleKey()
getRuleKey in interface RuleInstanceModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface RuleInstanceModelpublic long getUserId()
getUserId in interface RuleInstanceModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface RuleInstanceModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic long getUserSegmentId()
getUserSegmentId in interface RuleInstanceModelpublic java.lang.String getUserSegmentName(java.util.Locale locale)
getUserSegmentName in interface RuleInstancepublic java.lang.String getUserUuid()
getUserUuid in interface RuleInstanceModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface RuleInstanceModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Map<java.lang.String,java.lang.String> getValues()
getValues in interface RuleInstancepublic int hashCode()
hashCode in interface RuleInstanceModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface RuleInstanceModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public boolean isEscapedModel()
isEscapedModel in interface RuleInstanceModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public boolean isNew()
isNew in interface RuleInstanceModelisNew in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface RuleInstanceModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void setCompanyId(long companyId)
setCompanyId in interface RuleInstanceModelsetCompanyId 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 rule instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface RuleInstanceModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this rule instancepublic void setDisplayOrder(int displayOrder)
setDisplayOrder in interface RuleInstanceModeldisplayOrder - the display order of this rule instancepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface RuleInstanceModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface RuleInstanceModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface RuleInstanceModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void setGroupId(long groupId)
setGroupId in interface RuleInstanceModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this rule instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface RuleInstanceModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this rule instancepublic void setNew(boolean n)
setNew in interface RuleInstanceModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RuleInstanceModelprimaryKey - the primary key of this rule instancepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface RuleInstanceModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setRuleGuid(java.lang.String ruleGuid)
setRuleGuid in interface RuleInstancepublic void setRuleInstanceId(long ruleInstanceId)
setRuleInstanceId in interface RuleInstanceModelruleInstanceId - the rule instance ID of this rule instancepublic void setRuleKey(java.lang.String ruleKey)
setRuleKey in interface RuleInstanceModelruleKey - the rule key of this rule instancepublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface RuleInstanceModeltypeSettings - the type settings of this rule instancepublic void setUserId(long userId)
setUserId in interface RuleInstanceModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this rule instancepublic void setUserName(java.lang.String userName)
setUserName in interface RuleInstanceModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this rule instancepublic void setUserSegmentId(long userSegmentId)
setUserSegmentId in interface RuleInstanceModeluserSegmentId - the user segment ID of this rule instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface RuleInstanceModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this rule instancepublic void setUuid(java.lang.String uuid)
setUuid in interface RuleInstanceModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this rule instancepublic void setValues(java.util.Map<java.lang.String,java.lang.String> values)
setValues in interface RuleInstancepublic com.liferay.portal.kernel.model.CacheModel<RuleInstance> toCacheModel()
toCacheModel in interface RuleInstanceModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public RuleInstance toEscapedModel()
toEscapedModel in interface RuleInstanceModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public java.lang.String toString()
toString in interface RuleInstanceModeltoString in class java.lang.Objectpublic RuleInstance toUnescapedModel()
toUnescapedModel in interface RuleInstanceModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public java.lang.String toXmlString()
toXmlString in interface RuleInstanceModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>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 RuleInstance getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<RuleInstance>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>