|
Liferay 6.0.5 | |||||||||
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<AssetCategory> com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
public class AssetCategoryModelImpl
The base model implementation for the AssetCategory service. Represents a row in the "AssetCategory" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetCategoryModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetCategoryImpl
.
Never modify or reference this class directly. All methods that expect a asset category model instance should use the AssetCategory
interface instead.
AssetCategoryImpl
,
AssetCategory
,
AssetCategoryModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
|
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
|
Constructor Summary | |
---|---|
AssetCategoryModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetCategory assetCategory)
|
boolean |
equals(Object obj)
|
long |
getCategoryId()
Gets the category id of this asset category. |
long |
getCompanyId()
Gets the company id of this asset category. |
Date |
getCreateDate()
Gets the create date of this asset category. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this asset category. |
long |
getLeftCategoryId()
Gets the left category id of this asset category. |
Date |
getModifiedDate()
Gets the modified date of this asset category. |
String |
getName()
Gets the name of this asset category. |
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getOriginalParentCategoryId()
|
String |
getOriginalUuid()
|
long |
getOriginalVocabularyId()
|
long |
getParentCategoryId()
Gets the parent category id of this asset category. |
long |
getPrimaryKey()
Gets the primary key of this asset category. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRightCategoryId()
Gets the right category id of this asset category. |
String |
getTitle()
Gets the title of this asset category. |
String |
getTitle(Locale locale)
Gets the localized title of this asset category. |
String |
getTitle(Locale locale,
boolean useDefault)
Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language. |
String |
getTitle(String languageId)
Gets the localized title of this asset category. |
String |
getTitle(String languageId,
boolean useDefault)
Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language. |
Map<Locale,String> |
getTitleMap()
Gets a map of the locales and localized title of this asset category. |
long |
getUserId()
Gets the user id of this asset category. |
String |
getUserName()
Gets the user name of this asset category. |
String |
getUserUuid()
Gets the user uuid of this asset category. |
String |
getUuid()
Gets the uuid of this asset category. |
long |
getVocabularyId()
Gets the vocabulary id of this asset category. |
int |
hashCode()
|
void |
setCategoryId(long categoryId)
Sets the category id of this asset category. |
void |
setCompanyId(long companyId)
Sets the company id of this asset category. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset category. |
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 category. |
void |
setLeftCategoryId(long leftCategoryId)
Sets the left category id of this asset category. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset category. |
void |
setName(String name)
Sets the name of this asset category. |
void |
setParentCategoryId(long parentCategoryId)
Sets the parent category id of this asset category. |
void |
setPrimaryKey(long pk)
Sets the primary key of this asset category |
void |
setRightCategoryId(long rightCategoryId)
Sets the right category id of this asset category. |
void |
setTitle(Locale locale,
String title)
Sets the localized title of this asset category. |
void |
setTitle(String title)
Sets the title of this asset category. |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this asset category from the map of locales and localized titles. |
void |
setUserId(long userId)
Sets the user id of this asset category. |
void |
setUserName(String userName)
Sets the user name of this asset category. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset category. |
void |
setUuid(String uuid)
Sets the uuid of this asset category. |
void |
setVocabularyId(long vocabularyId)
Sets the vocabulary id of this asset category. |
AssetCategory |
toEscapedModel()
Gets a copy of this asset category as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static AssetCategory |
toModel(AssetCategorySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AssetCategory> |
toModels(AssetCategorySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.asset.model.AssetCategoryModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public AssetCategoryModelImpl()
Method Detail |
---|
public static AssetCategory toModel(AssetCategorySoap soapModel)
soapModel
- the soap model instance to convert
public static List<AssetCategory> toModels(AssetCategorySoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
AssetCategoryModel
getPrimaryKey
in interface AssetCategoryModel
public void setPrimaryKey(long pk)
AssetCategoryModel
setPrimaryKey
in interface AssetCategoryModel
pk
- the primary key of this asset categorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetCategory>
getPrimaryKeyObj
in interface AssetCategoryModel
public String getUuid()
AssetCategoryModel
getUuid
in interface AssetCategoryModel
public void setUuid(String uuid)
AssetCategoryModel
setUuid
in interface AssetCategoryModel
uuid
- the uuid of this asset categorypublic String getOriginalUuid()
public long getCategoryId()
AssetCategoryModel
getCategoryId
in interface AssetCategoryModel
public void setCategoryId(long categoryId)
AssetCategoryModel
setCategoryId
in interface AssetCategoryModel
categoryId
- the category id of this asset categorypublic long getGroupId()
AssetCategoryModel
getGroupId
in interface AssetCategoryModel
public void setGroupId(long groupId)
AssetCategoryModel
setGroupId
in interface AssetCategoryModel
groupId
- the group id of this asset categorypublic long getOriginalGroupId()
public long getCompanyId()
AssetCategoryModel
getCompanyId
in interface AssetCategoryModel
public void setCompanyId(long companyId)
AssetCategoryModel
setCompanyId
in interface AssetCategoryModel
companyId
- the company id of this asset categorypublic long getUserId()
AssetCategoryModel
getUserId
in interface AssetCategoryModel
public void setUserId(long userId)
AssetCategoryModel
setUserId
in interface AssetCategoryModel
userId
- the user id of this asset categorypublic String getUserUuid() throws SystemException
AssetCategoryModel
getUserUuid
in interface AssetCategoryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetCategoryModel
setUserUuid
in interface AssetCategoryModel
userUuid
- the user uuid of this asset categorypublic String getUserName()
AssetCategoryModel
getUserName
in interface AssetCategoryModel
public void setUserName(String userName)
AssetCategoryModel
setUserName
in interface AssetCategoryModel
userName
- the user name of this asset categorypublic Date getCreateDate()
AssetCategoryModel
getCreateDate
in interface AssetCategoryModel
public void setCreateDate(Date createDate)
AssetCategoryModel
setCreateDate
in interface AssetCategoryModel
createDate
- the create date of this asset categorypublic Date getModifiedDate()
AssetCategoryModel
getModifiedDate
in interface AssetCategoryModel
public void setModifiedDate(Date modifiedDate)
AssetCategoryModel
setModifiedDate
in interface AssetCategoryModel
modifiedDate
- the modified date of this asset categorypublic long getParentCategoryId()
AssetCategoryModel
getParentCategoryId
in interface AssetCategoryModel
public void setParentCategoryId(long parentCategoryId)
AssetCategoryModel
setParentCategoryId
in interface AssetCategoryModel
parentCategoryId
- the parent category id of this asset categorypublic long getOriginalParentCategoryId()
public long getLeftCategoryId()
AssetCategoryModel
getLeftCategoryId
in interface AssetCategoryModel
public void setLeftCategoryId(long leftCategoryId)
AssetCategoryModel
setLeftCategoryId
in interface AssetCategoryModel
leftCategoryId
- the left category id of this asset categorypublic long getRightCategoryId()
AssetCategoryModel
getRightCategoryId
in interface AssetCategoryModel
public void setRightCategoryId(long rightCategoryId)
AssetCategoryModel
setRightCategoryId
in interface AssetCategoryModel
rightCategoryId
- the right category id of this asset categorypublic String getName()
AssetCategoryModel
getName
in interface AssetCategoryModel
public void setName(String name)
AssetCategoryModel
setName
in interface AssetCategoryModel
name
- the name of this asset categorypublic String getOriginalName()
public String getTitle()
AssetCategoryModel
getTitle
in interface AssetCategoryModel
public String getTitle(Locale locale)
AssetCategoryModel
getTitle
in interface AssetCategoryModel
locale
- the locale to get the localized title for
public String getTitle(Locale locale, boolean useDefault)
AssetCategoryModel
getTitle
in interface AssetCategoryModel
locale
- the local to get the localized title foruseDefault
- 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)
AssetCategoryModel
getTitle
in interface AssetCategoryModel
languageId
- the id of the language to get the localized title for
public String getTitle(String languageId, boolean useDefault)
AssetCategoryModel
getTitle
in interface AssetCategoryModel
languageId
- the id of the language to get the localized title foruseDefault
- whether to use the default language if no localization exists for the requested language
public Map<Locale,String> getTitleMap()
AssetCategoryModel
getTitleMap
in interface AssetCategoryModel
public void setTitle(String title)
AssetCategoryModel
setTitle
in interface AssetCategoryModel
title
- the title of this asset categorypublic void setTitle(Locale locale, String title)
AssetCategoryModel
setTitle
in interface AssetCategoryModel
locale
- the locale to set the localized title fortitle
- the localized title of this asset categorypublic void setTitleMap(Map<Locale,String> titleMap)
AssetCategoryModel
setTitleMap
in interface AssetCategoryModel
titleMap
- the locales and localized titles of this asset categorypublic long getVocabularyId()
AssetCategoryModel
getVocabularyId
in interface AssetCategoryModel
public void setVocabularyId(long vocabularyId)
AssetCategoryModel
setVocabularyId
in interface AssetCategoryModel
vocabularyId
- the vocabulary id of this asset categorypublic long getOriginalVocabularyId()
public AssetCategory toEscapedModel()
AssetCategoryModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AssetCategoryModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetCategory>
getExpandoBridge
in interface AssetCategoryModel
getExpandoBridge
in class BaseModelImpl<AssetCategory>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetCategory>
setExpandoBridgeAttributes
in interface AssetCategoryModel
setExpandoBridgeAttributes
in class BaseModelImpl<AssetCategory>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AssetCategory>
clone
in interface AssetCategoryModel
clone
in class BaseModelImpl<AssetCategory>
public int compareTo(AssetCategory assetCategory)
compareTo
in interface AssetCategoryModel
compareTo
in interface Comparable<AssetCategory>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AssetCategoryModel
hashCode
in class Object
public String toString()
toString
in interface AssetCategoryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetCategory>
toXmlString
in interface AssetCategoryModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |