public class GetChildrenTask extends SessionedTask<java.util.Set<Ref>>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetChildrenTask.ChildType |
| Constructor and Description |
|---|
GetChildrenTask(Ref location, GetChildrenTask.ChildType type, boolean recursive)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<Ref> |
_execute()
Subclasses implement this method
|
static java.util.Set<Ref> |
getChildren(ConfigService configService, Ref location, boolean recursive) |
static java.util.Set<Ref> |
getChildren(ConfigService configService, java.lang.String session, Ref location, boolean recursive) |
static java.util.Set<Ref> |
getChildren(ConfigService configService, java.lang.String session, Ref location, GetChildrenTask.ChildType type, boolean recursive) |
static java.util.Set<Ref> |
getChildren(ConfigService configService, java.lang.String session, Ref location, GetChildrenTask.ChildType type, boolean recursive, boolean sanitize) |
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransactionpublic GetChildrenTask(Ref location, GetChildrenTask.ChildType type, boolean recursive)
location - the location to look for children intype - the type of children to queryrecursive - true if the search is to be recursive; false otherwisepublic static java.util.Set<Ref> getChildren(ConfigService configService, Ref location, boolean recursive) throws NotFoundException
NotFoundExceptionpublic static java.util.Set<Ref> getChildren(ConfigService configService, java.lang.String session, Ref location, boolean recursive) throws NotFoundException
NotFoundExceptionpublic static java.util.Set<Ref> getChildren(ConfigService configService, java.lang.String session, Ref location, GetChildrenTask.ChildType type, boolean recursive) throws NotFoundException
NotFoundExceptionpublic static java.util.Set<Ref> getChildren(ConfigService configService, java.lang.String session, Ref location, GetChildrenTask.ChildType type, boolean recursive, boolean sanitize) throws NotFoundException
NotFoundExceptionprotected java.util.Set<Ref> _execute() throws NotFoundException
SessionedTask_execute in class SessionedTask<java.util.Set<Ref>>NotFoundException