public class AssetVocabularySettingsHelper
extends Object
Modifier and Type | Field and Description |
---|---|
static long[] |
DEFAULT_SELECTED_CLASS_NAME_IDS |
static long[] |
DEFAULT_SELECTED_CLASS_TYPE_PKS |
Constructor and Description |
---|
AssetVocabularySettingsHelper() |
AssetVocabularySettingsHelper(String propertiesString) |
Modifier and Type | Method and Description |
---|---|
protected long |
getClassNameId(String classNameIdAndClassTypePK) |
protected String |
getClassNameIdAndClassTypePK(long classNameId,
long classTypePK) |
long[] |
getClassNameIds() |
protected long[] |
getClassNameIds(String[] classNameIdsAndClassTypePKs) |
protected String[] |
getClassNameIdsAndClassTypePKs() |
protected long |
getClassTypePK(String classNameIdAndClassTypePK) |
long[] |
getClassTypePKs() |
protected long[] |
getClassTypePKs(String[] classNameIdsAndClassTypePKs) |
long[] |
getRequiredClassNameIds() |
protected String[] |
getRequiredClassNameIdsAndClassTypePKs() |
long[] |
getRequiredClassTypePKs() |
boolean |
hasClassNameIdAndClassTypePK(long classNameId,
long classTypePK) |
boolean |
isClassNameIdAndClassTypePKRequired(long classNameId,
long classTypePK) |
protected boolean |
isClassNameIdAndClassTypePKSpecified(long classNameId,
long classTypePK,
String[] classNameIdsAndClassTypePKs) |
boolean |
isMultiValued() |
void |
setClassNameIdsAndClassTypePKs(long[] classNameIds,
long[] classTypePKs,
boolean[] requireds) |
void |
setMultiValued(boolean multiValued) |
String |
toString() |
public static final long[] DEFAULT_SELECTED_CLASS_NAME_IDS
public static final long[] DEFAULT_SELECTED_CLASS_TYPE_PKS
public AssetVocabularySettingsHelper()
public AssetVocabularySettingsHelper(String propertiesString)
public long[] getClassNameIds()
public long[] getClassTypePKs()
public long[] getRequiredClassNameIds()
public long[] getRequiredClassTypePKs()
public boolean hasClassNameIdAndClassTypePK(long classNameId, long classTypePK)
public boolean isClassNameIdAndClassTypePKRequired(long classNameId, long classTypePK)
public boolean isMultiValued()
public void setClassNameIdsAndClassTypePKs(long[] classNameIds, long[] classTypePKs, boolean[] requireds)
public void setMultiValued(boolean multiValued)
public String toString()
toString
in class Object
protected long getClassNameId(String classNameIdAndClassTypePK)
protected String getClassNameIdAndClassTypePK(long classNameId, long classTypePK)
protected long[] getClassNameIds(String[] classNameIdsAndClassTypePKs)
protected String[] getClassNameIdsAndClassTypePKs()
protected long getClassTypePK(String classNameIdAndClassTypePK)
protected long[] getClassTypePKs(String[] classNameIdsAndClassTypePKs)
protected String[] getRequiredClassNameIdsAndClassTypePKs()
protected boolean isClassNameIdAndClassTypePKSpecified(long classNameId, long classTypePK, String[] classNameIdsAndClassTypePKs)