@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.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public 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 RuleInstance toEscapedModel()
toEscapedModel
in interface RuleInstanceModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public RuleInstance toUnescapedModel()
toUnescapedModel
in interface RuleInstanceModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public boolean isCachedModel()
isCachedModel
in interface RuleInstanceModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public boolean isEscapedModel()
isEscapedModel
in interface RuleInstanceModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public boolean isNew()
isNew
in interface RuleInstanceModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface RuleInstanceModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public com.liferay.portal.kernel.model.CacheModel<RuleInstance> toCacheModel()
toCacheModel
in interface RuleInstanceModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public int compareTo(RuleInstance ruleInstance)
compareTo
in interface RuleInstanceModel
compareTo
in interface java.lang.Comparable<RuleInstance>
public int getDisplayOrder()
getDisplayOrder
in interface RuleInstanceModel
public int hashCode()
hashCode
in interface RuleInstanceModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface RuleInstanceModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Object clone()
clone
in interface RuleInstanceModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
public java.lang.String getRuleGuid()
getRuleGuid
in interface RuleInstance
public java.lang.String getRuleKey()
getRuleKey
in interface RuleInstanceModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface RuleInstanceModel
public java.lang.String getUserName()
getUserName
in interface RuleInstanceModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserSegmentName(java.util.Locale locale)
getUserSegmentName
in interface RuleInstance
public java.lang.String getUserUuid()
getUserUuid
in interface RuleInstanceModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface RuleInstanceModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String toString()
toString
in interface RuleInstanceModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface RuleInstanceModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public java.util.Date getCreateDate()
getCreateDate
in interface RuleInstanceModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface RuleInstanceModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Map<java.lang.String,java.lang.String> getValues()
getValues
in interface RuleInstance
public long getCompanyId()
getCompanyId
in interface RuleInstanceModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getGroupId()
getGroupId
in interface RuleInstanceModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getPrimaryKey()
getPrimaryKey
in interface RuleInstanceModel
public long getRuleInstanceId()
getRuleInstanceId
in interface RuleInstanceModel
public long getUserId()
getUserId
in interface RuleInstanceModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public long getUserSegmentId()
getUserSegmentId
in interface RuleInstanceModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface RuleInstanceModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public void setCompanyId(long companyId)
setCompanyId
in interface RuleInstanceModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this rule instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface RuleInstanceModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this rule instancepublic void setDisplayOrder(int displayOrder)
setDisplayOrder
in interface RuleInstanceModel
displayOrder
- the display order of this rule instancepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface RuleInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface RuleInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface RuleInstanceModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public void setGroupId(long groupId)
setGroupId
in interface RuleInstanceModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this rule instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface RuleInstanceModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this rule instancepublic void setNew(boolean n)
setNew
in interface RuleInstanceModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RuleInstanceModel
primaryKey
- the primary key of this rule instancepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface RuleInstanceModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<RuleInstance>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setRuleGuid(java.lang.String ruleGuid)
setRuleGuid
in interface RuleInstance
public void setRuleInstanceId(long ruleInstanceId)
setRuleInstanceId
in interface RuleInstanceModel
ruleInstanceId
- the rule instance ID of this rule instancepublic void setRuleKey(java.lang.String ruleKey)
setRuleKey
in interface RuleInstanceModel
ruleKey
- the rule key of this rule instancepublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface RuleInstanceModel
typeSettings
- the type settings of this rule instancepublic void setUserId(long userId)
setUserId
in interface RuleInstanceModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this rule instancepublic void setUserName(java.lang.String userName)
setUserName
in interface RuleInstanceModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this rule instancepublic void setUserSegmentId(long userSegmentId)
setUserSegmentId
in interface RuleInstanceModel
userSegmentId
- the user segment ID of this rule instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface RuleInstanceModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this rule instancepublic void setUuid(java.lang.String uuid)
setUuid
in interface RuleInstanceModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this rule instancepublic void setValues(java.util.Map<java.lang.String,java.lang.String> values)
setValues
in interface RuleInstance
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public 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>