org.sakaiproject.tool.assessment.integration.helper.ifc
Interface AgentHelper

All Superinterfaces:
Serializable
All Known Implementing Classes:
AgentHelperImpl, AgentHelperImpl

public interface AgentHelper
extends Serializable

Description: This is a context implementation helper delegate interface for the AgentFacade class. Using Spring injection via the integrationContext.xml selected by the build process to find the implementation.

Sakai Project Copyright (c) 2005

Author:
Ed Smiley

Field Summary
static String UNASSIGNED_AGENT_STRING
           
 
Method Summary
 String createAnonymous(AgentFacade agent)
           
 AgentImpl getAgent()
           
 String getAgentString(String agentString)
           
 String getAnonymousId(String agentString)
           
 String getCurrentSiteId(boolean accessViaUrl)
           
 String getCurrentSiteName(boolean accessViaUrl)
           
 String getDisplayName(String agentString)
           
 String getDisplayNameByAgentId(String agentId)
           
 String getEid(String agentString)
           
 String getEidById(String agentString)
           
 String getEmail(String agentString)
           
 String getFirstName(String agentString)
           
 String getLastName(String agentString)
           
 String getRole(String agentString)
           
 String getRoleForAgentAndSite(String agentString, String siteId)
           
 String getRoleForCurrentAgent(String agentString)
           
 String getSiteName(String siteId)
           
 Map getUserRolesFromContextRealm(Collection inUsers)
           
 boolean isFileUploadAvailable()
          Deprecated.  
 boolean isIntegratedEnvironment()
           
 boolean isStandaloneEnvironment()
           
 

Field Detail

UNASSIGNED_AGENT_STRING

static final String UNASSIGNED_AGENT_STRING
See Also:
Constant Field Values
Method Detail

getAgent

AgentImpl getAgent()

getAgentString

String getAgentString(String agentString)

createAnonymous

String createAnonymous(AgentFacade agent)

getAnonymousId

String getAnonymousId(String agentString)

getDisplayName

String getDisplayName(String agentString)

getFirstName

String getFirstName(String agentString)

getLastName

String getLastName(String agentString)

getEmail

String getEmail(String agentString)

getRole

String getRole(String agentString)

getRoleForCurrentAgent

String getRoleForCurrentAgent(String agentString)

getCurrentSiteId

String getCurrentSiteId(boolean accessViaUrl)

getCurrentSiteName

String getCurrentSiteName(boolean accessViaUrl)

getSiteName

String getSiteName(String siteId)

getDisplayNameByAgentId

String getDisplayNameByAgentId(String agentId)

isStandaloneEnvironment

boolean isStandaloneEnvironment()

isIntegratedEnvironment

boolean isIntegratedEnvironment()

getUserRolesFromContextRealm

Map getUserRolesFromContextRealm(Collection inUsers)

getRoleForAgentAndSite

String getRoleForAgentAndSite(String agentString,
                              String siteId)

getEid

String getEid(String agentString)

getEidById

String getEidById(String agentString)

isFileUploadAvailable

boolean isFileUploadAvailable()
Deprecated. 

This is a kludge to work around a JSF scriptlet dependency introduced by cwen on org.sakaiproject.service.component.cover.ServerConfigurationService.

Returns:
true unless it is turned off


Copyright © 2005-2012 Sakai Project. All Rights Reserved.