class PermissionConverter implements ToClientConverter<ObjectPermission, RepositoryPermission, ToClientConversionOptions>, ToServerConverter<RepositoryPermission, ObjectPermission, ToServerConversionOptions> {

    public ObjectPermission toServer(RepositoryPermission clientObject, ToServerConversionOptions options) throws IllegalParameterValueException, MandatoryParameterNotFoundException {
        return toServer(clientObject, new ObjectPermissionImpl(), null);
    }

}