|
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.portal.model.impl.BaseModelImpl<MDRAction> com.liferay.portlet.mobiledevicerules.model.impl.MDRActionModelImpl
@JSON(strict=true) public class MDRActionModelImpl
The base model implementation for the MDRAction service. Represents a row in the "MDRAction" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MDRActionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MDRActionImpl
.
MDRActionImpl
,
MDRAction
,
MDRActionModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
RULEGROUPINSTANCEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
MDRActionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MDRAction mdrAction)
|
boolean |
equals(Object obj)
|
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 |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
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 |
getOriginalGroupId()
|
long |
getOriginalRuleGroupInstanceId()
|
String |
getOriginalUuid()
|
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. |
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. |
int |
hashCode()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActionId(long actionId)
Sets the action ID of this m d r action. |
void |
setClassName(String className)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
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 |
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 . |
static MDRAction |
toModel(MDRActionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<MDRAction> |
toModels(MDRActionSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
MDRAction |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.mobiledevicerules.model.MDRActionModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long GROUPID_COLUMN_BITMASK
public static long RULEGROUPINSTANCEID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public MDRActionModelImpl()
Method Detail |
---|
public static MDRAction toModel(MDRActionSoap soapModel)
soapModel
- the soap model instance to convert
public static List<MDRAction> toModels(MDRActionSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
MDRActionModel
getPrimaryKey
in interface MDRActionModel
public void setPrimaryKey(long primaryKey)
MDRActionModel
setPrimaryKey
in interface MDRActionModel
primaryKey
- the primary key of this m d r actionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MDRAction>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MDRActionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MDRAction>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MDRActionModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MDRAction>
getModelAttributes
in class BaseModelImpl<MDRAction>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MDRAction>
setModelAttributes
in class BaseModelImpl<MDRAction>
@JSON public String getUuid()
MDRActionModel
getUuid
in interface MDRActionModel
public void setUuid(String uuid)
MDRActionModel
setUuid
in interface MDRActionModel
uuid
- the uuid of this m d r actionpublic String getOriginalUuid()
@JSON public long getActionId()
MDRActionModel
getActionId
in interface MDRActionModel
public void setActionId(long actionId)
MDRActionModel
setActionId
in interface MDRActionModel
actionId
- the action ID of this m d r action@JSON public long getGroupId()
MDRActionModel
getGroupId
in interface GroupedModel
getGroupId
in interface MDRActionModel
public void setGroupId(long groupId)
MDRActionModel
setGroupId
in interface GroupedModel
setGroupId
in interface MDRActionModel
groupId
- the group ID of this m d r actionpublic long getOriginalGroupId()
@JSON public long getCompanyId()
MDRActionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface MDRActionModel
public void setCompanyId(long companyId)
MDRActionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface MDRActionModel
companyId
- the company ID of this m d r action@JSON public long getUserId()
MDRActionModel
getUserId
in interface AuditedModel
getUserId
in interface MDRActionModel
public void setUserId(long userId)
MDRActionModel
setUserId
in interface AuditedModel
setUserId
in interface MDRActionModel
userId
- the user ID of this m d r actionpublic String getUserUuid() throws SystemException
MDRActionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface MDRActionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MDRActionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface MDRActionModel
userUuid
- the user uuid of this m d r action@JSON public String getUserName()
MDRActionModel
getUserName
in interface AuditedModel
getUserName
in interface MDRActionModel
public void setUserName(String userName)
MDRActionModel
setUserName
in interface AuditedModel
setUserName
in interface MDRActionModel
userName
- the user name of this m d r action@JSON public Date getCreateDate()
MDRActionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface MDRActionModel
public void setCreateDate(Date createDate)
MDRActionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface MDRActionModel
createDate
- the create date of this m d r action@JSON public Date getModifiedDate()
MDRActionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface MDRActionModel
public void setModifiedDate(Date modifiedDate)
MDRActionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface MDRActionModel
modifiedDate
- the modified date of this m d r actionpublic String getClassName()
MDRActionModel
getClassName
in interface AttachedModel
getClassName
in interface MDRActionModel
public void setClassName(String className)
setClassName
in interface MDRActionModel
@JSON public long getClassNameId()
MDRActionModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface MDRActionModel
public void setClassNameId(long classNameId)
MDRActionModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface MDRActionModel
classNameId
- the class name ID of this m d r action@JSON public long getClassPK()
MDRActionModel
getClassPK
in interface AttachedModel
getClassPK
in interface MDRActionModel
public void setClassPK(long classPK)
MDRActionModel
setClassPK
in interface AttachedModel
setClassPK
in interface MDRActionModel
classPK
- the class p k of this m d r action@JSON public long getRuleGroupInstanceId()
MDRActionModel
getRuleGroupInstanceId
in interface MDRActionModel
public void setRuleGroupInstanceId(long ruleGroupInstanceId)
MDRActionModel
setRuleGroupInstanceId
in interface MDRActionModel
ruleGroupInstanceId
- the rule group instance ID of this m d r actionpublic long getOriginalRuleGroupInstanceId()
@JSON public String getName()
MDRActionModel
getName
in interface MDRActionModel
public String getName(Locale locale)
MDRActionModel
getName
in interface MDRActionModel
locale
- the locale of the language
public String getName(Locale locale, boolean useDefault)
MDRActionModel
getName
in interface MDRActionModel
locale
- 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)
MDRActionModel
getName
in interface MDRActionModel
languageId
- the ID of the language
public String getName(String languageId, boolean useDefault)
MDRActionModel
getName
in interface MDRActionModel
languageId
- 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 MDRActionModel
@JSON public String getNameCurrentValue()
getNameCurrentValue
in interface MDRActionModel
public Map<Locale,String> getNameMap()
MDRActionModel
getNameMap
in interface MDRActionModel
public void setName(String name)
MDRActionModel
setName
in interface MDRActionModel
name
- the name of this m d r actionpublic void setName(String name, Locale locale)
MDRActionModel
setName
in interface MDRActionModel
name
- the localized name of this m d r actionlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
MDRActionModel
setName
in interface MDRActionModel
name
- the localized name of this m d r actionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface MDRActionModel
public void setNameMap(Map<Locale,String> nameMap)
MDRActionModel
setNameMap
in interface MDRActionModel
nameMap
- the locales and localized names of this m d r actionpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
MDRActionModel
setNameMap
in interface MDRActionModel
nameMap
- the locales and localized names of this m d r actiondefaultLocale
- the default locale@JSON public String getDescription()
MDRActionModel
getDescription
in interface MDRActionModel
public String getDescription(Locale locale)
MDRActionModel
getDescription
in interface MDRActionModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
MDRActionModel
getDescription
in interface MDRActionModel
locale
- 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)
MDRActionModel
getDescription
in interface MDRActionModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
MDRActionModel
getDescription
in interface MDRActionModel
languageId
- 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 MDRActionModel
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface MDRActionModel
public Map<Locale,String> getDescriptionMap()
MDRActionModel
getDescriptionMap
in interface MDRActionModel
public void setDescription(String description)
MDRActionModel
setDescription
in interface MDRActionModel
description
- the description of this m d r actionpublic void setDescription(String description, Locale locale)
MDRActionModel
setDescription
in interface MDRActionModel
description
- the localized description of this m d r actionlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
MDRActionModel
setDescription
in interface MDRActionModel
description
- the localized description of this m d r actionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface MDRActionModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
MDRActionModel
setDescriptionMap
in interface MDRActionModel
descriptionMap
- the locales and localized descriptions of this m d r actionpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
MDRActionModel
setDescriptionMap
in interface MDRActionModel
descriptionMap
- the locales and localized descriptions of this m d r actiondefaultLocale
- the default locale@JSON public String getType()
MDRActionModel
getType
in interface MDRActionModel
public void setType(String type)
MDRActionModel
setType
in interface MDRActionModel
type
- the type of this m d r action@JSON public String getTypeSettings()
MDRActionModel
getTypeSettings
in interface MDRActionModel
public void setTypeSettings(String typeSettings)
MDRActionModel
setTypeSettings
in interface MDRActionModel
typeSettings
- the type settings of this m d r actionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MDRAction>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MDRActionModel
getExpandoBridge
in class BaseModelImpl<MDRAction>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MDRAction>
setExpandoBridgeAttributes
in interface MDRActionModel
setExpandoBridgeAttributes
in class BaseModelImpl<MDRAction>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface MDRActionModel
LocaleException
public MDRAction toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MDRAction>
toEscapedModel
in interface MDRActionModel
toEscapedModel
in class BaseModelImpl<MDRAction>
AutoEscapeBeanHandler
public MDRAction toUnescapedModel()
toUnescapedModel
in interface BaseModel<MDRAction>
toUnescapedModel
in interface MDRActionModel
toUnescapedModel
in class BaseModelImpl<MDRAction>
public Object clone()
BaseModel
clone
in interface BaseModel<MDRAction>
clone
in interface MDRActionModel
clone
in class BaseModelImpl<MDRAction>
public int compareTo(MDRAction mdrAction)
compareTo
in interface MDRActionModel
compareTo
in interface Comparable<MDRAction>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface MDRActionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<MDRAction>
resetOriginalValues
in class BaseModelImpl<MDRAction>
public CacheModel<MDRAction> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MDRAction>
toCacheModel
in interface MDRActionModel
toCacheModel
in class BaseModelImpl<MDRAction>
public String toString()
toString
in interface MDRActionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MDRAction>
toXmlString
in interface MDRActionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |