Skip navigation links


com.fatwire.assetapi.site
Class UserLoggedInInfo

java.lang.Object
  extended by com.openmarket.basic.common.BaseTable
      extended by com.openmarket.xcelerate.util.BaseTable
          extended by com.fatwire.assetapi.site.UserLoggedInInfo


public class UserLoggedInInfo
extends com.openmarket.xcelerate.util.BaseTable

This class is used by the WEM framework to log the last logged in time for the user. It maintains the information in "UIUSerLoggedInDetails" table. It does not log the last edited asset id for the user and always inserts null for asset id.


Field Summary

 

Fields inherited from class com.openmarket.basic.common.BaseTable
COMMA, FW_TABLE_PREFIX, STAR

 

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 com.openmarket.basic.common.BaseTable
callCatalogManager, countSQL, countSQL, countSQL, deleteSQL, discardList, executeSQL, executeSQL, flushTable, flushTable, getICS, getTableName, prepareSQLDate, querySQL, querySQL, querySQL, querySQL, querySQL, querySQL, querySQL, querySQL, querySQL, querySQLRaw, quoteSQLString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

UserLoggedInInfo

public UserLoggedInInfo(ICS ics)

Method Detail

populateLastLoggedInDetails

public void populateLastLoggedInDetails(User user)
This method populates the last logged in time in the user object
Parameters:
user -

updateLastLoggedIn

public void updateLastLoggedIn(User user)
Updates the last logged in time in the UIUserLoggedInDetails table.
Parameters:
user -

addlastLoggedIn

public void addlastLoggedIn(User user)
Updates the last logged in time in the UIUserLoggedInDetails table for the first time.
Parameters:
user -

getUserColumnValue

public 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.
Parameters:
user -
columnName -

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.