Liferay 7.0-ce-b8 portal-impl

com.liferay.portlet.asset.model.impl
Class AssetCategoryModelImpl

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>
      extended by com.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
All Implemented Interfaces:
com.liferay.asset.kernel.model.AssetCategoryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<com.liferay.asset.kernel.model.AssetCategory>
Direct Known Subclasses:
AssetCategoryBaseImpl

@JSON(strict=true)
@ProviderType
public class AssetCategoryModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>
implements com.liferay.asset.kernel.model.AssetCategoryModel

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.

See Also:
AssetCategoryImpl, AssetCategory, AssetCategoryModel, Serialized Form
{$generated.description}

Field 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 boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
           
static String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE
           
static long NAME_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PARENTCATEGORYID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static Map<String,Integer> TABLE_COLUMNS_MAP
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long UUID_COLUMN_BITMASK
           
static long VOCABULARYID_COLUMN_BITMASK
           
 
Constructor Summary
AssetCategoryModelImpl()
           
 
Method Summary
 Object clone()
           
 int compareTo(com.liferay.asset.kernel.model.AssetCategory assetCategory)
           
 boolean equals(Object obj)
           
 String[] getAvailableLanguageIds()
           
 long getCategoryId()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDefaultLanguageId()
           
 String getDescription()
           
 String getDescription(Locale locale)
           
 String getDescription(Locale locale, boolean useDefault)
           
 String getDescription(String languageId)
           
 String getDescription(String languageId, boolean useDefault)
           
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 Date getLastPublishDate()
           
 long getLeftCategoryId()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 String getName()
           
 long getNestedSetsTreeNodeLeft()
           
 long getNestedSetsTreeNodeRight()
           
 long getNestedSetsTreeNodeScopeId()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 String getOriginalName()
           
 long getOriginalParentCategoryId()
           
 String getOriginalUuid()
           
 long getOriginalVocabularyId()
           
 long getParentCategoryId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 long getRightCategoryId()
           
 com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
           
 String getTitle()
           
 String getTitle(Locale locale)
           
 String getTitle(Locale locale, boolean useDefault)
           
 String getTitle(String languageId)
           
 String getTitle(String languageId, boolean useDefault)
           
 String getTitleCurrentLanguageId()
           
 String getTitleCurrentValue()
           
 Map<Locale,String> getTitleMap()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 long getVocabularyId()
           
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isEntityCacheEnabled()
           
 boolean isFinderCacheEnabled()
           
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
           
 void setCategoryId(long categoryId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setDescription(String description, Locale locale)
           
 void setDescription(String description, Locale locale, Locale defaultLocale)
           
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLastPublishDate(Date lastPublishDate)
           
 void setLeftCategoryId(long leftCategoryId)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setNestedSetsTreeNodeLeft(long nestedSetsTreeNodeLeft)
           
 void setNestedSetsTreeNodeRight(long nestedSetsTreeNodeRight)
           
 void setParentCategoryId(long parentCategoryId)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setRightCategoryId(long rightCategoryId)
           
 void setTitle(String title)
           
 void setTitle(String title, Locale locale)
           
 void setTitle(String title, Locale locale, Locale defaultLocale)
           
 void setTitleCurrentLanguageId(String languageId)
           
 void setTitleMap(Map<Locale,String> titleMap)
           
 void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 void setVocabularyId(long vocabularyId)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.asset.kernel.model.AssetCategory> toCacheModel()
           
 com.liferay.asset.kernel.model.AssetCategory toEscapedModel()
           
static com.liferay.asset.kernel.model.AssetCategory toModel(com.liferay.asset.kernel.model.AssetCategorySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.asset.kernel.model.AssetCategory> toModels(com.liferay.asset.kernel.model.AssetCategorySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.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.asset.kernel.model.AssetCategoryModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

GROUPID_COLUMN_BITMASK

public static final long GROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

NAME_COLUMN_BITMASK

public static final long NAME_COLUMN_BITMASK
See Also:
Constant Field Values

PARENTCATEGORYID_COLUMN_BITMASK

public static final long PARENTCATEGORYID_COLUMN_BITMASK
See Also:
Constant Field Values

UUID_COLUMN_BITMASK

public static final long UUID_COLUMN_BITMASK
See Also:
Constant Field Values

VOCABULARYID_COLUMN_BITMASK

public static final long VOCABULARYID_COLUMN_BITMASK
See Also:
Constant Field Values

MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS

public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_COLUMNS

MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE

public static final String MAPPING_TABLE_ASSETENTRIES_ASSETCATEGORIES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES

public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETCATEGORIES

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

AssetCategoryModelImpl

public AssetCategoryModelImpl()
Method Detail

toModel

public static com.liferay.asset.kernel.model.AssetCategory toModel(com.liferay.asset.kernel.model.AssetCategorySoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<com.liferay.asset.kernel.model.AssetCategory> toModels(com.liferay.asset.kernel.model.AssetCategorySoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.asset.kernel.model.AssetCategoryModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.asset.kernel.model.AssetCategoryModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

getUuid

@JSON
public String getUuid()
Specified by:
getUuid in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getUuid in interface com.liferay.portal.kernel.model.StagedModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setUuid in interface com.liferay.portal.kernel.model.StagedModel

getOriginalUuid

public String getOriginalUuid()

getCategoryId

@JSON
public long getCategoryId()
Specified by:
getCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setCategoryId

public void setCategoryId(long categoryId)
Specified by:
setCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.GroupedModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.GroupedModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.StagedModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.StagedModel

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getUserId in interface com.liferay.portal.kernel.model.AuditedModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setUserId in interface com.liferay.portal.kernel.model.AuditedModel

getUserUuid

public String getUserUuid()
Specified by:
getUserUuid in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel

getUserName

@JSON
public String getUserName()
Specified by:
getUserName in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getUserName in interface com.liferay.portal.kernel.model.AuditedModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setUserName in interface com.liferay.portal.kernel.model.AuditedModel

getCreateDate

@JSON
public Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.StagedModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.StagedModel

getModifiedDate

@JSON
public Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel

getParentCategoryId

@JSON
public long getParentCategoryId()
Specified by:
getParentCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setParentCategoryId

public void setParentCategoryId(long parentCategoryId)
Specified by:
setParentCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getOriginalParentCategoryId

public long getOriginalParentCategoryId()

getLeftCategoryId

@JSON
public long getLeftCategoryId()
Specified by:
getLeftCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setLeftCategoryId

public void setLeftCategoryId(long leftCategoryId)
Specified by:
setLeftCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getRightCategoryId

@JSON
public long getRightCategoryId()
Specified by:
getRightCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setRightCategoryId

public void setRightCategoryId(long rightCategoryId)
Specified by:
setRightCategoryId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getName

@JSON
public String getName()
Specified by:
getName in interface com.liferay.asset.kernel.model.AssetCategoryModel

setName

public void setName(String name)
Specified by:
setName in interface com.liferay.asset.kernel.model.AssetCategoryModel

getOriginalName

public String getOriginalName()

getTitle

@JSON
public String getTitle()
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitle

public String getTitle(Locale locale)
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitle

public String getTitle(String languageId)
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitle

public String getTitle(String languageId,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitleCurrentLanguageId

public String getTitleCurrentLanguageId()
Specified by:
getTitleCurrentLanguageId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitleCurrentValue

@JSON
public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface com.liferay.asset.kernel.model.AssetCategoryModel

getTitleMap

public Map<Locale,String> getTitleMap()
Specified by:
getTitleMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitle

public void setTitle(String title,
                     Locale locale)
Specified by:
setTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitle

public void setTitle(String title,
                     Locale locale,
                     Locale defaultLocale)
Specified by:
setTitle in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitleCurrentLanguageId

public void setTitleCurrentLanguageId(String languageId)
Specified by:
setTitleCurrentLanguageId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap)
Specified by:
setTitleMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap,
                        Locale defaultLocale)
Specified by:
setTitleMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescription

@JSON
public String getDescription()
Specified by:
getDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescription

public String getDescription(String languageId)
Specified by:
getDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface com.liferay.asset.kernel.model.AssetCategoryModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Specified by:
getDescriptionMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescription

public void setDescription(String description,
                           Locale locale)
Specified by:
setDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Specified by:
setDescription in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Specified by:
setDescriptionMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Specified by:
setDescriptionMap in interface com.liferay.asset.kernel.model.AssetCategoryModel

getVocabularyId

@JSON
public long getVocabularyId()
Specified by:
getVocabularyId in interface com.liferay.asset.kernel.model.AssetCategoryModel

setVocabularyId

public void setVocabularyId(long vocabularyId)
Specified by:
setVocabularyId in interface com.liferay.asset.kernel.model.AssetCategoryModel

getOriginalVocabularyId

public long getOriginalVocabularyId()

getLastPublishDate

@JSON
public Date getLastPublishDate()
Specified by:
getLastPublishDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel

setLastPublishDate

public void setLastPublishDate(Date lastPublishDate)
Specified by:
setLastPublishDate in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel

getNestedSetsTreeNodeLeft

public long getNestedSetsTreeNodeLeft()

getNestedSetsTreeNodeRight

public long getNestedSetsTreeNodeRight()

getNestedSetsTreeNodeScopeId

public long getNestedSetsTreeNodeScopeId()

setNestedSetsTreeNodeLeft

public void setNestedSetsTreeNodeLeft(long nestedSetsTreeNodeLeft)

setNestedSetsTreeNodeRight

public void setNestedSetsTreeNodeRight(long nestedSetsTreeNodeRight)

getStagedModelType

public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

toEscapedModel

public com.liferay.asset.kernel.model.AssetCategory toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

clone

public Object clone()
Specified by:
clone in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Specified by:
clone in interface com.liferay.portal.kernel.model.StagedModel
Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

compareTo

public int compareTo(com.liferay.asset.kernel.model.AssetCategory assetCategory)
Specified by:
compareTo in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
compareTo in interface Comparable<com.liferay.asset.kernel.model.AssetCategory>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.asset.kernel.model.AssetCategoryModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

toCacheModel

public com.liferay.portal.kernel.model.CacheModel<com.liferay.asset.kernel.model.AssetCategory> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>
Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetCategory>

toString

public String toString()
Specified by:
toString in interface com.liferay.asset.kernel.model.AssetCategoryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Specified by:
toXmlString in interface com.liferay.asset.kernel.model.AssetCategoryModel
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetCategory>

Liferay 7.0-ce-b8 portal-impl