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.
|
java.util.List |
getByChild(AVMNode child)
Get all the ChildEntries corresponding to the given child.
|
java.util.List |
getByParent(DirectoryNode parent,
java.lang.String childNamePattern)
Get all the children of a given parent.
|
void |
rename(ChildKey key,
java.lang.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.java.util.List getByParent(DirectoryNode parent, java.lang.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.java.util.List getByChild(AVMNode child)
child - The child for which to look up entries.void rename(ChildKey key, java.lang.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 - 2010 Alfresco Software, Inc. All Rights Reserved.