|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstanceWrapper
public class MDRRuleGroupInstanceWrapper
This class is a wrapper for MDRRuleGroupInstance
.
MDRRuleGroupInstance
,
Serialized FormConstructor 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. |
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. Renamed to 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(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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 MDRRuleGroupInstanceModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MDRRuleGroupInstanceModel
primaryKey
- the primary key of this m d r rule group instancepublic String getUuid()
getUuid
in interface MDRRuleGroupInstanceModel
public void setUuid(String uuid)
setUuid
in interface MDRRuleGroupInstanceModel
uuid
- the uuid of this m d r rule group instancepublic long getRuleGroupInstanceId()
getRuleGroupInstanceId
in interface MDRRuleGroupInstanceModel
public void setRuleGroupInstanceId(long ruleGroupInstanceId)
setRuleGroupInstanceId
in interface MDRRuleGroupInstanceModel
ruleGroupInstanceId
- the rule group instance ID of this m d r rule group instancepublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface MDRRuleGroupInstanceModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface MDRRuleGroupInstanceModel
groupId
- the group ID of this m d r rule group instancepublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface MDRRuleGroupInstanceModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface MDRRuleGroupInstanceModel
companyId
- the company ID of this m d r rule group instancepublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface MDRRuleGroupInstanceModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface MDRRuleGroupInstanceModel
userId
- the user ID of this m d r rule group instancepublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface MDRRuleGroupInstanceModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface MDRRuleGroupInstanceModel
userUuid
- the user uuid of this m d r rule group instancepublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface MDRRuleGroupInstanceModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface MDRRuleGroupInstanceModel
userName
- the user name of this m d r rule group instancepublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface MDRRuleGroupInstanceModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface MDRRuleGroupInstanceModel
createDate
- the create date of this m d r rule group instancepublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface MDRRuleGroupInstanceModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface MDRRuleGroupInstanceModel
modifiedDate
- the modified date of this m d r rule group instancepublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface MDRRuleGroupInstanceModel
public void setClassName(String className)
setClassName
in interface MDRRuleGroupInstanceModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface MDRRuleGroupInstanceModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface MDRRuleGroupInstanceModel
classNameId
- the class name ID of this m d r rule group instancepublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface MDRRuleGroupInstanceModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface MDRRuleGroupInstanceModel
classPK
- the class p k of this m d r rule group instancepublic long getRuleGroupId()
getRuleGroupId
in interface MDRRuleGroupInstanceModel
public void setRuleGroupId(long ruleGroupId)
setRuleGroupId
in interface MDRRuleGroupInstanceModel
ruleGroupId
- the rule group ID of this m d r rule group instancepublic int getPriority()
getPriority
in interface MDRRuleGroupInstanceModel
public void setPriority(int priority)
setPriority
in interface MDRRuleGroupInstanceModel
priority
- the priority of this m d r rule group instancepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<MDRRuleGroupInstance>
isNew
in interface MDRRuleGroupInstanceModel
true
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 MDRRuleGroupInstanceModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<MDRRuleGroupInstance>
isCachedModel
in interface MDRRuleGroupInstanceModel
true
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 MDRRuleGroupInstanceModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<MDRRuleGroupInstance>
isEscapedModel
in interface MDRRuleGroupInstanceModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MDRRuleGroupInstance>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MDRRuleGroupInstanceModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MDRRuleGroupInstance>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MDRRuleGroupInstanceModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MDRRuleGroupInstance>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MDRRuleGroupInstanceModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MDRRuleGroupInstance>
setExpandoBridgeAttributes
in interface MDRRuleGroupInstanceModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<MDRRuleGroupInstance>
clone
in interface MDRRuleGroupInstanceModel
clone
in class Object
public int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
compareTo
in interface MDRRuleGroupInstanceModel
compareTo
in interface Comparable<MDRRuleGroupInstance>
public int hashCode()
hashCode
in interface MDRRuleGroupInstanceModel
hashCode
in class Object
public CacheModel<MDRRuleGroupInstance> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MDRRuleGroupInstance>
toCacheModel
in interface MDRRuleGroupInstanceModel
public MDRRuleGroupInstance toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MDRRuleGroupInstance>
toEscapedModel
in interface MDRRuleGroupInstanceModel
AutoEscapeBeanHandler
public MDRRuleGroupInstance toUnescapedModel()
toUnescapedModel
in interface BaseModel<MDRRuleGroupInstance>
toUnescapedModel
in interface MDRRuleGroupInstanceModel
public String toString()
toString
in interface MDRRuleGroupInstanceModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MDRRuleGroupInstance>
toXmlString
in interface MDRRuleGroupInstanceModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic List<MDRAction> getActions() throws SystemException
getActions
in interface MDRRuleGroupInstance
SystemException
public MDRRuleGroup getRuleGroup() throws PortalException, SystemException
getRuleGroup
in interface MDRRuleGroupInstance
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public MDRRuleGroupInstance getWrappedMDRRuleGroupInstance()
getWrappedModel()
public MDRRuleGroupInstance getWrappedModel()
getWrappedModel
in interface ModelWrapper<MDRRuleGroupInstance>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<MDRRuleGroupInstance>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |