public class CreateDashboard extends Object implements RestCollectionCreateView<ProjectResource,DashboardResource,SetDashboardInput>
| Modifier and Type | Method and Description |
|---|---|
Response<DashboardInfo> |
apply(ProjectResource parent,
IdString id,
SetDashboardInput input)
Process the view operation by creating the resource.
|
public Response<DashboardInfo> apply(ProjectResource parent, IdString id, SetDashboardInput input) throws RestApiException, IOException, PermissionBackendException
RestCollectionCreateViewapply in interface RestCollectionCreateView<ProjectResource,DashboardResource,SetDashboardInput>parent - parent resource of the resource that should be createdinput - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.RestApiException - if the resource creation is rejectedIOExceptionPermissionBackendException