| org.sakaiproject.tool.assessment.facade.authz.integrated.AuthzQueriesFacade
AuthzQueriesFacade | public class AuthzQueriesFacade extends HibernateDaoSupport implements AuthzQueriesFacadeAPI(Code) | | Description: Facade for AuthZ queries, standalone version.
Sakai Project Copyright (c) 2005
@todo use resources in AuthzResource.
author: cwen author: Rachel Gollub author: Ed Smiley split integrated, standlaone. |
Method Summary | |
public boolean | checkAuthorization(String agentId, String functionId, String qualifierId) | public boolean | checkMembership(String siteId) | public AuthorizationData | createAuthorization(String agentId, String functionId, String qualifierId) | public ArrayList | getAssessments(String agentId, String functionId) | public ArrayList | getAssessmentsByAgentAndFunction(String agentId, String functionId) | public List | getAuthorizationByAgentAndFunction(String agentId, String functionId) | public List | getAuthorizationByFunctionAndQualifier(String functionId, String qualifierId) | public HashMap | getAuthorizationToViewAssessments(String agentId) | public boolean | hasPrivilege(String functionName) | public boolean | isAuthorized(String agentId, String functionId, String qualifierId) | public void | removeAuthorizationByQualifier(String qualifierId, boolean isPublishedAssessment) |
checkMembership | public boolean checkMembership(String siteId)(Code) | | |
getAuthorizationByAgentAndFunction | public List getAuthorizationByAgentAndFunction(String agentId, String functionId)(Code) | | |
getAuthorizationByFunctionAndQualifier | public List getAuthorizationByFunctionAndQualifier(String functionId, String qualifierId)(Code) | | |
getAuthorizationToViewAssessments | public HashMap getAuthorizationToViewAssessments(String agentId)(Code) | | This returns a HashMap containing (String a.qualiferId, AuthorizationData a)
agentId is a site for now but can be a user
|
hasPrivilege | public boolean hasPrivilege(String functionName)(Code) | | |
removeAuthorizationByQualifier | public void removeAuthorizationByQualifier(String qualifierId, boolean isPublishedAssessment)(Code) | | |
|
|