DataTableSession class

The DataTableSession class encapsulates the processing involved in a data table retrieval within an Agentry-based application.

Syntax

public class DataTableSession extends Session

Members

All members of DataTableSession, including inherited members.

Constructors
Modifier and Type Constructor Description
public DataTableSession(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 data table retrieval, as well the User object for the user performing the retrieval, and a reference to the Server singleton object.