public interface ITermNodeService extends IVersionableService<TermNode>
Modifier and Type | Method and Description |
---|---|
UpdateResult |
addChildNode(java.util.UUID parentNodeUUID,
java.util.UUID termChildUuid)
Adds the specified term as a child node to the given term node
|
UpdateResult |
addChildNode(java.util.UUID parentNodeUUID,
java.util.UUID termChildUuid,
int position)
Adds the specified term as a child node to the given term node at the given position
|
UpdateResult |
createChildNode(java.util.UUID parentNodeUuid,
DefinedTermBase term,
java.util.UUID vocabularyUuid)
Saves and adds the specified term as a child node to the given term node.
|
DeleteResult |
deleteNode(java.util.UUID nodeUuid,
TermNodeDeletionConfigurator config) |
DeleteResult |
isDeletable(java.util.UUID nodeUuid,
TermNodeDeletionConfigurator config) |
java.util.List<TermNode> |
list(TermType termType,
java.lang.Integer limit,
java.lang.Integer start,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
UpdateResult |
moveNode(java.util.UUID movedNodeUuid,
java.util.UUID targetNodeUuid)
Moves a given
TermNode to the target node; |
UpdateResult |
moveNode(java.util.UUID movedNodeUuid,
java.util.UUID targetNodeUuid,
int position)
Moves a given
TermNode to the target node at the given position; |
getNextAuditEvent, getPreviousAuditEvent, isDeletable, pageAuditEvents, pageAuditEvents
clear, count, delete, delete, delete, exists, find, find, find, find, findById, findWithoutFlush, getSession, group, list, list, load, load, load, load, loadByIds, loadByIds, loadWithUpdate, lock, merge, merge, merge, merge, page, page, page, pageByParamWithRestrictions, refresh, refresh, save, save, saveOrUpdate, saveOrUpdate, update
java.util.List<TermNode> list(TermType termType, java.lang.Integer limit, java.lang.Integer start, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
DeleteResult isDeletable(java.util.UUID nodeUuid, TermNodeDeletionConfigurator config)
DeleteResult deleteNode(java.util.UUID nodeUuid, TermNodeDeletionConfigurator config)
UpdateResult createChildNode(java.util.UUID parentNodeUuid, DefinedTermBase term, java.util.UUID vocabularyUuid)
parentNodeUuid
- the term node to which the new term should be addedterm
- the term which should be saved and added to the given term nodevocabularyUuid
- the UUID of the vocabulary where the term should be savedITermNodeService#addChildNode(TermNode, DefinedTermBase)
UpdateResult addChildNode(java.util.UUID parentNodeUUID, java.util.UUID termChildUuid)
parentNodeUUID
- the UUID of the term node to which the new term should be addedtermChildUuid
- the UUID of the term which should be added to the given term nodeUpdateResult addChildNode(java.util.UUID parentNodeUUID, java.util.UUID termChildUuid, int position)
parentNodeUUID
- the UUID of the term node to which the new term should be addedtermChildUuid
- the UUID of the term which should be added to the given term nodeposition
- the position where the child node should be addedUpdateResult moveNode(java.util.UUID movedNodeUuid, java.util.UUID targetNodeUuid, int position)
TermNode
to the target node at the given position;movedNodeUuid
- the node to movetargetNodeUuid
- the target nodeposition
- the position in the list of children of the target nodeUpdateResult moveNode(java.util.UUID movedNodeUuid, java.util.UUID targetNodeUuid)
TermNode
to the target node;movedNodeUuid
- the node to movetargetNodeUuid
- the target nodeCopyright © 2007-2020 EDIT. All Rights Reserved.