com.waveset.object
Class AdminGroup

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.Principal
          extended bycom.waveset.object.AdminGroup
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, java.io.Serializable, XmlObject

public class AdminGroup
extends Principal

An AdminGroup object is created to allows assignment of permissons and Administrator's who need those permissions.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
static java.lang.String ADMIN_GROUP
          The name of a special admin group that is implicitly assigned to all users logging into an admin interface.
static java.lang.String code_id
           
static java.lang.String ENDUSER_GROUP
          The name of a special admin group that is implicitly assigned to all users logging into an end user interface.
 
Fields inherited from class com.waveset.object.Principal
_adminGroupRefs, _adminGroups, _adminGroupsRuleRef, _adminRoleRefs, _controlledObjectGroupRefs, _controlledObjectGroups, _controlledObjectGroupsRuleRef, _permissions, _userFormRef, _viewUserFormRef, LAST_LOGIN_LOCALE_PROP, LOCALE_PROP
 
Fields inherited from class com.waveset.object.PersistentObject
_trace, trace
 
Constructor Summary
AdminGroup()
           
AdminGroup(org.w3c.dom.Element e)
           
AdminGroup(java.lang.String name)
           
 
Method Summary
protected  void addSubclassAttributes(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
protected  void addSubclassElements(java.lang.StringBuffer b)
          Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
 boolean adminGroupMember(AdminGroup ag)
           
 boolean containsAdminGroupRefs()
           
 boolean containsNonHiddenAdminGroupRefs()
           
 java.util.List getAssignerRefs()
           
 java.lang.String getDescription()
           
 java.util.ArrayList getReferences()
          Return the list of references within this object.
 Type getType()
          Return the type of this object.
 java.util.List listQueryableAttributes()
           
protected  void parseSubclassAttributes(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).
protected  void parseSubclassElements(org.w3c.dom.Element e)
          Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).
 void setAssignerRefs(java.util.List assignerRefs)
           
 void setDescription(java.lang.String description)
           
 void visit(Visitor v)
          Visitor interface.
 
Methods inherited from class com.waveset.object.Principal
addAdminGroup, addAdminGroupRef, addCommonPrincipalElements, addControlledObjectGroup, addPermission, clearAdminGroups, getAdminGroupRefs, getAdminGroups, getAdminGroupsRuleRef, getAdminRoleRefs, getAdminRoles, getAttributeValues, getControlledObjectGroupRefs, getControlledObjectGroups, getControlledObjectGroupsRuleRef, getEncryptedValues, getPermissions, getUserForm, getUserFormId, getUserFormRef, getViewUserForm, getViewUserFormId, getViewUserFormRef, hasCapabilities, listQueryableReferenceAttributes, listSummaryAttributes, parseCommonPrincipalElements, parsePermissions, removeAdminGroup, removeControlledObjectGroup, removePermission, setAdminGroupRefs, setAdminGroups, setAdminGroupsRuleRef, setAdminRoleRefs, setAdminRoles, setControlledObjectGroupRefs, setControlledObjectGroups, setControlledObjectGroupsRuleRef, setPermissions, setUserForm, setUserFormRef, setViewUserForm, setViewUserFormRef
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSummaryAttributes, addXmlHeader, attributesMatch, attributesMatch, attributesMatch, checkReference, checkReferences, clearId, cloneAs, cloneObject, compareTo, create, create, create, create, createLastModItem, createLastModItem, createLastModItemList, directObjectGroupMember, dump, dumpFile, equals, fakeId, getAttribute, getAttributeValues, getAuthReferences, getAuthType, getBasicAttributes, getBasicAttributes, getBasicAttributes, getCache, getCounterValue, getCreateDate, getCreator, getDisplayableName, getDisplayName, getElementName, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryAttributes, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseXml, parseXml, prepareForSerialization, prepareToSerialize, println, reEncrypt, reEncryptSubclassAttributes, removeMemberObjectGroup, removeProperty, resolve, resolve, resolve, resolveArray, resolveArrayByFetching, resolveObjectReference, resolveObjectReferences, resolveReference, resolveSummaryAttributes, resolveSummaryAttributes, ruleDrivenObjectGroupMemberRef, setAuthType, setAuthType, setCache, setCreateDate, setCreator, setDisplayName, setDisplayName, setHidden, setIsAlias, setLastMod, setLastMod, setLastModDate, setLastModifier, setMemberObjectGroupRef, setMemberObjectGroupRefs, setMemberObjectGroups, setName, setProperties, setProperty, setPropertyList, setProtected, setProtectedFromDelete, setRuleDrivenMembersCache, setSubtype, setTrace, toString, toXml, toXml, toXml, toXmlFile
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

ADMIN_GROUP

public static final java.lang.String ADMIN_GROUP
The name of a special admin group that is implicitly assigned to all users logging into an admin interface.

See Also:
Constant Field Values

ENDUSER_GROUP

public static final java.lang.String ENDUSER_GROUP
The name of a special admin group that is implicitly assigned to all users logging into an end user interface. This is used to expose objects through the end-user GUI to users that don't ordinarilly have any capabilities or control any groups.

See Also:
Constant Field Values
Constructor Detail

AdminGroup

public AdminGroup()

AdminGroup

public AdminGroup(org.w3c.dom.Element e)
           throws WavesetException

AdminGroup

public AdminGroup(java.lang.String name)
Method Detail

getType

public Type getType()
Description copied from class: PersistentObject
Return the type of this object. This must be implemented by each subclass.

Specified by:
getType in class PersistentObject

listQueryableAttributes

public java.util.List listQueryableAttributes()
Overrides:
listQueryableAttributes in class Principal
Returns:
the complete list of defined attributes that this type of persistent object exposes as queryable attributes (regardless of whether this particular object has a value for each).

Any subclass of PersistentObject that overrides this method should first invoke super.listQueryableAttributes() to ensure that the list of queryable attribute for PersistentObjects are included in the subclasses list.


getReferences

public java.util.ArrayList getReferences()
Return the list of references within this object.

Overrides:
getReferences in class Principal

containsAdminGroupRefs

public boolean containsAdminGroupRefs()

containsNonHiddenAdminGroupRefs

public boolean containsNonHiddenAdminGroupRefs()

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getAssignerRefs

public java.util.List getAssignerRefs()

setAssignerRefs

public void setAssignerRefs(java.util.List assignerRefs)

visit

public void visit(Visitor v)
           throws WavesetException
Visitor interface.

Overrides:
visit in class PersistentObject
Throws:
WavesetException

adminGroupMember

public boolean adminGroupMember(AdminGroup ag)
                         throws WavesetException
Throws:
WavesetException

addSubclassAttributes

protected void addSubclassAttributes(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.

Overrides:
addSubclassAttributes in class PersistentObject
See Also:


addSubclassElements

protected void addSubclassElements(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.

Overrides:
addSubclassElements in class PersistentObject
See Also:


parseSubclassAttributes

protected void parseSubclassAttributes(org.w3c.dom.Element e)
                                throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassAttributes in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)

parseSubclassElements

protected void parseSubclassElements(org.w3c.dom.Element e)
                              throws WavesetException
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassElements in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)