ORCentral
Public Member Functions

eu.coform.command.loginsession.LoginCommand Class Reference

Command to execute a login action. More...

Inheritance diagram for eu.coform.command.loginsession.LoginCommand:
Inheritance graph
[legend]
Collaboration diagram for eu.coform.command.loginsession.LoginCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Session execute () throws ORException
 Executes the command.
void setLocation (Location m_location)
Location getLocation ()
void setUsername (String m_username)
String getUsername ()
void setMinutesTimout (int minutesTimout)
int getMinutesTimout ()
void setPassword (String password)
String getPassword ()

Detailed Description

Command to execute a login action.

Definition at line 20 of file LoginCommand.java.


Member Function Documentation

Session eu.coform.command.loginsession.LoginCommand.execute ( ) throws ORException

Executes the command.

Tries to login by creating a new session associating a user with a location. Naturally the user data must be valid and the location must exist to do this successfully.

Returns:
the new Session
Exceptions:
ORExceptionif username or password are wrong, on internal errors or if the location is invalid

Implements eu.coform.command.proto.Abstract.

Definition at line 39 of file LoginCommand.java.

Here is the call graph for this function:

Here is the caller graph for this function:

Location eu.coform.command.loginsession.LoginCommand.getLocation ( )

Definition at line 179 of file LoginCommand.java.

int eu.coform.command.loginsession.LoginCommand.getMinutesTimout ( )

Definition at line 195 of file LoginCommand.java.

String eu.coform.command.loginsession.LoginCommand.getPassword ( )

Definition at line 203 of file LoginCommand.java.

String eu.coform.command.loginsession.LoginCommand.getUsername ( )

Definition at line 187 of file LoginCommand.java.

void eu.coform.command.loginsession.LoginCommand.setLocation ( Location  m_location)

Definition at line 175 of file LoginCommand.java.

Here is the caller graph for this function:

void eu.coform.command.loginsession.LoginCommand.setMinutesTimout ( int  minutesTimout)

Definition at line 191 of file LoginCommand.java.

Here is the caller graph for this function:

void eu.coform.command.loginsession.LoginCommand.setPassword ( String  password)

Definition at line 199 of file LoginCommand.java.

Here is the caller graph for this function:

void eu.coform.command.loginsession.LoginCommand.setUsername ( String  m_username)

Definition at line 183 of file LoginCommand.java.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations