|
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<AssetVocabulary> com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
@JSON(strict=true) public class AssetVocabularyModelImpl
The base model implementation for the AssetVocabulary service. Represents a row in the "AssetVocabulary" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetVocabularyModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetVocabularyImpl
.
AssetVocabularyImpl
,
AssetVocabulary
,
AssetVocabularyModel
,
Serialized FormField Summary | |
---|---|
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 long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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 | |
---|---|
AssetVocabularyModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetVocabulary assetVocabulary)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this asset vocabulary. |
Date |
getCreateDate()
Returns the create date of this asset vocabulary. |
String |
getDescription()
Returns the description of this asset vocabulary. |
String |
getDescription(Locale locale)
Returns the localized description of this asset vocabulary in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this asset vocabulary 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 asset vocabulary in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this asset vocabulary 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 asset vocabulary. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this asset vocabulary. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset vocabulary. |
String |
getName()
Returns the name of this asset vocabulary. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this asset vocabulary. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getSettings()
Returns the settings of this asset vocabulary. |
String |
getTitle()
Returns the title of this asset vocabulary. |
String |
getTitle(Locale locale)
Returns the localized title of this asset vocabulary in the language. |
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Returns the localized title of this asset vocabulary in the language. |
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language. |
String |
getTitleCurrentLanguageId()
|
String |
getTitleCurrentValue()
|
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this asset vocabulary. |
long |
getUserId()
Returns the user ID of this asset vocabulary. |
String |
getUserName()
Returns the user name of this asset vocabulary. |
String |
getUserUuid()
Returns the user uuid of this asset vocabulary. |
String |
getUuid()
Returns the uuid of this asset vocabulary. |
long |
getVocabularyId()
Returns the vocabulary ID of this asset vocabulary. |
int |
hashCode()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this asset vocabulary. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset vocabulary. |
void |
setDescription(String description)
Sets the description of this asset vocabulary. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this asset vocabulary in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this asset vocabulary in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this asset vocabulary from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this asset vocabulary 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 asset vocabulary. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset vocabulary. |
void |
setName(String name)
Sets the name of this asset vocabulary. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset vocabulary. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSettings(String settings)
Sets the settings of this asset vocabulary. |
void |
setTitle(String title)
Sets the title of this asset vocabulary. |
void |
setTitle(String title,
Locale locale)
Sets the localized title of this asset vocabulary in the language. |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this asset vocabulary in the language, and sets the default locale. |
void |
setTitleCurrentLanguageId(String languageId)
|
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset vocabulary from the map of locales and localized titles. |
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this asset vocabulary from the map of locales and localized titles, and sets the default locale. |
void |
setUserId(long userId)
Sets the user ID of this asset vocabulary. |
void |
setUserName(String userName)
Sets the user name of this asset vocabulary. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset vocabulary. |
void |
setUuid(String uuid)
Sets the uuid of this asset vocabulary. |
void |
setVocabularyId(long vocabularyId)
Sets the vocabulary ID of this asset vocabulary. |
CacheModel<AssetVocabulary> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetVocabulary |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static AssetVocabulary |
toModel(AssetVocabularySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AssetVocabulary> |
toModels(AssetVocabularySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
AssetVocabulary |
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.asset.model.AssetVocabularyModel |
---|
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 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 NAME_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public AssetVocabularyModelImpl()
Method Detail |
---|
public static AssetVocabulary toModel(AssetVocabularySoap soapModel)
soapModel
- the soap model instance to convert
public static List<AssetVocabulary> toModels(AssetVocabularySoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
AssetVocabularyModel
getPrimaryKey
in interface AssetVocabularyModel
public void setPrimaryKey(long primaryKey)
AssetVocabularyModel
setPrimaryKey
in interface AssetVocabularyModel
primaryKey
- the primary key of this asset vocabularypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetVocabulary>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetVocabularyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetVocabulary>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetVocabularyModel
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<AssetVocabulary>
getModelAttributes
in class BaseModelImpl<AssetVocabulary>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetVocabulary>
setModelAttributes
in class BaseModelImpl<AssetVocabulary>
@JSON public String getUuid()
AssetVocabularyModel
getUuid
in interface AssetVocabularyModel
public void setUuid(String uuid)
AssetVocabularyModel
setUuid
in interface AssetVocabularyModel
uuid
- the uuid of this asset vocabularypublic String getOriginalUuid()
@JSON public long getVocabularyId()
AssetVocabularyModel
getVocabularyId
in interface AssetVocabularyModel
public void setVocabularyId(long vocabularyId)
AssetVocabularyModel
setVocabularyId
in interface AssetVocabularyModel
vocabularyId
- the vocabulary ID of this asset vocabulary@JSON public long getGroupId()
AssetVocabularyModel
getGroupId
in interface GroupedModel
getGroupId
in interface AssetVocabularyModel
public void setGroupId(long groupId)
AssetVocabularyModel
setGroupId
in interface GroupedModel
setGroupId
in interface AssetVocabularyModel
groupId
- the group ID of this asset vocabularypublic long getOriginalGroupId()
@JSON public long getCompanyId()
AssetVocabularyModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetVocabularyModel
public void setCompanyId(long companyId)
AssetVocabularyModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetVocabularyModel
companyId
- the company ID of this asset vocabularypublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetVocabularyModel
getUserId
in interface AuditedModel
getUserId
in interface AssetVocabularyModel
public void setUserId(long userId)
AssetVocabularyModel
setUserId
in interface AuditedModel
setUserId
in interface AssetVocabularyModel
userId
- the user ID of this asset vocabularypublic String getUserUuid() throws SystemException
AssetVocabularyModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetVocabularyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetVocabularyModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetVocabularyModel
userUuid
- the user uuid of this asset vocabulary@JSON public String getUserName()
AssetVocabularyModel
getUserName
in interface AuditedModel
getUserName
in interface AssetVocabularyModel
public void setUserName(String userName)
AssetVocabularyModel
setUserName
in interface AuditedModel
setUserName
in interface AssetVocabularyModel
userName
- the user name of this asset vocabulary@JSON public Date getCreateDate()
AssetVocabularyModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetVocabularyModel
public void setCreateDate(Date createDate)
AssetVocabularyModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetVocabularyModel
createDate
- the create date of this asset vocabulary@JSON public Date getModifiedDate()
AssetVocabularyModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetVocabularyModel
public void setModifiedDate(Date modifiedDate)
AssetVocabularyModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetVocabularyModel
modifiedDate
- the modified date of this asset vocabulary@JSON public String getName()
AssetVocabularyModel
getName
in interface AssetVocabularyModel
public void setName(String name)
AssetVocabularyModel
setName
in interface AssetVocabularyModel
name
- the name of this asset vocabularypublic String getOriginalName()
@JSON public String getTitle()
AssetVocabularyModel
getTitle
in interface AssetVocabularyModel
public String getTitle(Locale locale)
AssetVocabularyModel
getTitle
in interface AssetVocabularyModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
AssetVocabularyModel
getTitle
in interface AssetVocabularyModel
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 getTitle(String languageId)
AssetVocabularyModel
getTitle
in interface AssetVocabularyModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
AssetVocabularyModel
getTitle
in interface AssetVocabularyModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface AssetVocabularyModel
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface AssetVocabularyModel
public Map<Locale,String> getTitleMap()
AssetVocabularyModel
getTitleMap
in interface AssetVocabularyModel
public void setTitle(String title)
AssetVocabularyModel
setTitle
in interface AssetVocabularyModel
title
- the title of this asset vocabularypublic void setTitle(String title, Locale locale)
AssetVocabularyModel
setTitle
in interface AssetVocabularyModel
title
- the localized title of this asset vocabularylocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
AssetVocabularyModel
setTitle
in interface AssetVocabularyModel
title
- the localized title of this asset vocabularylocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface AssetVocabularyModel
public void setTitleMap(Map<Locale,String> titleMap)
AssetVocabularyModel
setTitleMap
in interface AssetVocabularyModel
titleMap
- the locales and localized titles of this asset vocabularypublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
AssetVocabularyModel
setTitleMap
in interface AssetVocabularyModel
titleMap
- the locales and localized titles of this asset vocabularydefaultLocale
- the default locale@JSON public String getDescription()
AssetVocabularyModel
getDescription
in interface AssetVocabularyModel
public String getDescription(Locale locale)
AssetVocabularyModel
getDescription
in interface AssetVocabularyModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
AssetVocabularyModel
getDescription
in interface AssetVocabularyModel
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)
AssetVocabularyModel
getDescription
in interface AssetVocabularyModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
AssetVocabularyModel
getDescription
in interface AssetVocabularyModel
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 AssetVocabularyModel
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface AssetVocabularyModel
public Map<Locale,String> getDescriptionMap()
AssetVocabularyModel
getDescriptionMap
in interface AssetVocabularyModel
public void setDescription(String description)
AssetVocabularyModel
setDescription
in interface AssetVocabularyModel
description
- the description of this asset vocabularypublic void setDescription(String description, Locale locale)
AssetVocabularyModel
setDescription
in interface AssetVocabularyModel
description
- the localized description of this asset vocabularylocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
AssetVocabularyModel
setDescription
in interface AssetVocabularyModel
description
- the localized description of this asset vocabularylocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface AssetVocabularyModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
AssetVocabularyModel
setDescriptionMap
in interface AssetVocabularyModel
descriptionMap
- the locales and localized descriptions of this asset vocabularypublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
AssetVocabularyModel
setDescriptionMap
in interface AssetVocabularyModel
descriptionMap
- the locales and localized descriptions of this asset vocabularydefaultLocale
- the default locale@JSON public String getSettings()
AssetVocabularyModel
getSettings
in interface AssetVocabularyModel
public void setSettings(String settings)
AssetVocabularyModel
setSettings
in interface AssetVocabularyModel
settings
- the settings of this asset vocabularypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetVocabulary>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetVocabularyModel
getExpandoBridge
in class BaseModelImpl<AssetVocabulary>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetVocabulary>
setExpandoBridgeAttributes
in interface AssetVocabularyModel
setExpandoBridgeAttributes
in class BaseModelImpl<AssetVocabulary>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface AssetVocabularyModel
LocaleException
public AssetVocabulary toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetVocabulary>
toEscapedModel
in interface AssetVocabularyModel
toEscapedModel
in class BaseModelImpl<AssetVocabulary>
AutoEscapeBeanHandler
public AssetVocabulary toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetVocabulary>
toUnescapedModel
in interface AssetVocabularyModel
toUnescapedModel
in class BaseModelImpl<AssetVocabulary>
public Object clone()
BaseModel
clone
in interface BaseModel<AssetVocabulary>
clone
in interface AssetVocabularyModel
clone
in class BaseModelImpl<AssetVocabulary>
public int compareTo(AssetVocabulary assetVocabulary)
compareTo
in interface AssetVocabularyModel
compareTo
in interface Comparable<AssetVocabulary>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AssetVocabularyModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetVocabulary>
resetOriginalValues
in class BaseModelImpl<AssetVocabulary>
public CacheModel<AssetVocabulary> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetVocabulary>
toCacheModel
in interface AssetVocabularyModel
toCacheModel
in class BaseModelImpl<AssetVocabulary>
public String toString()
toString
in interface AssetVocabularyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetVocabulary>
toXmlString
in interface AssetVocabularyModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |