BACKLOG-855 added caching for metadata entity
BACKLOG-945 Performance improvement by setting alreadt known revision id and workflow state before loading entities prevents extra queries to get newest revision or eid from being executed
BACKLOG-855 Corrected comment
BACKLOG-855 Entity is now also cached per revision
BACKLO-855 Simplified loading of entity, this also prevents endless loops in some cases
BACKLOG-855 User controller is now only instatiated when needed, this also shortens the lifespan of the variable
BACKLOG-855 Renamed some variables to make it more obvious if code is about an Sp or an Idp
BACKLOG-855 Renamed revision variables so it's clear it it's an idp or sp revision
BACKLOG-855 used a consistent spelling for revision since it was spelled as both 'revisionId' and 'revision' since it is not really an id chose the latter
BACKLOG-855 Getting the allowed and blocked sp's for and idp and vice versa now requires less queries This required linked entities to return more information (eid/revisionid) about the remote entity so the result can be used to create a new entity instance.
BACKLOG-855 Added caching for blocked and allowed entities
BACKLOG-855 fixed assigning cache value
BACKLOG-855 fix caching of linked entities should be per state
BACKLOG-855 Fixed incorrecte varname in assertion
BACKLOG-855 Checking wether a cached value exists should be done by checking if cache result is null
BACKOG-855 corrected comments
BACKLOG-855 Added missing disable consent property
BACKLOG-855 added missing throws in docblock
BACKLOG-855 Metadata and disable consent are now separately so caching is usable outside REST also
BACKLOG-855 Added caching for entity prettyname