|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| Field Summary | |
|---|---|
static long |
ACTIONID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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[] |
getAvailableLanguageIds()
|
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 |
getDefaultLanguageId()
|
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 |
getOriginalCompanyId()
|
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. |
StagedModelType |
getStagedModelType()
|
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()
|
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long RULEGROUPINSTANCEID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long ACTIONID_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 MDRActionModelpublic void setPrimaryKey(long primaryKey)
MDRActionModel
setPrimaryKey in interface MDRActionModelprimaryKey - the primary key of this m d r actionpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 StagedModelgetUuid in interface MDRActionModelpublic void setUuid(String uuid)
MDRActionModel
setUuid in interface StagedModelsetUuid in interface MDRActionModeluuid - the uuid of this m d r actionpublic String getOriginalUuid()
@JSON public long getActionId()
MDRActionModel
getActionId in interface MDRActionModelpublic void setActionId(long actionId)
MDRActionModel
setActionId in interface MDRActionModelactionId - the action ID of this m d r action@JSON public long getGroupId()
MDRActionModel
getGroupId in interface GroupedModelgetGroupId in interface MDRActionModelpublic void setGroupId(long groupId)
MDRActionModel
setGroupId in interface GroupedModelsetGroupId in interface MDRActionModelgroupId - the group ID of this m d r actionpublic long getOriginalGroupId()
@JSON public long getCompanyId()
MDRActionModel
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface MDRActionModelpublic void setCompanyId(long companyId)
MDRActionModel
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface MDRActionModelcompanyId - the company ID of this m d r actionpublic long getOriginalCompanyId()
@JSON public long getUserId()
MDRActionModel
getUserId in interface AuditedModelgetUserId in interface MDRActionModelpublic void setUserId(long userId)
MDRActionModel
setUserId in interface AuditedModelsetUserId in interface MDRActionModeluserId - the user ID of this m d r action
public String getUserUuid()
throws SystemException
MDRActionModel
getUserUuid in interface AuditedModelgetUserUuid in interface MDRActionModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
MDRActionModel
setUserUuid in interface AuditedModelsetUserUuid in interface MDRActionModeluserUuid - the user uuid of this m d r action@JSON public String getUserName()
MDRActionModel
getUserName in interface AuditedModelgetUserName in interface MDRActionModelpublic void setUserName(String userName)
MDRActionModel
setUserName in interface AuditedModelsetUserName in interface MDRActionModeluserName - the user name of this m d r action@JSON public Date getCreateDate()
MDRActionModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface MDRActionModelpublic void setCreateDate(Date createDate)
MDRActionModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface MDRActionModelcreateDate - the create date of this m d r action@JSON public Date getModifiedDate()
MDRActionModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface MDRActionModelpublic void setModifiedDate(Date modifiedDate)
MDRActionModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface MDRActionModelmodifiedDate - the modified date of this m d r actionpublic String getClassName()
MDRActionModel
getClassName in interface TypedModelgetClassName in interface MDRActionModelpublic void setClassName(String className)
setClassName in interface MDRActionModel@JSON public long getClassNameId()
MDRActionModel
getClassNameId in interface TypedModelgetClassNameId in interface MDRActionModelpublic void setClassNameId(long classNameId)
MDRActionModel
setClassNameId in interface TypedModelsetClassNameId in interface MDRActionModelclassNameId - the class name ID of this m d r action@JSON public long getClassPK()
MDRActionModel
getClassPK in interface AttachedModelgetClassPK in interface MDRActionModelpublic void setClassPK(long classPK)
MDRActionModel
setClassPK in interface AttachedModelsetClassPK in interface MDRActionModelclassPK - the class p k of this m d r action@JSON public long getRuleGroupInstanceId()
MDRActionModel
getRuleGroupInstanceId in interface MDRActionModelpublic void setRuleGroupInstanceId(long ruleGroupInstanceId)
MDRActionModel
setRuleGroupInstanceId in interface MDRActionModelruleGroupInstanceId - the rule group instance ID of this m d r actionpublic long getOriginalRuleGroupInstanceId()
@JSON public String getName()
MDRActionModel
getName in interface MDRActionModelpublic String getName(Locale locale)
MDRActionModel
getName in interface MDRActionModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
MDRActionModel
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)
MDRActionModel
getName in interface MDRActionModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
MDRActionModel
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 MDRActionModel@JSON public String getNameCurrentValue()
getNameCurrentValue in interface MDRActionModelpublic Map<Locale,String> getNameMap()
MDRActionModel
getNameMap in interface MDRActionModelpublic void setName(String name)
MDRActionModel
setName in interface MDRActionModelname - the name of this m d r action
public void setName(String name,
Locale locale)
MDRActionModel
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)
MDRActionModel
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)
MDRActionModel
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this m d r action
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
MDRActionModel
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this m d r actiondefaultLocale - the default locale@JSON public String getDescription()
MDRActionModel
getDescription in interface MDRActionModelpublic String getDescription(Locale locale)
MDRActionModel
getDescription in interface MDRActionModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
MDRActionModel
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)
MDRActionModel
getDescription in interface MDRActionModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
MDRActionModel
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 MDRActionModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface MDRActionModelpublic Map<Locale,String> getDescriptionMap()
MDRActionModel
getDescriptionMap in interface MDRActionModelpublic void setDescription(String description)
MDRActionModel
setDescription in interface MDRActionModeldescription - the description of this m d r action
public void setDescription(String description,
Locale locale)
MDRActionModel
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)
MDRActionModel
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)
MDRActionModel
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this m d r action
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
MDRActionModel
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this m d r actiondefaultLocale - the default locale@JSON public String getType()
MDRActionModel
getType in interface MDRActionModelpublic void setType(String type)
MDRActionModel
setType in interface MDRActionModeltype - the type of this m d r action@JSON public String getTypeSettings()
MDRActionModel
getTypeSettings in interface MDRActionModelpublic void setTypeSettings(String typeSettings)
MDRActionModel
setTypeSettings in interface MDRActionModeltypeSettings - the type settings of this m d r actionpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MDRAction>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MDRActionModelgetExpandoBridge in class BaseModelImpl<MDRAction>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MDRAction>setExpandoBridgeAttributes in interface MDRActionModelsetExpandoBridgeAttributes in class BaseModelImpl<MDRAction>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface MDRActionModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface MDRActionModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface MDRActionModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface MDRActionModelLocaleExceptionpublic MDRAction toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<MDRAction>toEscapedModel in interface MDRActionModeltoEscapedModel in class BaseModelImpl<MDRAction>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<MDRAction>clone in interface StagedModelclone in interface MDRActionModelclone in class BaseModelImpl<MDRAction>public int compareTo(MDRAction mdrAction)
compareTo in interface MDRActionModelcompareTo in interface Comparable<MDRAction>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface MDRActionModelhashCode in class Objectpublic 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 MDRActionModeltoCacheModel in class BaseModelImpl<MDRAction>public String toString()
toString in interface MDRActionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MDRAction>toXmlString in interface MDRActionModel
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||