|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.datatypes.BaseDataType com.vodafone360.people.datatypes.AuthSessionHolder
public class AuthSessionHolder
BaseDataType encapsulating People Session credentials returned as a result of successful sign-in/sign-up.
Nested Class Summary | |
---|---|
private static class |
AuthSessionHolder.Tags
Tags associated with AuthSessionHolder representing data items associated with AuthSessionHolder item returned from server. |
Field Summary | |
---|---|
java.lang.String |
sessionID
|
java.lang.String |
sessionSecret
|
long |
userID
|
java.lang.String |
userName
|
Constructor Summary | |
---|---|
AuthSessionHolder()
|
Method Summary | |
---|---|
AuthSessionHolder |
createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create AuthSessionHolder from Hash-table (generated from Hessian data). |
private AuthSessionHolder.Tags |
findTag(java.lang.String tag)
Find Tags item for specified String. |
java.lang.String |
name()
Return name of the current Data-type. |
private void |
setValue(AuthSessionHolder.Tags tag,
java.lang.Object value)
Sets the value of the member data item associated with the specified tag. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long userID
public java.lang.String sessionSecret
public java.lang.String userName
public java.lang.String sessionID
Constructor Detail |
---|
public AuthSessionHolder()
Method Detail |
---|
private AuthSessionHolder.Tags findTag(java.lang.String tag)
tag
- String value to find in Tags items.
public java.lang.String name()
name
in class BaseDataType
public java.lang.String toString()
toString
in class java.lang.Object
public AuthSessionHolder createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
hash
- Hash-table containing AuthSessionHolder data.
private void setValue(AuthSessionHolder.Tags tag, java.lang.Object value)
tag
- Current tag.val
- Value associated with the tag.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc