| java.lang.Object org.theospi.portfolio.presentation.PresentationAuthorizerImpl
Method Summary | |
protected Boolean | canPublishLayout(AuthorizationFacade facade, Id qualifier, Agent agent, String function) | public List | getFunctions() | public IdManager | getIdManager() | public PresentationManager | getPresentationManager() | public Boolean | isAuthorized(AuthorizationFacade facade, Agent agent, String function, Id id) This method will ask the application specific functional authorizer to determine authorization. | protected Boolean | isFileAuth(AuthorizationFacade facade, Agent agent, Id id) | protected Boolean | isLayoutAuth(AuthorizationFacade facade, Id qualifier, Agent agent, String function) | protected Boolean | isPresentationAuth(AuthorizationFacade facade, Id qualifier, Agent agent, String function) | protected Boolean | isPresentationCommentAuth(AuthorizationFacade facade, Agent agent, Id id) | protected Boolean | isPresentationViewAuth(AuthorizationFacade facade, Agent agent, Id id, boolean allowAnonymous) | protected Boolean | isPresentationViewAuth(Presentation pres, AuthorizationFacade facade, Agent agent, Id id, boolean allowAnonymous) | protected Boolean | isTemplateAuth(AuthorizationFacade facade, Id qualifier, Agent agent, String function) | public void | setFunctions(List functions) | public void | setIdManager(IdManager idManager) | public void | setPresentationManager(PresentationManager presentationManager) |
isAuthorized | public Boolean isAuthorized(AuthorizationFacade facade, Agent agent, String function, Id id)(Code) | | This method will ask the application specific functional authorizer to determine authorization.
Parameters: facade - this can be used to do explicit auths if necessary Parameters: agent - Parameters: function - Parameters: id - null if the authorizer has no opinion, true if authorized, false if explicitly not authorized. |
setFunctions | public void setFunctions(List functions)(Code) | | |
|
|