public void remove(String userId,String domainId,String instanceId) throws ConflictException, ServerException, NotFoundException {
  final PermissionsDao<? extends AbstractPermissions> permissionsDao=getPermissionsDao(domainId);
  if (userHasLastSetPermissions(permissionsDao,userId,instanceId)) {
    throw new ConflictException("Can't remove permissions because there is not any another user with permission 'setPermissions'");
  }
  permissionsDao.remove(userId,instanceId);
}

public void remove ( String userId , String domainId , String instanceId ) throws ConflictException , ServerException , NotFoundException { final PermissionsDao < ? extends AbstractPermissions > permissionsDao = getPermissionsDao ( domainId ) ; if ( userHasLastSetPermissions ( permissionsDao , userId , instanceId ) ) { throw new ConflictException ( "Can't remove permissions because there is not any another user with permission 'setPermissions'" ) ; } permissionsDao . remove ( userId , instanceId ) ; }
removes permissions of userid related to the particular instanceid of specified domainid
