public class Thesaurus extends DefaultTraversableAmetysObject<ThesaurusFactory>
Modifier and Type | Field and Description |
---|---|
private static String |
__PROPERTY_LABEL |
private static String |
__PROPERTY_MICROTHESAURUS |
Constructor and Description |
---|
Thesaurus(Node node,
String parentPath,
ThesaurusFactory factory)
Creates an
Thesaurus . |
Modifier and Type | Method and Description |
---|---|
void |
addMicrothesaurus(String microthesaurus)
Add a microthesaurus to this thesaurus
|
String |
getLabel()
Get the label of the microthesaurus.
|
List<String> |
getMicrothesaurii()
Get the microthesaurii array of the thesaurus.
|
void |
removeMicrothesaurus(String microthesaurus)
Remove a microthesaurus from this thesaurus
|
void |
setLabel(String label)
Set the label of this microthesaurus.
|
void |
setMicrothesaurus(List<String> microthesaurii)
Set the microthesaurii of this thesaurus.
|
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, createChild, getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getChild, getChildren, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, hasChild, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getNode, getParent, getParentPath, getPath, needsSave, remove, rename, revertChanges, saveChanges
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getNode
getMetadataHolder
needsSave, rename, revertChanges, saveChanges
equals, getId, getName, getParent, getParentPath, getPath, hashCode
remove
getChildAt, getChildPosition
private static final String __PROPERTY_LABEL
private static final String __PROPERTY_MICROTHESAURUS
public Thesaurus(Node node, String parentPath, ThesaurusFactory factory)
Thesaurus
.node
- the node backing this AmetysObject
parentPath
- the parentPath in the Ametys hierarchyfactory
- the ThesaurusFactory which created the AmetysObjectpublic void setLabel(String label)
label
- the labelpublic void addMicrothesaurus(String microthesaurus)
microthesaurus
- the microthesaurus to addpublic void removeMicrothesaurus(String microthesaurus)
microthesaurus
- the microthesaurus to addpublic void setMicrothesaurus(List<String> microthesaurii)
microthesaurii
- the id of microthesaurii to addpublic List<String> getMicrothesaurii()