Liferay 7.0-ce-b8 portal-impl

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

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetVocabulary>
      extended by com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
          extended by com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
              extended by com.liferay.portlet.asset.model.impl.AssetVocabularyImpl
All Implemented Interfaces:
com.liferay.asset.kernel.model.AssetVocabulary, com.liferay.asset.kernel.model.AssetVocabularyModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetVocabulary>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.PersistedModel, 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.AssetVocabulary>

public class AssetVocabularyImpl
extends AssetVocabularyBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.asset.kernel.model.AssetVocabulary
VOCABULARY_ID_ACCESSOR
 
Constructor Summary
AssetVocabularyImpl()
           
 
Method Summary
 List<com.liferay.asset.kernel.model.AssetCategory> getCategories()
           
 int getCategoriesCount()
           
 long[] getRequiredClassNameIds()
           
 long[] getSelectedClassNameIds()
           
 long[] getSelectedClassTypePKs()
           
 String getSettings()
           
 com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
          Deprecated. As of 7.0.0, with no direct replacement
 String getTitle(String languageId)
           
 String getTitle(String languageId, boolean useDefault)
           
 String getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies, long groupId, Locale locale)
           
protected  AssetVocabularySettingsHelper getVocabularySettingsHelper()
           
 boolean hasMoreThanOneCategorySelected(long[] categoryIds)
           
 boolean isAssociatedToClassNameId(long classNameId)
           
 boolean isAssociatedToClassNameIdAndClassTypePK(long classNameId, long classTypePK)
           
 boolean isMissingRequiredCategory(long classNameId, long classTypePK, long[] categoryIds)
           
 boolean isMultiValued()
           
 boolean isRequired(long classNameId)
          Deprecated. As of 7.0.0, replaced by isRequired(long, long)
 boolean isRequired(long classNameId, long classTypePK)
           
 void setSettings(String settings)
           
 void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties settingsProperties)
          Deprecated. As of 7.0.0, with no direct replacement
 
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
clone, compareTo, equals, getAvailableLanguageIds, getColumnBitmask, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalGroupId, getOriginalName, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getStagedModelType, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setGroupId, setLastPublishDate, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toModel, toModels, toString, 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.AssetVocabularyModel
clone, compareTo, getAvailableLanguageIds, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, getVocabularyId, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLastPublishDate, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
getStagedModelType
 

Constructor Detail

AssetVocabularyImpl

public AssetVocabularyImpl()
Method Detail

getCategories

public List<com.liferay.asset.kernel.model.AssetCategory> getCategories()

getCategoriesCount

public int getCategoriesCount()

getRequiredClassNameIds

public long[] getRequiredClassNameIds()

getSelectedClassNameIds

public long[] getSelectedClassNameIds()

getSelectedClassTypePKs

public long[] getSelectedClassTypePKs()

getSettings

public String getSettings()
Specified by:
getSettings in interface com.liferay.asset.kernel.model.AssetVocabularyModel
Overrides:
getSettings in class AssetVocabularyModelImpl

getSettingsProperties

@Deprecated
public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties()
Deprecated. As of 7.0.0, with no direct replacement


getTitle

public String getTitle(String languageId)
Specified by:
getTitle in interface com.liferay.asset.kernel.model.AssetVocabularyModel
Overrides:
getTitle in class AssetVocabularyModelImpl

getTitle

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

getUnambiguousTitle

public String getUnambiguousTitle(List<com.liferay.asset.kernel.model.AssetVocabulary> vocabularies,
                                  long groupId,
                                  Locale locale)
                           throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

hasMoreThanOneCategorySelected

public boolean hasMoreThanOneCategorySelected(long[] categoryIds)

isAssociatedToClassNameId

public boolean isAssociatedToClassNameId(long classNameId)

isAssociatedToClassNameIdAndClassTypePK

public boolean isAssociatedToClassNameIdAndClassTypePK(long classNameId,
                                                       long classTypePK)

isMissingRequiredCategory

public boolean isMissingRequiredCategory(long classNameId,
                                         long classTypePK,
                                         long[] categoryIds)

isMultiValued

public boolean isMultiValued()

isRequired

@Deprecated
public boolean isRequired(long classNameId)
Deprecated. As of 7.0.0, replaced by isRequired(long, long)


isRequired

public boolean isRequired(long classNameId,
                          long classTypePK)

setSettings

public void setSettings(String settings)
Specified by:
setSettings in interface com.liferay.asset.kernel.model.AssetVocabularyModel
Overrides:
setSettings in class AssetVocabularyModelImpl

setSettingsProperties

@Deprecated
public void setSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties settingsProperties)
Deprecated. As of 7.0.0, with no direct replacement


getVocabularySettingsHelper

protected AssetVocabularySettingsHelper getVocabularySettingsHelper()

Liferay 7.0-ce-b8 portal-impl