|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| Field 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 AssetCategoryModelpublic void setPrimaryKey(long pk)
AssetCategoryModel
setPrimaryKey in interface AssetCategoryModelpk - the primary key of this asset categorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetCategory>getPrimaryKeyObj in interface AssetCategoryModelpublic String getUuid()
AssetCategoryModel
getUuid in interface AssetCategoryModelpublic void setUuid(String uuid)
AssetCategoryModel
setUuid in interface AssetCategoryModeluuid - the uuid of this asset categorypublic String getOriginalUuid()
public long getCategoryId()
AssetCategoryModel
getCategoryId in interface AssetCategoryModelpublic void setCategoryId(long categoryId)
AssetCategoryModel
setCategoryId in interface AssetCategoryModelcategoryId - the category id of this asset categorypublic long getGroupId()
AssetCategoryModel
getGroupId in interface AssetCategoryModelpublic void setGroupId(long groupId)
AssetCategoryModel
setGroupId in interface AssetCategoryModelgroupId - the group id of this asset categorypublic long getOriginalGroupId()
public long getCompanyId()
AssetCategoryModel
getCompanyId in interface AssetCategoryModelpublic void setCompanyId(long companyId)
AssetCategoryModel
setCompanyId in interface AssetCategoryModelcompanyId - the company id of this asset categorypublic long getUserId()
AssetCategoryModel
getUserId in interface AssetCategoryModelpublic void setUserId(long userId)
AssetCategoryModel
setUserId in interface AssetCategoryModeluserId - the user id of this asset category
public String getUserUuid()
throws SystemException
AssetCategoryModel
getUserUuid in interface AssetCategoryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AssetCategoryModel
setUserUuid in interface AssetCategoryModeluserUuid - the user uuid of this asset categorypublic String getUserName()
AssetCategoryModel
getUserName in interface AssetCategoryModelpublic void setUserName(String userName)
AssetCategoryModel
setUserName in interface AssetCategoryModeluserName - the user name of this asset categorypublic Date getCreateDate()
AssetCategoryModel
getCreateDate in interface AssetCategoryModelpublic void setCreateDate(Date createDate)
AssetCategoryModel
setCreateDate in interface AssetCategoryModelcreateDate - the create date of this asset categorypublic Date getModifiedDate()
AssetCategoryModel
getModifiedDate in interface AssetCategoryModelpublic void setModifiedDate(Date modifiedDate)
AssetCategoryModel
setModifiedDate in interface AssetCategoryModelmodifiedDate - the modified date of this asset categorypublic long getParentCategoryId()
AssetCategoryModel
getParentCategoryId in interface AssetCategoryModelpublic void setParentCategoryId(long parentCategoryId)
AssetCategoryModel
setParentCategoryId in interface AssetCategoryModelparentCategoryId - the parent category id of this asset categorypublic long getOriginalParentCategoryId()
public long getLeftCategoryId()
AssetCategoryModel
getLeftCategoryId in interface AssetCategoryModelpublic void setLeftCategoryId(long leftCategoryId)
AssetCategoryModel
setLeftCategoryId in interface AssetCategoryModelleftCategoryId - the left category id of this asset categorypublic long getRightCategoryId()
AssetCategoryModel
getRightCategoryId in interface AssetCategoryModelpublic void setRightCategoryId(long rightCategoryId)
AssetCategoryModel
setRightCategoryId in interface AssetCategoryModelrightCategoryId - the right category id of this asset categorypublic String getName()
AssetCategoryModel
getName in interface AssetCategoryModelpublic void setName(String name)
AssetCategoryModel
setName in interface AssetCategoryModelname - the name of this asset categorypublic String getOriginalName()
public String getTitle()
AssetCategoryModel
getTitle in interface AssetCategoryModelpublic String getTitle(Locale locale)
AssetCategoryModel
getTitle in interface AssetCategoryModellocale - the locale to get the localized title for
public String getTitle(Locale locale,
boolean useDefault)
AssetCategoryModel
getTitle in interface AssetCategoryModellocale - 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 AssetCategoryModellanguageId - the id of the language to get the localized title for
public String getTitle(String languageId,
boolean useDefault)
AssetCategoryModel
getTitle in interface AssetCategoryModellanguageId - 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 AssetCategoryModelpublic void setTitle(String title)
AssetCategoryModel
setTitle in interface AssetCategoryModeltitle - the title of this asset category
public void setTitle(Locale locale,
String title)
AssetCategoryModel
setTitle in interface AssetCategoryModellocale - 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 AssetCategoryModeltitleMap - the locales and localized titles of this asset categorypublic long getVocabularyId()
AssetCategoryModel
getVocabularyId in interface AssetCategoryModelpublic void setVocabularyId(long vocabularyId)
AssetCategoryModel
setVocabularyId in interface AssetCategoryModelvocabularyId - the vocabulary id of this asset categorypublic long getOriginalVocabularyId()
public AssetCategory toEscapedModel()
AssetCategoryModelAutoEscapeBeanHandler.
toEscapedModel in interface AssetCategoryModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetCategory>getExpandoBridge in interface AssetCategoryModelgetExpandoBridge in class BaseModelImpl<AssetCategory>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetCategory>setExpandoBridgeAttributes in interface AssetCategoryModelsetExpandoBridgeAttributes 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 AssetCategoryModelclone in class BaseModelImpl<AssetCategory>public int compareTo(AssetCategory assetCategory)
compareTo in interface AssetCategoryModelcompareTo in interface Comparable<AssetCategory>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AssetCategoryModelhashCode in class Objectpublic String toString()
toString in interface AssetCategoryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetCategory>toXmlString in interface AssetCategoryModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||