@ProviderType public class MDRRuleGroupInstanceWrapper extends java.lang.Object implements MDRRuleGroupInstance, ModelWrapper<MDRRuleGroupInstance>
This class is a wrapper for MDRRuleGroupInstance.
MDRRuleGroupInstance,
Serialized Form| Constructor and Description |
|---|
MDRRuleGroupInstanceWrapper(MDRRuleGroupInstance mdrRuleGroupInstance) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(MDRRuleGroupInstance mdrRuleGroupInstance) |
boolean |
equals(java.lang.Object obj) |
java.util.List<MDRAction> |
getActions() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this m d r rule group instance.
|
long |
getClassNameId()
Returns the class name ID of this m d r rule group instance.
|
long |
getClassPK()
Returns the class p k of this m d r rule group instance.
|
long |
getCompanyId()
Returns the company ID of this m d r rule group instance.
|
java.util.Date |
getCreateDate()
Returns the create date of this m d r rule group instance.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this m d r rule group instance.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this m d r rule group 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 m d r rule group instance.
|
long |
getPrimaryKey()
Returns the primary key of this m d r rule group instance.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getPriority()
Returns the priority of this m d r rule group instance.
|
MDRRuleGroup |
getRuleGroup() |
long |
getRuleGroupId()
Returns the rule group ID of this m d r rule group instance.
|
long |
getRuleGroupInstanceId()
Returns the rule group instance ID of this m d r rule group instance.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this m d r rule group instance.
|
java.lang.String |
getUserName()
Returns the user name of this m d r rule group instance.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this m d r rule group instance.
|
java.lang.String |
getUuid()
Returns the uuid of this m d r rule group instance.
|
MDRRuleGroupInstance |
getWrappedMDRRuleGroupInstance()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
MDRRuleGroupInstance |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this m d r rule group instance.
|
void |
setClassPK(long classPK)
Sets the class p k of this m d r rule group instance.
|
void |
setCompanyId(long companyId)
Sets the company ID of this m d r rule group instance.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this m d r rule group instance.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this m d r rule group instance.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this m d r rule group 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 m d r rule group instance.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this m d r rule group instance.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(int priority)
Sets the priority of this m d r rule group instance.
|
void |
setRuleGroupId(long ruleGroupId)
Sets the rule group ID of this m d r rule group instance.
|
void |
setRuleGroupInstanceId(long ruleGroupInstanceId)
Sets the rule group instance ID of this m d r rule group instance.
|
void |
setUserId(long userId)
Sets the user ID of this m d r rule group instance.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this m d r rule group instance.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this m d r rule group instance.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this m d r rule group instance.
|
CacheModel<MDRRuleGroupInstance> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
MDRRuleGroupInstance |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
MDRRuleGroupInstance |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public MDRRuleGroupInstanceWrapper(MDRRuleGroupInstance mdrRuleGroupInstance)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<MDRRuleGroupInstance>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<MDRRuleGroupInstance>public java.lang.Object clone()
BaseModelclone in interface BaseModel<MDRRuleGroupInstance>clone in interface StagedModelclone in interface MDRRuleGroupInstanceModelclone in class java.lang.Objectpublic int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
compareTo in interface MDRRuleGroupInstanceModelcompareTo in interface java.lang.Comparable<MDRRuleGroupInstance>public java.util.List<MDRAction> getActions()
getActions in interface MDRRuleGroupInstancepublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface MDRRuleGroupInstanceModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface MDRRuleGroupInstanceModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface MDRRuleGroupInstanceModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface MDRRuleGroupInstanceModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface MDRRuleGroupInstanceModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<MDRRuleGroupInstance>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MDRRuleGroupInstanceModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface MDRRuleGroupInstanceModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface StagedModelgetLastPublishDate in interface MDRRuleGroupInstanceModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface MDRRuleGroupInstanceModelpublic long getPrimaryKey()
getPrimaryKey in interface MDRRuleGroupInstanceModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<MDRRuleGroupInstance>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface MDRRuleGroupInstanceModelpublic int getPriority()
getPriority in interface MDRRuleGroupInstanceModelpublic MDRRuleGroup getRuleGroup() throws PortalException
getRuleGroup in interface MDRRuleGroupInstancePortalExceptionpublic long getRuleGroupId()
getRuleGroupId in interface MDRRuleGroupInstanceModelpublic long getRuleGroupInstanceId()
getRuleGroupInstanceId in interface MDRRuleGroupInstanceModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface MDRRuleGroupInstanceModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface MDRRuleGroupInstanceModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface MDRRuleGroupInstanceModelpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface MDRRuleGroupInstanceModelpublic int hashCode()
hashCode in interface MDRRuleGroupInstanceModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<MDRRuleGroupInstance>isCachedModel in interface MDRRuleGroupInstanceModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<MDRRuleGroupInstance>isEscapedModel in interface MDRRuleGroupInstanceModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<MDRRuleGroupInstance>isNew in interface MDRRuleGroupInstanceModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<MDRRuleGroupInstance>setCachedModel in interface MDRRuleGroupInstanceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(java.lang.String className)
setClassName in interface MDRRuleGroupInstanceModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface MDRRuleGroupInstanceModelclassNameId - the class name ID of this m d r rule group instancepublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface MDRRuleGroupInstanceModelclassPK - the class p k of this m d r rule group instancepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface MDRRuleGroupInstanceModelcompanyId - the company ID of this m d r rule group instancepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface MDRRuleGroupInstanceModelcreateDate - the create date of this m d r rule group instancepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<MDRRuleGroupInstance>setExpandoBridgeAttributes in interface MDRRuleGroupInstanceModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<MDRRuleGroupInstance>setExpandoBridgeAttributes in interface MDRRuleGroupInstanceModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<MDRRuleGroupInstance>setExpandoBridgeAttributes in interface MDRRuleGroupInstanceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface MDRRuleGroupInstanceModelgroupId - the group ID of this m d r rule group instancepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedModelsetLastPublishDate in interface MDRRuleGroupInstanceModellastPublishDate - the last publish date of this m d r rule group instancepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface MDRRuleGroupInstanceModelmodifiedDate - the modified date of this m d r rule group instancepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<MDRRuleGroupInstance>setNew in interface MDRRuleGroupInstanceModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MDRRuleGroupInstanceModelprimaryKey - the primary key of this m d r rule group instancepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<MDRRuleGroupInstance>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface MDRRuleGroupInstanceModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(int priority)
setPriority in interface MDRRuleGroupInstanceModelpriority - the priority of this m d r rule group instancepublic void setRuleGroupId(long ruleGroupId)
setRuleGroupId in interface MDRRuleGroupInstanceModelruleGroupId - the rule group ID of this m d r rule group instancepublic void setRuleGroupInstanceId(long ruleGroupInstanceId)
setRuleGroupInstanceId in interface MDRRuleGroupInstanceModelruleGroupInstanceId - the rule group instance ID of this m d r rule group instancepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface MDRRuleGroupInstanceModeluserId - the user ID of this m d r rule group instancepublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface MDRRuleGroupInstanceModeluserName - the user name of this m d r rule group instancepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface MDRRuleGroupInstanceModeluserUuid - the user uuid of this m d r rule group instancepublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface MDRRuleGroupInstanceModeluuid - the uuid of this m d r rule group instancepublic CacheModel<MDRRuleGroupInstance> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<MDRRuleGroupInstance>toCacheModel in interface MDRRuleGroupInstanceModelpublic MDRRuleGroupInstance toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<MDRRuleGroupInstance>toEscapedModel in interface MDRRuleGroupInstanceModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface MDRRuleGroupInstanceModeltoString in class java.lang.Objectpublic MDRRuleGroupInstance toUnescapedModel()
toUnescapedModel in interface BaseModel<MDRRuleGroupInstance>toUnescapedModel in interface MDRRuleGroupInstanceModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<MDRRuleGroupInstance>toXmlString in interface MDRRuleGroupInstanceModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel@Deprecated public MDRRuleGroupInstance getWrappedMDRRuleGroupInstance()
getWrappedModel()public MDRRuleGroupInstance getWrappedModel()
getWrappedModel in interface ModelWrapper<MDRRuleGroupInstance>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<MDRRuleGroupInstance>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<MDRRuleGroupInstance>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<MDRRuleGroupInstance>