public class SubmittedTogether extends java.lang.Object implements RestReadView<ChangeResource>
Modifier and Type | Method and Description |
---|---|
SubmittedTogether |
addListChangesOption(java.util.Set<ListChangesOption> o) |
SubmittedTogether |
addSubmittedTogetherOption(java.util.Set<SubmittedTogetherOption> o) |
java.lang.Object |
apply(ChangeResource resource)
Process the view operation by reading from the resource.
|
SubmittedTogetherInfo |
applyInfo(ChangeResource resource) |
public SubmittedTogether addListChangesOption(java.util.Set<ListChangesOption> o)
public SubmittedTogether addSubmittedTogetherOption(java.util.Set<SubmittedTogetherOption> o)
public java.lang.Object apply(ChangeResource resource) throws AuthException, BadRequestException, ResourceConflictException, java.io.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.java.io.IOException
PermissionBackendException
public SubmittedTogetherInfo applyInfo(ChangeResource resource) throws AuthException, java.io.IOException, PermissionBackendException
AuthException
java.io.IOException
PermissionBackendException