class DataUserMasterResource extends AbstractDataResource {

  @PUT
  @Path("users/{objectId}")
  public Response updateById(@Context UriInfo uriInfo, @PathParam("objectId") String idStr, ManageableUser user) {
    ObjectId id = ObjectId.parse(idStr);
    if (id.equals(user.getObjectId()) == false) {
      throw new IllegalArgumentException("ObjectId of user does not match URI");
    }
    UniqueId result = getUserMaster().update(user);
    return responseOkObject(result);
  }

  public  DataUserMasterResource(final UserMaster userMaster);

}