|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.bean
Interface TrackedUser

- All Superinterfaces:
- EntityBean, java.io.Serializable, User
- All Known Implementing Classes:
- SimpleTrackedUser
- public interface TrackedUser
- extends User
A User whose logins and sessions we track.
- Version:
- $Id: TrackedUser.java,v 1.9 2003/09/30 15:13:10 joe Exp $
| Field Summary | |
static int |
ALLOW_INFINITE_LOGONS
For users to be allowed to logon any number of times, set their maxNoOfSimultaneousSessions to this value. |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.User |
DATABASE_TABLE |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
INTERFACE_BEAN, NULL_ID |
| Method Summary | |
boolean |
getArchived()
Get the Archived. |
java.util.Date |
getLastLoginDate()
Get the LastLoginDate. |
int |
getMaxNoOfSimultaneousSessions()
Get the MaxNoOfSimultaneousSessions. |
java.lang.String |
getNameDescriptor()
Get the descriptor of this user: first last (email). |
int |
getNoOfCurrentSessions()
Get the number of current/active sessions, eg sessions which haven't timed out. |
int |
getNoOfLogins()
Get the NoOfLogins. |
void |
increaseNoOfLogins()
Increase NoOfLogins by 1. |
boolean |
isArchived()
Get the Archived. |
void |
setArchived(boolean archived)
Set the Archived. |
void |
setLastLoginDate(java.util.Date lastLoginDate)
Set the LastLoginDate. |
void |
setMaxNoOfSimultaneousSessions(int maxNoOfSimultaneousSessions)
Set the MaxNoOfSimultaneousSessions. |
void |
setNoOfLogins(int noOfLogins)
Set the NoOfLogins. |
| Methods inherited from interface com.RuntimeCollective.webapps.bean.User |
addRole, getAddress, getAttribute, getCreateDate, getEmail, getFirstName, getLastName, getPassword, getRoles, hasRole, removeRole, setAddress, setAttribute, setCreateDate, setEmail, setFirstName, setLastName, setPassword, setRoles |
| Methods inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
delete, getId, save, setId |
| Field Detail |
ALLOW_INFINITE_LOGONS
public static final int ALLOW_INFINITE_LOGONS
- For users to be allowed to logon any number of times,
set their maxNoOfSimultaneousSessions to this value.
- See Also:
- Constant Field Values
| Method Detail |
setNoOfLogins
public void setNoOfLogins(int noOfLogins)
- Set the NoOfLogins.
getNoOfLogins
public int getNoOfLogins()
- Get the NoOfLogins.
increaseNoOfLogins
public void increaseNoOfLogins()
- Increase NoOfLogins by 1.
setMaxNoOfSimultaneousSessions
public void setMaxNoOfSimultaneousSessions(int maxNoOfSimultaneousSessions)
- Set the MaxNoOfSimultaneousSessions.
getMaxNoOfSimultaneousSessions
public int getMaxNoOfSimultaneousSessions()
- Get the MaxNoOfSimultaneousSessions.
getNoOfCurrentSessions
public int getNoOfCurrentSessions()
- Get the number of current/active sessions, eg sessions which haven't timed out.
setLastLoginDate
public void setLastLoginDate(java.util.Date lastLoginDate)
- Set the LastLoginDate.
getLastLoginDate
public java.util.Date getLastLoginDate()
- Get the LastLoginDate.
setArchived
public void setArchived(boolean archived)
- Set the Archived.
getArchived
public boolean getArchived()
- Get the Archived.
isArchived
public boolean isArchived()
- Get the Archived.
getNameDescriptor
public java.lang.String getNameDescriptor()
- Get the descriptor of this user: first last (email).
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC