org.mega.gasp.platform
Interface Actor

All Known Implementing Classes:
ActorImpl

public interface Actor

Actor represents the link between an application and a user. The Actor ID is generated at the first login in the application, it is permanent and stored in the DataBase on server side, it is also stored on client side. This Actor ID is generated only if the user have the required rigths to the application.

Author:
PELLERIN Romain (pellerin@cnam.fr) - MEGA Project

Method Summary
 int getActorID()
          Returns the Actor ID.
 int getApplicationID()
          Returns the Application ID associated.
 java.lang.String getPassword()
          Returns the the password of the actor.
 java.lang.String getPseudoName()
          Returns the current pseudo name of the user session.
 java.lang.String getUsername()
          Returns the username of the actor.
 boolean isPseudoHasModified()
          Determines if the pseudo has modified during the session.
 void setPseudoName(java.lang.String name)
          Set the current pseudo name of the user session.
 

Method Detail

getActorID

public int getActorID()
Returns the Actor ID.

Returns:
the Actor ID

getApplicationID

public int getApplicationID()
Returns the Application ID associated.

Returns:
the Application ID

getUsername

public java.lang.String getUsername()
Returns the username of the actor.

Returns:
username

getPassword

public java.lang.String getPassword()
Returns the the password of the actor.

Returns:
password

getPseudoName

public java.lang.String getPseudoName()
Returns the current pseudo name of the user session.

Returns:
the ActorSession ID

setPseudoName

public void setPseudoName(java.lang.String name)
Set the current pseudo name of the user session.


isPseudoHasModified

public boolean isPseudoHasModified()
Determines if the pseudo has modified during the session.