apply
public GroupInfo apply(TopLevelResource resource,
IdString id,
GroupInput input)
throws AuthException,
BadRequestException,
UnprocessableEntityException,
ResourceConflictException,
com.google.gwtorm.server.OrmException,
IOException,
org.eclipse.jgit.errors.ConfigInvalidException,
ResourceNotFoundException,
PermissionBackendException
Process the view operation by creating the resource.
- Specified by:
apply in interface RestCollectionCreateView<TopLevelResource,GroupResource,GroupInput>
- Parameters:
resource - parent resource of the resource that should be created
input - input after parsing from request.
- Returns:
- result to return to the client. Use
BinaryResult to avoid automatic conversion
to JSON.
- Throws:
AuthException
BadRequestException
UnprocessableEntityException
ResourceConflictException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
ResourceNotFoundException
PermissionBackendException