|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mega.gasp.platform.impl.ActorImpl
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.
Field Summary | |
private int |
actorID
|
private int |
appID
|
private java.lang.String |
name
|
private java.lang.String |
pseudo
|
private boolean |
pseudoModified
|
private java.lang.String |
pwd
|
Constructor Summary | |
ActorImpl(int aID,
int applicationID,
java.lang.String username,
java.lang.String password,
java.lang.String lastUsedPseudo)
|
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()
Tells if the pseudo has modified during the session. |
void |
setPseudoName(java.lang.String name)
Set the current pseudo name of the user session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int actorID
private int appID
private java.lang.String name
private java.lang.String pwd
private java.lang.String pseudo
private boolean pseudoModified
Constructor Detail |
public ActorImpl(int aID, int applicationID, java.lang.String username, java.lang.String password, java.lang.String lastUsedPseudo)
Method Detail |
public int getActorID()
getActorID
in interface Actor
public int getApplicationID()
getApplicationID
in interface Actor
public java.lang.String getUsername()
getUsername
in interface Actor
public java.lang.String getPassword()
getPassword
in interface Actor
public java.lang.String getPseudoName()
getPseudoName
in interface Actor
public void setPseudoName(java.lang.String name)
setPseudoName
in interface Actor
public boolean isPseudoHasModified()
isPseudoHasModified
in interface Actor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |