public class ListChildProjects extends java.lang.Object implements RestReadView<ProjectResource>
Modifier and Type | Method and Description |
---|---|
java.util.List<ProjectInfo> |
apply(ProjectResource rsrc)
Process the view operation by reading from the resource.
|
void |
setRecursive(boolean recursive) |
public void setRecursive(boolean recursive)
public java.util.List<ProjectInfo> apply(ProjectResource rsrc) throws PermissionBackendException, ResourceConflictException
RestReadView
apply
in interface RestReadView<ProjectResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.PermissionBackendException