public Map < String , String > getSpaceProperties ( String spaceId ) { Map < String , String > spaceProps = new HashMap < String , String > ( ) ; Map < String , String > allProps = getAllSpaceProperties ( spaceId ) ; // ONLY include non-ACL properties. for ( String name : allProps . keySet ( ) ) { if ( ! name . startsWith ( PROPERTIES_SPACE_ACL ) ) { spaceProps . put ( name , allProps . get ( name ) ) ; } } return spaceProps ; }
This method returns all of the space properties EXCEPT the ACLs