public AuthorizedList addCompartments(String... theCompartments) {
		Validate.notNull(theCompartments, "theCompartments must not be null");
		for (String next : theCompartments) {
			addCompartment(next);
		}
		return this;
	}
public AuthorizedList addCompartments ( String ... theCompartments ) { Validate . notNull ( theCompartments , "theCompartments must not be null" ) ; for ( String next : theCompartments ) { addCompartment ( next ) ; } return this ; }
Adds a compartment that the user should be allowed to access

@param theCompartments The compartment names, e.g. "Patient/123" (in this example the user would be allowed to access Patient/123 as well as Observations where Observation.subject="Patient/123"m, etc.
@return Returns <code>this</code> for easy method chaining