fri.util.database.jpa.tree
Interface TreeDao.CopiedNodeRenamer<N extends TreeNode>
- Enclosing interface:
- TreeDao<N extends TreeNode>
public static interface TreeDao.CopiedNodeRenamer<N extends TreeNode>
Implementers have the opportunity to edit copied nodes before they are inserted.
This might prevent unique constraint(s) violations.
Method Summary |
void |
renameCopiedNode(N node)
Edits the properties of given tree node to not violate unique constraint(s). |
renameCopiedNode
void renameCopiedNode(N node)
- Edits the properties of given tree node to not violate unique constraint(s).
The implementer is expected to cast the given node for editing.
- Parameters:
node
- the copied node that should be modified before insertion.