|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.vlib.Visit
The visit object for the VirtualLibraryEngine
.
Primarily, this is used to access the home interfaces and EJB instances, and
to identify who the logged in user is.
Constructor Summary | |
Visit(VirtualLibraryEngine engine)
|
Method Summary | |
void |
clearCache()
Invoked by pages after they perform an operation that changes the backend database in such a way that cached data is no longer valid. |
VirtualLibraryEngine |
getEngine()
|
java.sql.Timestamp |
getLastAccess()
Returns the time the user last accessed the database, which may be null if the user hasn't logged in yet. |
Person |
getUser()
Gets the logged-in user, or null if the user is not logged in. |
java.lang.Integer |
getUserPK()
Returns the primary key of the logged in user, or null if the user is not logged in. |
boolean |
isLoggedInUser(java.lang.Integer primaryKey)
|
boolean |
isUserLoggedIn()
Returns true if the user is logged in. |
boolean |
isUserLoggedOut()
Returns true if the user has not been identified (has not logged in). |
void |
setUser(Person value)
Changes the logged in user ... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Visit(VirtualLibraryEngine engine)
Method Detail |
public VirtualLibraryEngine getEngine()
public java.sql.Timestamp getLastAccess()
public Person getUser()
public java.lang.Integer getUserPK()
public void setUser(Person value)
Login
page.public boolean isUserLoggedIn()
public boolean isUserLoggedOut()
public boolean isLoggedInUser(java.lang.Integer primaryKey)
public void clearCache()
IPublisher
entity.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |