public List<Space> S() throws ScopeException {
  ArrayList<Space> spaces=new ArrayList<Space>();
  for (  Domain domain : getDomains()) {
    spaces.add(S(domain));
  }
  return spaces;
}

public List < Space > S ( ) throws ScopeException { ArrayList < Space > spaces = new ArrayList < Space > ( ) ; for ( Domain domain : getDomains ( ) ) { spaces . add ( S ( domain ) ) ; } return spaces ; }
return all the available spaces
