|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.novell.service.session.SessionAttrs
Provides for a collection of session attribute objects (SessionAttr).
| Constructor Summary | |
SessionAttrs()
Construct a new instance of a SessionAttrs object. |
|
| Method Summary | |
void |
add(SessionAttr attr)
Adds a new session attribute (attr) to this set. |
void |
add(java.lang.String attrId,
java.lang.Object value)
Adds a new session attribute to this set identified by attrId and value parameters. |
int |
count()
Returns the number of attributes in this set. |
SessionAttr |
get(java.lang.String attrId)
Returns the session attribute with the given session attribute ID from this set. |
SessionAttrEnumerator |
getAttributes()
Returns an enumeration of the attributes in this set. |
java.util.Enumeration |
getSessionAttrIds()
Returns an enumeration of the IDs of the attributes in this set. |
java.lang.Object |
getValue(java.lang.String attrId)
Returns the session attribute with the passed-in session attribute ID from this set. |
boolean |
matchesSubset(SessionAttrs subSet)
Compares the passed-in attribute set with this SessionAttrs set. |
void |
merge(SessionAttrs attributeSet)
Merges two SessionAttrs specified in the passed in attributeSet parameter. |
void |
modify(SessionAttr attr)
Replaces the session attribute identified by the session attribute ID of attr, or adds the session attribute if it does not exist. |
void |
modify(SessionAttrs attributeSet)
Replaces the attributes in this set by those in attributeSet, or adds any that do not exist. |
void |
modify(java.lang.String attrId,
java.lang.Object value)
Replaces the session attribute identified by attrId with value, or adds it if it does not exist. |
void |
remove(java.lang.String attrId)
Removes from this set the session attribute specified in the passed in attrId parameter. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SessionAttrs()
throws SessionException
| Method Detail |
public void add(SessionAttr attr)
throws SessionException
attr - The new session attribute to add.
public void add(java.lang.String attrId,
java.lang.Object value)
throws SessionException
attrId - The new attribute ID to add.value - The new attribute value to add.
public int count()
throws SessionException
public SessionAttr get(java.lang.String attrId)
throws SessionException
attrId - The attribute ID to match.
public java.lang.Object getValue(java.lang.String attrId)
throws SessionException
public java.util.Enumeration getSessionAttrIds()
throws SessionException
public SessionAttrEnumerator getAttributes()
throws SessionException
public void modify(SessionAttr attr)
throws SessionException
attr - The session attribute to replace or add.
public void modify(java.lang.String attrId,
java.lang.Object value)
throws SessionException
attrId - The attribute ID to replace or add.value - The attribute value to replace or add.
public void modify(SessionAttrs attributeSet)
throws SessionException
attributeSet - The attribute set to use during replace/modify.
public void remove(java.lang.String attrId)
throws SessionException
attrId - The attribute ID to remove.
public void merge(SessionAttrs attributeSet)
throws SessionException
attributeSet - The attribute set to merge.
public boolean matchesSubset(SessionAttrs subSet)
throws SessionException
subSet - The attribute set to match.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||