ComplexTableSession class

The ComplexTableSession class encapsulates the processing involved in a complex table synchronization within an Agentry-based application.

Syntax

public class ComplexTableSession extends Session

Members

All members of ComplexTableSession, including inherited members.

Constructors
Modifier and Type Constructor Description
public ComplexTableSession(String, Server, SessionData, User) Construct a new session.
Inherited members from Session
Modifier and Type Member Description
public final void debug(String) Write the given message to a debug log, if debugging is enabled.
public String getName() Returns the name of the session, as configured in the Agentry application.
public Server getServer() Returns the Server singleton object that the Java system connection is currently using.
public SessionData getSessionData() Returns the session data for this session.
public User getUser() Returns the user for this session, if any.
protected Session(String, Server, SessionData, User) Construct a new session, and save each of the arguments so that they can be retrieved later via the getName(), getServer(), getSessionData(), and getUser() methods.
protected Session(String, Server, SessionData) Construct a new session, and save each of the arguments so that they can be retrieved later via the getName(), getServer(), and getSessionData() methods.
public void sessionAborted() This is called if the session is aborted (e.g., by an exception).

Usage

This class contains the session data for the complex table synchronization, as well the User object for the user performing the synchronization, and a reference to the Server singleton object.