|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstanceWrapper
public class MDRRuleGroupInstanceWrapper
This class is a wrapper for MDRRuleGroupInstance.
MDRRuleGroupInstance,
Serialized Form| Constructor Summary | |
|---|---|
MDRRuleGroupInstanceWrapper(MDRRuleGroupInstance mdrRuleGroupInstance)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
|
boolean |
equals(Object obj)
|
List<MDRAction> |
getActions()
|
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. |
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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. |
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. |
String |
getUserName()
Returns the user name of this m d r rule group instance. |
String |
getUserUuid()
Returns the user uuid of this m d r rule group instance. |
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 |
isEscapedModel()
Returns true if this model instance is escaped. |
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(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(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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(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(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(String userName)
Sets the user name of this m d r rule group instance. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this m d r rule group instance. |
void |
setUuid(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. |
String |
toString()
|
MDRRuleGroupInstance |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MDRRuleGroupInstanceWrapper(MDRRuleGroupInstance mdrRuleGroupInstance)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<MDRRuleGroupInstance>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<MDRRuleGroupInstance>public long getPrimaryKey()
getPrimaryKey in interface MDRRuleGroupInstanceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MDRRuleGroupInstanceModelprimaryKey - the primary key of this m d r rule group instancepublic String getUuid()
getUuid in interface StagedModelgetUuid in interface MDRRuleGroupInstanceModelpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface MDRRuleGroupInstanceModeluuid - the uuid of this m d r rule group instancepublic long getRuleGroupInstanceId()
getRuleGroupInstanceId in interface MDRRuleGroupInstanceModelpublic void setRuleGroupInstanceId(long ruleGroupInstanceId)
setRuleGroupInstanceId in interface MDRRuleGroupInstanceModelruleGroupInstanceId - the rule group instance ID of this m d r rule group instancepublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface MDRRuleGroupInstanceModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface MDRRuleGroupInstanceModelgroupId - the group ID of this m d r rule group instancepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface MDRRuleGroupInstanceModelpublic 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 long getUserId()
getUserId in interface AuditedModelgetUserId in interface MDRRuleGroupInstanceModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface MDRRuleGroupInstanceModeluserId - the user ID of this m d r rule group instance
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface MDRRuleGroupInstanceModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface MDRRuleGroupInstanceModeluserUuid - the user uuid of this m d r rule group instancepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface MDRRuleGroupInstanceModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface MDRRuleGroupInstanceModeluserName - the user name of this m d r rule group instancepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface MDRRuleGroupInstanceModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface MDRRuleGroupInstanceModelcreateDate - the create date of this m d r rule group instancepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface MDRRuleGroupInstanceModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface MDRRuleGroupInstanceModelmodifiedDate - the modified date of this m d r rule group instancepublic String getClassName()
getClassName in interface TypedModelgetClassName in interface MDRRuleGroupInstanceModelpublic void setClassName(String className)
setClassName in interface MDRRuleGroupInstanceModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId 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 long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface MDRRuleGroupInstanceModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface MDRRuleGroupInstanceModelclassPK - the class p k of this m d r rule group instancepublic long getRuleGroupId()
getRuleGroupId in interface MDRRuleGroupInstanceModelpublic void setRuleGroupId(long ruleGroupId)
setRuleGroupId in interface MDRRuleGroupInstanceModelruleGroupId - the rule group ID of this m d r rule group instancepublic int getPriority()
getPriority in interface MDRRuleGroupInstanceModelpublic void setPriority(int priority)
setPriority in interface MDRRuleGroupInstanceModelpriority - the priority of this m d r rule group instancepublic 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<MDRRuleGroupInstance>setNew in interface MDRRuleGroupInstanceModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MDRRuleGroupInstance>setCachedModel in interface MDRRuleGroupInstanceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MDRRuleGroupInstance>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface MDRRuleGroupInstanceModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<MDRRuleGroupInstance>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface MDRRuleGroupInstanceModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MDRRuleGroupInstance>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MDRRuleGroupInstanceModelpublic 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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MDRRuleGroupInstance>setExpandoBridgeAttributes in interface MDRRuleGroupInstanceModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MDRRuleGroupInstance>clone in interface StagedModelclone in interface MDRRuleGroupInstanceModelclone in class Objectpublic int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
compareTo in interface MDRRuleGroupInstanceModelcompareTo in interface Comparable<MDRRuleGroupInstance>public int hashCode()
hashCode in interface MDRRuleGroupInstanceModelhashCode in class Objectpublic CacheModel<MDRRuleGroupInstance> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<MDRRuleGroupInstance>toCacheModel in interface MDRRuleGroupInstanceModelpublic MDRRuleGroupInstance toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<MDRRuleGroupInstance>toEscapedModel in interface MDRRuleGroupInstanceModelAutoEscapeBeanHandlerpublic MDRRuleGroupInstance toUnescapedModel()
toUnescapedModel in interface BaseModel<MDRRuleGroupInstance>toUnescapedModel in interface MDRRuleGroupInstanceModelpublic String toString()
toString in interface MDRRuleGroupInstanceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MDRRuleGroupInstance>toXmlString in interface MDRRuleGroupInstanceModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public List<MDRAction> getActions()
throws SystemException
getActions in interface MDRRuleGroupInstanceSystemException
public MDRRuleGroup getRuleGroup()
throws PortalException,
SystemException
getRuleGroup in interface MDRRuleGroupInstancePortalException
SystemExceptionpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic MDRRuleGroupInstance getWrappedMDRRuleGroupInstance()
getWrappedModel()
public MDRRuleGroupInstance getWrappedModel()
getWrappedModel in interface ModelWrapper<MDRRuleGroupInstance>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<MDRRuleGroupInstance>
|
Liferay 6.2.0-ce-rc4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||