Java Doc for BaseAuthzGroup.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » authz » impl » 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.authz.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.authz.impl.BaseAuthzGroup

BaseAuthzGroup
public class BaseAuthzGroup implements AuthzGroup(Code)

BaseAuthzGroup is an implementation of the AuthGroup API AuthzGroup.



Field Summary
protected  booleanm_active
     Active flag.
protected  Timem_createdTime
     The time created.
protected  Stringm_createdUserId
     The created user id.
protected  Stringm_event
     The event code for this azGroup.
protected  Stringm_id
     The azGroup id.
protected  booleanm_isNew
     True if created by the "new" call rather than "add" - it has not yet been stored.
protected  Integerm_key
     The internal 'db' key.
protected  Timem_lastModifiedTime
     The time last modified.
protected  Stringm_lastModifiedUserId
     The last modified user id.
protected  booleanm_lazy
     Set while the azGroup is not fully loaded from the storage.
protected  Stringm_maintainRole
     The role to use for maintain users.
protected  ResourcePropertiesEditm_properties
     The properties.
protected  Stringm_providerRealmId
     The external azGroup id, or null if not defined.
protected  Mapm_roles
     Map of Role id to a Role defined in this AuthzGroup.
protected  Mapm_userGrants
    

Constructor Summary
public  BaseAuthzGroup(String id)
     Construct.
public  BaseAuthzGroup(AuthzGroup azGroup)
     Construct from another AuthzGroup object.
public  BaseAuthzGroup(Integer dbid, String id, String providerId, String maintainRole, String createdBy, Time createdOn, String modifiedBy, Time modifiedOn)
     (Re)Construct from parts.
public  BaseAuthzGroup(Element el)
     Construct from information in XML.

Method Summary
protected  voidactivate()
     Enable editing.
public  voidaddMember(String user, String roleId, boolean active, boolean provided)
    
public  RoleaddRole(String id)
    
public  RoleaddRole(String id, Role other)
    
protected  voidcloseEdit()
     Close the azGroup object - it cannot be used after this.
public  intcompareTo(Object obj)
    
public  booleanequals(Object obj)
    
public  UsergetCreatedBy()
    
public  TimegetCreatedTime()
    
public  StringgetDescription()
    
protected  StringgetEvent()
     Access the event code for this azGroup.
public  StringgetId()
    
public  IntegergetKey()
    
public  StringgetMaintainRole()
    
public  MembergetMember(String user)
    
public  SetgetMembers()
    
public  UsergetModifiedBy()
    
public  TimegetModifiedTime()
    
public  ResourcePropertiesgetProperties()
    
public  ResourcePropertiesEditgetPropertiesEdit()
    
public  StringgetProviderGroupId()
    
public  StringgetReference()
    
public  StringgetReference(String rootProperty)
    
public  RolegetRole(String id)
    
public  SetgetRoles()
    
public  SetgetRolesIsAllowed(String function)
    
public  StringgetUrl()
    
public  StringgetUrl(String rootProperty)
    
public  RolegetUserRole(String user)
    
public  SetgetUsers()
    
public  SetgetUsersHasRole(String role)
    
public  SetgetUsersIsAllowed(String lock)
    
public  booleanhasRole(String user, String role)
    
public  inthashCode()
    
public  booleanisActiveEdit()
     Check to see if the azGroup is still active, or has already been closed.
public  booleanisAllowed(String user, String lock)
    
public  booleanisEmpty()
    
public  booleankeepIntersection(AuthzGroup other)
    
public  voidremoveMember(String user)
    
public  voidremoveMembers()
    
public  voidremoveRole(String roleId)
    
public  voidremoveRoles()
    
protected  voidset(AuthzGroup azGroup)
     Take all values from this object.
protected  voidsetAll(AuthzGroup azGroup)
     Take all values from this object.
protected  voidsetEvent(String event)
     Set the event code for this azGroup.
public  voidsetMaintainRole(String role)
    
public  voidsetProviderGroupId(String id)
    
public  ElementtoXml(Document doc, Stack stack)
    

Field Detail
m_active
protected boolean m_active(Code)
Active flag.



m_createdTime
protected Time m_createdTime(Code)
The time created.



m_createdUserId
protected String m_createdUserId(Code)
The created user id.



m_event
protected String m_event(Code)
The event code for this azGroup.



m_id
protected String m_id(Code)
The azGroup id.



m_isNew
protected boolean m_isNew(Code)
True if created by the "new" call rather than "add" - it has not yet been stored.



m_key
protected Integer m_key(Code)
The internal 'db' key.



m_lastModifiedTime
protected Time m_lastModifiedTime(Code)
The time last modified.



m_lastModifiedUserId
protected String m_lastModifiedUserId(Code)
The last modified user id.



m_lazy
protected boolean m_lazy(Code)
Set while the azGroup is not fully loaded from the storage.



m_maintainRole
protected String m_maintainRole(Code)
The role to use for maintain users.



m_properties
protected ResourcePropertiesEdit m_properties(Code)
The properties.



m_providerRealmId
protected String m_providerRealmId(Code)
The external azGroup id, or null if not defined.



m_roles
protected Map m_roles(Code)
Map of Role id to a Role defined in this AuthzGroup.



m_userGrants
protected Map m_userGrants(Code)
Map of userId to Member




Constructor Detail
BaseAuthzGroup
public BaseAuthzGroup(String id)(Code)
Construct.
Parameters:
  id - The azGroup id.



BaseAuthzGroup
public BaseAuthzGroup(AuthzGroup azGroup)(Code)
Construct from another AuthzGroup object.
Parameters:
  azGroup - The azGroup object to use for values.



BaseAuthzGroup
public BaseAuthzGroup(Integer dbid, String id, String providerId, String maintainRole, String createdBy, Time createdOn, String modifiedBy, Time modifiedOn)(Code)
(Re)Construct from parts.
Parameters:
  dbid - The database id.
Parameters:
  id - The azGroup id.
Parameters:
  providerId - The provider id.
Parameters:
  maintainRole - The maintain role id.
Parameters:
  createdBy - The user created by id.
Parameters:
  createdOn - The time created.
Parameters:
  modifiedBy - The user modified by id.
Parameters:
  modifiedOn - The time modified.



BaseAuthzGroup
public BaseAuthzGroup(Element el)(Code)
Construct from information in XML.
Parameters:
  el - The XML DOM Element definining the azGroup.




Method Detail
activate
protected void activate()(Code)
Enable editing.



addMember
public void addMember(String user, String roleId, boolean active, boolean provided)(Code)



addRole
public Role addRole(String id) throws RoleAlreadyDefinedException(Code)



addRole
public Role addRole(String id, Role other) throws RoleAlreadyDefinedException(Code)



closeEdit
protected void closeEdit()(Code)
Close the azGroup object - it cannot be used after this.



compareTo
public int compareTo(Object obj)(Code)



equals
public boolean equals(Object obj)(Code)



getCreatedBy
public User getCreatedBy()(Code)



getCreatedTime
public Time getCreatedTime()(Code)



getDescription
public String getDescription()(Code)



getEvent
protected String getEvent()(Code)
Access the event code for this azGroup. The event code for this azGroup.



getId
public String getId()(Code)



getKey
public Integer getKey()(Code)



getMaintainRole
public String getMaintainRole()(Code)



getMember
public Member getMember(String user)(Code)



getMembers
public Set getMembers()(Code)



getModifiedBy
public User getModifiedBy()(Code)



getModifiedTime
public Time getModifiedTime()(Code)



getProperties
public ResourceProperties getProperties()(Code)



getPropertiesEdit
public ResourcePropertiesEdit getPropertiesEdit()(Code)



getProviderGroupId
public String getProviderGroupId()(Code)



getReference
public String getReference()(Code)



getReference
public String getReference(String rootProperty)(Code)



getRole
public Role getRole(String id)(Code)



getRoles
public Set getRoles()(Code)



getRolesIsAllowed
public Set getRolesIsAllowed(String function)(Code)



getUrl
public String getUrl()(Code)



getUrl
public String getUrl(String rootProperty)(Code)



getUserRole
public Role getUserRole(String user)(Code)



getUsers
public Set getUsers()(Code)



getUsersHasRole
public Set getUsersHasRole(String role)(Code)



getUsersIsAllowed
public Set getUsersIsAllowed(String lock)(Code)



hasRole
public boolean hasRole(String user, String role)(Code)



hashCode
public int hashCode()(Code)



isActiveEdit
public boolean isActiveEdit()(Code)
Check to see if the azGroup is still active, or has already been closed. true if the azGroup is active, false if it's been closed.



isAllowed
public boolean isAllowed(String user, String lock)(Code)



isEmpty
public boolean isEmpty()(Code)



keepIntersection
public boolean keepIntersection(AuthzGroup other)(Code)



removeMember
public void removeMember(String user)(Code)



removeMembers
public void removeMembers()(Code)



removeRole
public void removeRole(String roleId)(Code)



removeRoles
public void removeRoles()(Code)



set
protected void set(AuthzGroup azGroup)(Code)
Take all values from this object.
Parameters:
  azGroup - The AuthzGroup object to take values from.



setAll
protected void setAll(AuthzGroup azGroup)(Code)
Take all values from this object.
Parameters:
  azGroup - The AuthzGroup to take values from.



setEvent
protected void setEvent(String event)(Code)
Set the event code for this azGroup.
Parameters:
  event - The event code for this azGroup.



setMaintainRole
public void setMaintainRole(String role)(Code)



setProviderGroupId
public void setProviderGroupId(String id)(Code)



toXml
public Element toXml(Document doc, Stack stack)(Code)



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.