CESNET/perun — pull request #619 by zlamalp (2014-12-10 14:49:01+00:00)
Title: Optimization of getData() methods

- Added methods getRequiredAttributes() which can handle list of members or users
and retrieved all attributes at once for all members/users. Returned value is HashMap
with key "member/user" and value "list of attributes".
- Use above methods in getData() like methods to skip iteration over all members/users
on resource.
- When resolving authorization on attributes, always load user and
facility (if necessary by method). Don't do it for each retrieved attribute.
Like this data are loaded everytime, but only once (not per each attribute).
- Fixed typos on various places, removed some whitespace.
- Fixed indentation of ServicesManagerEntryIntegrationTest.

This pull request should resolve issues from #574.