| java.lang.Object org.sakaiproject.authz.impl.BaseAuthzGroup
BaseAuthzGroup | public class BaseAuthzGroup implements AuthzGroup(Code) | |
BaseAuthzGroup is an implementation of the AuthGroup API AuthzGroup.
|
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_isNew | protected boolean m_isNew(Code) | | True if created by the "new" call rather than "add" - it has not yet been stored.
|
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_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
|
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. |
activate | protected void activate()(Code) | | Enable editing.
|
addMember | public void addMember(String user, String roleId, boolean active, boolean provided)(Code) | | |
closeEdit | protected void closeEdit()(Code) | | Close the azGroup object - it cannot be used after this.
|
getEvent | protected String getEvent()(Code) | | Access the event code for this azGroup.
The event code for this azGroup. |
getModifiedTime | public Time getModifiedTime()(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. |
isEmpty | public boolean isEmpty()(Code) | | |
removeMembers | public void removeMembers()(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) | | |
|
|