***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.session
Class SummaryData

com.sas.services.session.SummaryData
All Implemented Interfaces:
SummaryDataInterface, java.io.Serializable, java.rmi.Remote

public class SummaryData
implements SummaryDataInterface

Contains session summary information. Each session context can be bound to a user context. This information contains the unique identifier for the session context, as well as a summary of the user information, such as the user context name, the user's email addresses, and the user's global profile.

Since:
1.1
See Also:
Serialized Form

Method Summary
 java.util.List getEmailAddresses()
          Get the email addresses for the person bound to this session.
 long getLoginTime()
          Get the timestamp when the user was authenticated.
 ProfileInterface getProfile()
          Get the global profile information for the person bound to this session.
 java.lang.String getSessionContextUniqueId()
          Get the session context's unique id.
 java.lang.String getUniqueId()
          Get the user's unique identifier.
 java.lang.String getUsername()
          Get the name of the user context for this session.
 

Method Detail

getProfile

public ProfileInterface getProfile()
                            throws java.rmi.RemoteException
Get the global profile information for the person bound to this session.

Specified by:
getProfile in interface SummaryDataInterface
Returns:
ProfileInterface the global profile
Throws:
java.rmi.RemoteException - if a network error occurs.

getUsername

public java.lang.String getUsername()
                             throws java.rmi.RemoteException
Get the name of the user context for this session.

Specified by:
getUsername in interface SummaryDataInterface
Returns:
String the user context name
Throws:
java.rmi.RemoteException - if a network error occurs.

getEmailAddresses

public java.util.List getEmailAddresses()
                                 throws java.rmi.RemoteException
Get the email addresses for the person bound to this session.

Specified by:
getEmailAddresses in interface SummaryDataInterface
Returns:
List a list of Strings that represent the email addresses.
Throws:
java.rmi.RemoteException - if a network error occurs.

getLoginTime

public long getLoginTime()
                  throws java.rmi.RemoteException
Get the timestamp when the user was authenticated.

Specified by:
getLoginTime in interface SummaryDataInterface
Returns:
A long representing the login date/time.
Throws:
java.rmi.RemoteException - In the event of remote object failure.

getUniqueId

public java.lang.String getUniqueId()
                             throws java.rmi.RemoteException
Get the user's unique identifier. Since names aren't always unique, this is necessary to uniquely locate a user context from the user service.

Specified by:
getUniqueId in interface SummaryDataInterface
Returns:
A String representing the user's unique identifier.
Throws:
java.rmi.RemoteException - In the event of remote object failure.

getSessionContextUniqueId

public java.lang.String getSessionContextUniqueId()
                                           throws java.rmi.RemoteException
Get the session context's unique id.

Specified by:
getSessionContextUniqueId in interface SummaryDataInterface
Returns:
A String representing the session context's unique identifier.
Throws:
java.rmi.RemoteException - In the event of remote object failure.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.