| java.lang.Object org.sakaiproject.authz.impl.BaseRole
BaseRole | public class BaseRole implements Role(Code) | |
BaseRole is an implementation of the AuthzGroup API Role.
|
m_active | protected boolean m_active(Code) | | Active flag.
|
m_description | protected String m_description(Code) | | The role description.
|
m_locks | protected Set m_locks(Code) | | The locks that make up this.
|
m_providerOnly | protected boolean m_providerOnly(Code) | | Whether this is a provider-only role
|
BaseRole | public BaseRole(String id)(Code) | | Construct.
Parameters: id - The role id. |
BaseRole | public BaseRole(String id, Role other)(Code) | | Construct as a copy
Parameters: id - The role id. Parameters: other - The role to copy. |
BaseRole | public BaseRole(Element el, AuthzGroup azGroup)(Code) | | Construct from information in XML.
Parameters: el - The XML DOM Element definining the role. |
activate | protected void activate()(Code) | | Enable editing.
|
allowsNoFunctions | public boolean allowsNoFunctions()(Code) | | |
closeEdit | protected void closeEdit()(Code) | | Close the azGroup object - it cannot be used after this.
|
disallowAll | public void disallowAll()(Code) | | |
disallowFunction | public void disallowFunction(String lock)(Code) | | |
getAllowedFunctions | public Set getAllowedFunctions()(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. |
isProviderOnly | public boolean isProviderOnly()(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setProviderOnly | public void setProviderOnly(boolean providerOnly)(Code) | | |
|
|