|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBaseTable
com.fatwire.assetapi.site.UserLoggedInInfo
public class UserLoggedInInfo
This class is used by the WEM framework to log the last logged in time for the user.This class uses the same table "UIUserLoggedInDetails" to log the time as the dash uses to log the last logged in time (to dash) and the last edited asset by the user. These two class differ in their functionality in terms of site which will always be 0 for WEM and will have value of pub id when logged by dash. Dash UI also logs the last edited asset id for the user in the logged in site which this class doesn't care about and always inserts null for asset id.
Constructor Summary | |
---|---|
UserLoggedInInfo(ICS ics)
|
Method Summary | |
---|---|
void |
addlastLoggedIn(User user)
Updates the last logged in time in the UIUserLoggedInDetails table for the first time. |
java.lang.String |
getUserColumnValue(User user,
java.lang.String columnName)
Get the column value from the UIUserLoggedInDetails table for the given user and the column name. |
void |
populateLastLoggedInDetails(User user)
This method populates the last logged in time in the user object |
void |
updateLastLoggedIn(User user)
Updates the last logged in time in the UIUserLoggedInDetails table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserLoggedInInfo(ICS ics)
Method Detail |
---|
public void populateLastLoggedInDetails(User user)
user
- public void updateLastLoggedIn(User user)
user
- public void addlastLoggedIn(User user)
user
- public java.lang.String getUserColumnValue(User user, java.lang.String columnName)
user
- columnName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |