public interface ChildEntryDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(ChildEntry child)
Delete one.
|
void |
deleteByParent(AVMNode parent)
Delete all children of the given parent.
|
void |
evict(ChildEntry entry)
Deprecated.
|
boolean |
existsParentChild(DirectoryNode parent,
AVMNode child)
Does the entry exist for a given child in a given parent.
|
ChildEntry |
get(ChildKey key)
Get an entry by name and parent.
|
List<ChildEntry> |
getByChild(AVMNode child)
Get all the ChildEntries corresponding to the given child.
|
List<ChildEntry> |
getByParent(DirectoryNode parent,
String childNamePattern)
Get all the children of a given parent.
|
void |
rename(ChildKey key,
String newName)
Rename a child entry (specific rename 'case' only)
|
void |
save(ChildEntry entry)
Save an unsaved ChildEntry.
|
void save(ChildEntry entry)
entry - The entry to save.ChildEntry get(ChildKey key)
name - The name of the child to find.parent - The parent to look in.List<ChildEntry> getByParent(DirectoryNode parent, String childNamePattern)
parent - The parent.childNamePattern - - achild name pattern to match - null is supported for match allboolean existsParentChild(DirectoryNode parent, AVMNode child)
parent - The parent.child - The child.List<ChildEntry> getByChild(AVMNode child)
child - The child for which to look up entries.void rename(ChildKey key, String newName)
child - The one to rename.void delete(ChildEntry child)
child - The one to delete.void deleteByParent(AVMNode parent)
parent - The parent.void evict(ChildEntry entry)
entry - Copyright © 2005–2014 Alfresco Software. All rights reserved.