com.waveset.object
Class AuthType
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.AuthType
- All Implemented Interfaces:
- javax.naming.Referenceable, XmlObject
- public class AuthType
- extends AbstractXmlObject
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
APPROVAL
public static final java.lang.String APPROVAL
- See Also:
- Constant Field Values
ROLE_APPROVAL
public static final java.lang.String ROLE_APPROVAL
- See Also:
- Constant Field Values
RESOURCE_APPROVAL
public static final java.lang.String RESOURCE_APPROVAL
- See Also:
- Constant Field Values
ORGANIZATION_APPROVAL
public static final java.lang.String ORGANIZATION_APPROVAL
- See Also:
- Constant Field Values
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
ATT_NAME
public static final java.lang.String ATT_NAME
- See Also:
- Constant Field Values
ATT_EXTENDS
public static final java.lang.String ATT_EXTENDS
- See Also:
- Constant Field Values
ATT_DISPLAY_NAME
public static final java.lang.String ATT_DISPLAY_NAME
- See Also:
- Constant Field Values
ATT_RIGHTS
public static final java.lang.String ATT_RIGHTS
- See Also:
- Constant Field Values
ATT_KEY
public static final java.lang.String ATT_KEY
- See Also:
- Constant Field Values
AuthType
public AuthType()
AuthType
public AuthType(org.w3c.dom.Element e)
setName
public void setName(java.lang.String s)
setDisplayName
public void setDisplayName(java.lang.String s)
setSuperTypes
public void setSuperTypes(java.util.List l)
setAuditKey
public void setAuditKey(java.lang.String s)
setRights
public void setRights(Right[] rights)
setRights
public void setRights(java.lang.String s)
unresolve
protected void unresolve()
- Called by AuthTypes when we're rebuilding the resolutions
after incremental type changes.
addSubType
protected void addSubType(java.lang.String s)
resolve
protected void resolve()
getElementName
public java.lang.String getElementName()
- Description copied from class:
AbstractXmlObject
- Return the element name.
- Specified by:
getElementName
in interface XmlObject
- Specified by:
getElementName
in class AbstractXmlObject
getName
public java.lang.String getName()
getDisplayName
public java.lang.String getDisplayName()
getDisplayNameOrName
public java.lang.String getDisplayNameOrName()
getSuperTypes
public java.util.List getSuperTypes()
getSubTypes
public java.util.List getSubTypes()
isApplicable
public boolean isApplicable(java.lang.String name)
- Test to see if this authorization type applies to another type.
This is true if the names are the same, or the given name
is in the subTypes list of this type.
Since we keep our own name in the subtype map, just have to do
one hash.
parseXml
public void parseXml(org.w3c.dom.Element e)
toXml
public void toXml(java.lang.StringBuffer b,
int indent)
- Description copied from class:
AbstractXmlObject
- Serialize into a buffer with optional indentation.
This must be implemented by the subclass.
- Specified by:
toXml
in interface XmlObject
- Specified by:
toXml
in class AbstractXmlObject