public class GetDependentsTask extends SessionedTask<java.util.Set<Ref>>
If the ref is a resource, it returns the direct dependents for that resource. If the ref is a location (project, folder), it returns the direct dependents external to that location tree. The dependents are collected from all resources from within that location tree.
Constructor and Description |
---|
GetDependentsTask(Ref root)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<Ref> |
_execute()
Subclasses implement this method
|
static java.util.Set<Ref> |
getDependents(ConfigService configService, Ref root) |
static java.util.Set<Ref> |
getDependents(ConfigService configService, java.lang.String session, Ref root) |
static java.util.Set<Ref> |
getDependents(ConfigService configService, java.lang.String session, Ref root, boolean sanitize) |
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransaction
public GetDependentsTask(Ref root)
public static java.util.Set<Ref> getDependents(ConfigService configService, Ref root) throws NotFoundException
NotFoundException
public static java.util.Set<Ref> getDependents(ConfigService configService, java.lang.String session, Ref root) throws NotFoundException
NotFoundException
public static java.util.Set<Ref> getDependents(ConfigService configService, java.lang.String session, Ref root, boolean sanitize) throws NotFoundException
NotFoundException
protected java.util.Set<Ref> _execute() throws NotFoundException
SessionedTask
_execute
in class SessionedTask<java.util.Set<Ref>>
NotFoundException