com.liferay.portlet.asset.model
Interface AssetVocabulary
- All Superinterfaces:
- AssetVocabularyModel, AuditedModel, BaseModel<AssetVocabulary>, ClassedModel, Cloneable, Comparable<AssetVocabulary>, GroupedModel, LocalizedModel, PersistedModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel
- All Known Implementing Classes:
- AssetVocabularyWrapper
@ProviderType
public interface AssetVocabulary
- extends AssetVocabularyModel, PersistedModel
The extended model interface for the AssetVocabulary service. Represents a row in the "AssetVocabulary" database table, with each column mapped to a property of this class.
- See Also:
AssetVocabularyModel,
com.liferay.portlet.asset.model.impl.AssetVocabularyImpl,
com.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl
|
Method Summary |
List<AssetCategory> |
getCategories()
|
int |
getCategoriesCount()
|
long[] |
getRequiredClassNameIds()
|
long[] |
getSelectedClassNameIds()
|
long[] |
getSelectedClassTypePKs()
|
UnicodeProperties |
getSettingsProperties()
Deprecated. As of 7.0.0, with no direct replacement |
String |
getUnambiguousTitle(List<AssetVocabulary> vocabularies,
long groupId,
Locale locale)
|
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 |
setSettingsProperties(UnicodeProperties settingsProperties)
Deprecated. As of 7.0.0, with no direct replacement |
| Methods inherited from interface com.liferay.portlet.asset.model.AssetVocabularyModel |
clone, compareTo, getAvailableLanguageIds, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getGroupId, getLastPublishDate, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getSettings, getTitle, getTitle, 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, setSettings, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, setVocabularyId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
VOCABULARY_ID_ACCESSOR
static final Accessor<AssetVocabulary,Long> VOCABULARY_ID_ACCESSOR
getCategories
List<AssetCategory> getCategories()
getCategoriesCount
int getCategoriesCount()
getRequiredClassNameIds
long[] getRequiredClassNameIds()
getSelectedClassNameIds
long[] getSelectedClassNameIds()
getSelectedClassTypePKs
long[] getSelectedClassTypePKs()
getSettingsProperties
@Deprecated
UnicodeProperties getSettingsProperties()
- Deprecated. As of 7.0.0, with no direct replacement
getUnambiguousTitle
String getUnambiguousTitle(List<AssetVocabulary> vocabularies,
long groupId,
Locale locale)
throws PortalException
- Throws:
PortalException
hasMoreThanOneCategorySelected
boolean hasMoreThanOneCategorySelected(long[] categoryIds)
isAssociatedToClassNameId
boolean isAssociatedToClassNameId(long classNameId)
isAssociatedToClassNameIdAndClassTypePK
boolean isAssociatedToClassNameIdAndClassTypePK(long classNameId,
long classTypePK)
isMissingRequiredCategory
boolean isMissingRequiredCategory(long classNameId,
long classTypePK,
long[] categoryIds)
isMultiValued
boolean isMultiValued()
isRequired
@Deprecated
boolean isRequired(long classNameId)
- Deprecated. As of 7.0.0, replaced by
isRequired(long, long)
isRequired
boolean isRequired(long classNameId,
long classTypePK)
setSettingsProperties
@Deprecated
void setSettingsProperties(UnicodeProperties settingsProperties)
- Deprecated. As of 7.0.0, with no direct replacement