|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.mobiledevicerules.model.MDRActionWrapper
public class MDRActionWrapper
This class is a wrapper for MDRAction.
MDRAction,
Serialized Form| Constructor Summary | |
|---|---|
MDRActionWrapper(MDRAction mdrAction)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MDRAction mdrAction)
|
long |
getActionId()
Returns the action ID of this m d r action. |
String |
getClassName()
Returns the fully qualified class name of this m d r action. |
long |
getClassNameId()
Returns the class name ID of this m d r action. |
long |
getClassPK()
Returns the class p k of this m d r action. |
long |
getCompanyId()
Returns the company ID of this m d r action. |
Date |
getCreateDate()
Returns the create date of this m d r action. |
String |
getDescription()
Returns the description of this m d r action. |
String |
getDescription(Locale locale)
Returns the localized description of this m d r action in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this m d r action in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this m d r action in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this m d r action in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this m d r action. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this m d r action. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this m d r action. |
String |
getName()
Returns the name of this m d r action. |
String |
getName(Locale locale)
Returns the localized name of this m d r action in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this m d r action in the language, optionally using the default language if no localization exists for the requested language. |
String |
getName(String languageId)
Returns the localized name of this m d r action in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this m d r action in the language, optionally using the default language if no localization exists for the requested language. |
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this m d r action. |
long |
getPrimaryKey()
Returns the primary key of this m d r action. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRuleGroupInstanceId()
Returns the rule group instance ID of this m d r action. |
String |
getType()
Returns the type of this m d r action. |
String |
getTypeSettings()
Returns the type settings of this m d r action. |
UnicodeProperties |
getTypeSettingsProperties()
|
long |
getUserId()
Returns the user ID of this m d r action. |
String |
getUserName()
Returns the user name of this m d r action. |
String |
getUserUuid()
Returns the user uuid of this m d r action. |
String |
getUuid()
Returns the uuid of this m d r action. |
MDRAction |
getWrappedMDRAction()
Deprecated. Renamed to getWrappedModel() |
MDRAction |
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 |
setActionId(long actionId)
Sets the action ID of this m d r action. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name ID of this m d r action. |
void |
setClassPK(long classPK)
Sets the class p k of this m d r action. |
void |
setCompanyId(long companyId)
Sets the company ID of this m d r action. |
void |
setCreateDate(Date createDate)
Sets the create date of this m d r action. |
void |
setDescription(String description)
Sets the description of this m d r action. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this m d r action in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this m d r action in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this m d r action from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this m d r action from the map of locales and localized descriptions, and sets the default locale. |
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 action. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this m d r action. |
void |
setName(String name)
Sets the name of this m d r action. |
void |
setName(String name,
Locale locale)
Sets the localized name of this m d r action in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this m d r action in the language, and sets the default locale. |
void |
setNameCurrentLanguageId(String languageId)
|
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this m d r action from the map of locales and localized names. |
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this m d r action from the map of locales and localized names, and sets the default locale. |
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 action. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRuleGroupInstanceId(long ruleGroupInstanceId)
Sets the rule group instance ID of this m d r action. |
void |
setType(String type)
Sets the type of this m d r action. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this m d r action. |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
void |
setUserId(long userId)
Sets the user ID of this m d r action. |
void |
setUserName(String userName)
Sets the user name of this m d r action. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this m d r action. |
void |
setUuid(String uuid)
Sets the uuid of this m d r action. |
CacheModel<MDRAction> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
MDRAction |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MDRActionWrapper(MDRAction mdrAction)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface MDRActionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MDRActionModelprimaryKey - the primary key of this m d r actionpublic String getUuid()
getUuid in interface MDRActionModelpublic void setUuid(String uuid)
setUuid in interface MDRActionModeluuid - the uuid of this m d r actionpublic long getActionId()
getActionId in interface MDRActionModelpublic void setActionId(long actionId)
setActionId in interface MDRActionModelactionId - the action ID of this m d r actionpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface MDRActionModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface MDRActionModelgroupId - the group ID of this m d r actionpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface MDRActionModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface MDRActionModelcompanyId - the company ID of this m d r actionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface MDRActionModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface MDRActionModeluserId - the user ID of this m d r action
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface MDRActionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface MDRActionModeluserUuid - the user uuid of this m d r actionpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface MDRActionModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface MDRActionModeluserName - the user name of this m d r actionpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface MDRActionModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface MDRActionModelcreateDate - the create date of this m d r actionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface MDRActionModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface MDRActionModelmodifiedDate - the modified date of this m d r actionpublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface MDRActionModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface MDRActionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId in interface MDRActionModelclassNameId - the class name ID of this m d r actionpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface MDRActionModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface MDRActionModelclassPK - the class p k of this m d r actionpublic long getRuleGroupInstanceId()
getRuleGroupInstanceId in interface MDRActionModelpublic void setRuleGroupInstanceId(long ruleGroupInstanceId)
setRuleGroupInstanceId in interface MDRActionModelruleGroupInstanceId - the rule group instance ID of this m d r actionpublic String getName()
getName in interface MDRActionModelpublic String getName(Locale locale)
getName in interface MDRActionModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
getName in interface MDRActionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getName(String languageId)
getName in interface MDRActionModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
getName in interface MDRActionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface MDRActionModelpublic String getNameCurrentValue()
getNameCurrentValue in interface MDRActionModelpublic Map<Locale,String> getNameMap()
getNameMap in interface MDRActionModelpublic void setName(String name)
setName in interface MDRActionModelname - the name of this m d r action
public void setName(String name,
Locale locale)
setName in interface MDRActionModelname - the localized name of this m d r actionlocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
setName in interface MDRActionModelname - the localized name of this m d r actionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface MDRActionModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this m d r action
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this m d r actiondefaultLocale - the default localepublic String getDescription()
getDescription in interface MDRActionModelpublic String getDescription(Locale locale)
getDescription in interface MDRActionModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface MDRActionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription in interface MDRActionModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface MDRActionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface MDRActionModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface MDRActionModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface MDRActionModelpublic void setDescription(String description)
setDescription in interface MDRActionModeldescription - the description of this m d r action
public void setDescription(String description,
Locale locale)
setDescription in interface MDRActionModeldescription - the localized description of this m d r actionlocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface MDRActionModeldescription - the localized description of this m d r actionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface MDRActionModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this m d r action
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this m d r actiondefaultLocale - the default localepublic String getType()
getType in interface MDRActionModelpublic void setType(String type)
setType in interface MDRActionModeltype - the type of this m d r actionpublic String getTypeSettings()
getTypeSettings in interface MDRActionModelpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface MDRActionsetTypeSettings in interface MDRActionModeltypeSettings - the type settings of this m d r actionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<MDRAction>isNew in interface MDRActionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<MDRAction>setNew in interface MDRActionModeln - 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<MDRAction>isCachedModel in interface MDRActionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MDRAction>setCachedModel in interface MDRActionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<MDRAction>isEscapedModel in interface MDRActionModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MDRAction>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface MDRActionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<MDRAction>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface MDRActionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MDRAction>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MDRActionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MDRAction>setExpandoBridgeAttributes in interface MDRActionModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MDRAction>clone in interface MDRActionModelclone in class Objectpublic int compareTo(MDRAction mdrAction)
compareTo in interface MDRActionModelcompareTo in interface Comparable<MDRAction>public int hashCode()
hashCode in interface MDRActionModelhashCode in class Objectpublic CacheModel<MDRAction> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<MDRAction>toCacheModel in interface MDRActionModelpublic MDRAction toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<MDRAction>toEscapedModel in interface MDRActionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface MDRActionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MDRAction>toXmlString in interface MDRActionModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface MDRActionpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface MDRActionpublic MDRAction getWrappedMDRAction()
getWrappedModel()
public MDRAction getWrappedModel()
getWrappedModel in interface ModelWrapper<MDRAction>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<MDRAction>
|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||