Java Doc for AgentFacade.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » facade » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.facade 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.tool.assessment.facade.AgentFacade

AgentFacade
public class AgentFacade implements Serializable,AgentDataIfc(Code)

Description: Facade for agent. Uses helper to determine integration context implementation.

Sakai Project Copyright (c) 2005


author:
   Ed Smiley



Constructor Summary
public  AgentFacade(String agentId)
    
public  AgentFacade()
     Create AgentFacade and have it look up its own agentString (id).

Method Summary
public static  StringcreateAnonymous()
     Create anonymous user and return the anonymous user id.
public static  AgentImplgetAgent()
     Get an osid Agent implementation class instance.
public  StringgetAgentInstanceString()
     Get the agent string.
public static  StringgetAgentString()
     Get the agent string.
public static  StringgetAnonymousId()
     Get the anonymous user id.
public static  StringgetCurrentSiteId()
     Get the current site id.
public static  StringgetCurrentSiteName()
     Get the current site name.
public static  StringgetDisplayName(String agentS)
     Get the Agent display name.
Parameters:
  agentS - the Agent string.
public  StringgetDisplayName()
     Get the Agent display name for this agent.
public static  StringgetDisplayNameByAgentId(String agentId)
     Get the display name for a specific agent id string.
Parameters:
  agentId - the agent id string.
public static  StringgetEid()
     Get the current user's Eid.
public  StringgetEidString()
     Get the Eid String of an Agent.
public  StringgetEmail()
     Get the Agent last name.
public  StringgetFirstName()
     Get the Agent first name.
public  StringgetIdString()
    
public  StringgetLastName()
     Get the Agent last name.
public  StringgetRole()
     Get role for this agent.
public static  StringgetRole(String agentString)
     Get role for agent.
Parameters:
  agentString - the agent string.
public static  StringgetRoleForAgentAndSite(String agentString, String siteId)
    
public static  StringgetSiteName(String siteId)
     Get the site name.
public static  MapgetUserRolesFromContextRealm(Collection inUsers)
     Get the anonymous user id.
public  booleanisAccessViaUrl()
    
public static  booleanisFileUploadAvailable()
     This is a kludge to work around a JSF scriptlet dependency introduced by cwen on org.sakaiproject.service.component.cover.ServerConfigurationService.
public static  booleanisIntegratedEnvironment()
    
public static  booleanisStandaloneEnvironment()
    
public  voidsetAccessViaUrl(boolean accessViaUrl)
    
public  voidsetAgentInstanceString(String agentInstanceString)
    
public  voidsetIdString(String idString)
    


Constructor Detail
AgentFacade
public AgentFacade(String agentId)(Code)
Create AgentFacade for agent Id
Parameters:
  agentId - the agent Id



AgentFacade
public AgentFacade()(Code)
Create AgentFacade and have it look up its own agentString (id).




Method Detail
createAnonymous
public static String createAnonymous()(Code)
Create anonymous user and return the anonymous user id. the anonymous user id.



getAgent
public static AgentImpl getAgent()(Code)
Get an osid Agent implementation class instance. an AgentImpl: osid Agent implementation class.



getAgentInstanceString
public String getAgentInstanceString()(Code)
Get the agent string. Preferred approach: instantiate and then call this. the agent string.



getAgentString
public static String getAgentString()(Code)
Get the agent string. Static convenience method. the agent string.



getAnonymousId
public static String getAnonymousId()(Code)
Get the anonymous user id. the anonymous user id.



getCurrentSiteId
public static String getCurrentSiteId()(Code)
Get the current site id. the site id.



getCurrentSiteName
public static String getCurrentSiteName()(Code)
Get the current site name. the site name.



getDisplayName
public static String getDisplayName(String agentS)(Code)
Get the Agent display name.
Parameters:
  agentS - the Agent string. the Agent display name.



getDisplayName
public String getDisplayName()(Code)
Get the Agent display name for this agent. the Agent display name.



getDisplayNameByAgentId
public static String getDisplayNameByAgentId(String agentId)(Code)
Get the display name for a specific agent id string.
Parameters:
  agentId - the agent id string. the display name.



getEid
public static String getEid()(Code)
Get the current user's Eid. Static convenience method. the eid.



getEidString
public String getEidString()(Code)
Get the Eid String of an Agent. the Agent Eid.



getEmail
public String getEmail()(Code)
Get the Agent last name. the Agent last name.



getFirstName
public String getFirstName()(Code)
Get the Agent first name. the Agent first name.



getIdString
public String getIdString()(Code)



getLastName
public String getLastName()(Code)
Get the Agent last name. the Agent last name.



getRole
public String getRole()(Code)
Get role for this agent. role string



getRole
public static String getRole(String agentString)(Code)
Get role for agent.
Parameters:
  agentString - the agent string. role string



getRoleForAgentAndSite
public static String getRoleForAgentAndSite(String agentString, String siteId)(Code)



getSiteName
public static String getSiteName(String siteId)(Code)
Get the site name.
Parameters:
  siteId - site id the site name.



getUserRolesFromContextRealm
public static Map getUserRolesFromContextRealm(Collection inUsers)(Code)
Get the anonymous user id. the anonymous user id.



isAccessViaUrl
public boolean isAccessViaUrl()(Code)



isFileUploadAvailable
public static boolean isFileUploadAvailable()(Code)
This is a kludge to work around a JSF scriptlet dependency introduced by cwen on org.sakaiproject.service.component.cover.ServerConfigurationService. true unless it is turned off



isIntegratedEnvironment
public static boolean isIntegratedEnvironment()(Code)
Is this an integrated environment? true, in this implementation



isStandaloneEnvironment
public static boolean isStandaloneEnvironment()(Code)
Is this a standlaone environment? false, in this implementation



setAccessViaUrl
public void setAccessViaUrl(boolean accessViaUrl)(Code)



setAgentInstanceString
public void setAgentInstanceString(String agentInstanceString)(Code)



setIdString
public void setIdString(String idString)(Code)
Change the agent string
Parameters:
  idString - the id string.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.