pt.digitalis.dif.controller.interfaces
Interface IPrivateDIFSession

All Superinterfaces:
IDIFSession
All Known Implementing Classes:
DIFSession

public interface IPrivateDIFSession
extends IDIFSession

Defines a public accessible DIF Session

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt
, Pedro Viegas pviegas@digitalis.pt
Created on:
Nov 29, 2007

Method Summary
 void forceKeepAlive()
          Touches the session so it remains active.
 boolean hasExpiredAfterTimeOut()
          The criteria for a timed out session is that the last access time plus the session time out must be higher than the current time.
 void keepAlive()
          Touches the session so it remains active, if the session hasn't expired or is marked for removal.
 void setMarkedForRemoval(Boolean markedForRemoval)
          Marks the session to be removed
 
Methods inherited from interface pt.digitalis.dif.controller.interfaces.IDIFSession
addAttribute, containsAttribute, getAttribute, getAttributes, getLanguage, getNavigationHistory, getSessionID, getSessionTimeOut, getUser, hasTimedOut, isLogged, isMarkedForRemoval, setAttributes, setLanguage, setSessionTimeOut, setUser
 

Method Detail

forceKeepAlive

void forceKeepAlive()
Touches the session so it remains active.


hasExpiredAfterTimeOut

boolean hasExpiredAfterTimeOut()
The criteria for a timed out session is that the last access time plus the session time out must be higher than the current time.

Returns:
T time after the session has timed out that the cleanup Collection will consider before purging the session (ms).

keepAlive

void keepAlive()
Touches the session so it remains active, if the session hasn't expired or is marked for removal.


setMarkedForRemoval

void setMarkedForRemoval(Boolean markedForRemoval)
Marks the session to be removed

Parameters:
markedForRemoval -


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.