Esempio n. 1
0
 /** Sets the user login time to the current time */
 public void setLoginTimeAndUpdate() {
   secondToLastLoginTime = lastLoginTime;
   lastLoginTime = DateUtil.now();
   doUpdateAndRetry();
   Logger.debug(
       getClass().getCanonicalName() + " " + pk + " login time updated to " + lastLoginTime);
 }
Esempio n. 2
0
 /** Sets the user last access time to the current time */
 public void setLastAccessTimeAndUpdate() {
   lastAccessTime = DateUtil.now();
   doUpdateAndRetry();
   Logger.debug(
       getClass().getCanonicalName()
           + " "
           + pk
           + " last access time updated to "
           + lastAccessTime);
 }