public class SubmittedTogether extends Object implements RestReadView<ChangeResource>
Modifier and Type | Method and Description |
---|---|
SubmittedTogether |
addListChangesOption(EnumSet<ListChangesOption> o) |
SubmittedTogether |
addSubmittedTogetherOption(EnumSet<SubmittedTogetherOption> o) |
Object |
apply(ChangeResource resource)
Process the view operation by reading from the resource.
|
SubmittedTogetherInfo |
applyInfo(ChangeResource resource) |
public SubmittedTogether addListChangesOption(EnumSet<ListChangesOption> o)
public SubmittedTogether addSubmittedTogetherOption(EnumSet<SubmittedTogetherOption> o)
public Object apply(ChangeResource resource) throws AuthException, BadRequestException, ResourceConflictException, IOException, PermissionBackendException
RestReadView
apply
in interface RestReadView<ChangeResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.IOException
PermissionBackendException
public SubmittedTogetherInfo applyInfo(ChangeResource resource) throws AuthException, IOException, PermissionBackendException