com.waveset.object
Class LoginModGroup

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.LoginModGroup
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, XmlObject

public class LoginModGroup
extends PersistentObject


Nested Class Summary
static class LoginModGroup.LoginConfigEntryRef
           
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
static java.lang.String code_id
           
protected static Trace trace
           
 
Fields inherited from class com.waveset.object.PersistentObject
_trace
 
Constructor Summary
LoginModGroup()
           
LoginModGroup(org.w3c.dom.Element e)
           
 
Method Summary
 LoginModGroup.LoginConfigEntryRef.AuthnPropertyRef getAppAuthnPropertyRef(java.lang.String propName)
           
protected  WSAttribute getAttributeValues(java.lang.String attrName)
           
 LoginModGroup.LoginConfigEntryRef getLoginConfigEntryRef(int lceIndex)
           
 LoginModGroup.LoginConfigEntryRef[] getLoginConfigEntryRefs()
           
 ObjectRef getLoginConstraint()
           
 WSAttributes getSummaryAttributes()
           
 Type getType()
          Return the type of this object.
 java.util.List listSummaryAttributes()
          Returns the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).
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 setLoginConfigEntryRefs(LoginModGroup.LoginConfigEntryRef[] loginConfigEntryRefs)
           
 void setLoginConstraint(ObjectRef loginConstraint)
           
 java.lang.String toXml()
          Serialize the object to an XML string.
 void toXml(java.lang.StringBuffer b)
          Serialize the object as XML into a string buffer.
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSubclassAttributes, addSubclassElements, 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, getEncryptedValues, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getReferences, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, listQueryableAttributes, listQueryableReferenceAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseSubclassAttributes, 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, toXmlFile, visit
 
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

trace

protected static final Trace trace
Constructor Detail

LoginModGroup

public LoginModGroup()

LoginModGroup

public LoginModGroup(org.w3c.dom.Element e)
              throws WavesetException
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

getLoginConfigEntryRefs

public LoginModGroup.LoginConfigEntryRef[] getLoginConfigEntryRefs()

setLoginConfigEntryRefs

public void setLoginConfigEntryRefs(LoginModGroup.LoginConfigEntryRef[] loginConfigEntryRefs)

getLoginConstraint

public ObjectRef getLoginConstraint()

setLoginConstraint

public void setLoginConstraint(ObjectRef loginConstraint)

getLoginConfigEntryRef

public LoginModGroup.LoginConfigEntryRef getLoginConfigEntryRef(int lceIndex)
                                                         throws WavesetException
Throws:
WavesetException

getAppAuthnPropertyRef

public LoginModGroup.LoginConfigEntryRef.AuthnPropertyRef getAppAuthnPropertyRef(java.lang.String propName)

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)

toXml

public java.lang.String toXml()
Description copied from class: PersistentObject
Serialize the object to an XML string.

The default implementation is to create a string buffer, add an XML header and call the toXml(StringBuffer) method. This may be overloaded by the subclasses, though there is usually no need to.

Specified by:
toXml in interface XmlObject
Overrides:
toXml in class PersistentObject

toXml

public void toXml(java.lang.StringBuffer b)
Description copied from class: PersistentObject
Serialize the object as XML into a string buffer. PersistentObject's implementation provides a standard template for its concrete subclasses.

NOTE: Each subclass should serialize any necessary fields specific to that subclass. // * @see #addSubclassAttributes // * @see #addSubclassElements

Overrides:
toXml in class PersistentObject

listSummaryAttributes

public java.util.List listSummaryAttributes()
Description copied from class: PersistentObject
Returns the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).

Any subclass of PersistentObject that overrides this method should first invoke super.listSummaryAttributes() to ensure that the subclass includes summary attributes that are common to all PersistentObjects.

Any subclass that overrides this implementation must also consider the length of the summary string that will be generated from these attributes.

Overrides:
listSummaryAttributes in class PersistentObject
Returns:
the complete list of defined attributes that this type of persistent object exposes as summary attributes (regardless of whether this particular object has a value for each).

Any subclass of PersistentObject that overrides this method should first invoke super.listSummaryAttributes() to ensure that the subclass includes summary attributes common to all PersistentObjects.

See Also:
Constants.MAX_SUMMARY_STRING_LENGTH, PersistentObject.getSummaryString()

getSummaryAttributes

public WSAttributes getSummaryAttributes()
Overrides:
getSummaryAttributes in class PersistentObject
Returns:
attribute values to be displayed when this object appears in a list. The WSAttributes contains a WSAttribute for each summary attribute. Each WSAttribute may contain multiple values.

Any subclass of PersistentObject that overrides this method should first invoke super.getSummaryAttributes() to ensure that the subclass includes summary attributes that are common to all PersistentObjects.

See Also:

If a subclass wants to expose a different set of summary attributes, that subclass should override {@link #listSummaryAttributes}. In order to supply values for summary attributes that may not be available in PersistentObject (e.g., from a field specified to that subclass), such a subclass may also override {@link #getAttributeValues(Attribute)}.

A subclass should not need to override this method (except to limit the number of values for a summary attribute).


getAttributeValues

protected WSAttribute getAttributeValues(java.lang.String attrName)
Overrides:
getAttributeValues in class PersistentObject
Parameters:
attrName - - the name of the attribute for which to return values.
Returns:
a WSAttribute that represents the value (or values) that this object contains for the specified attribute.