net.sourceforge.fixagora.basis.server.control.component
Class SessionManager

java.lang.Object
  extended by net.sourceforge.fixagora.basis.server.control.component.SessionManager

public class SessionManager
extends java.lang.Object

The Class SessionManager.


Field Summary
 boolean incrementalRefresh
          The incremental refresh.
 
Constructor Summary
SessionManager(boolean incrementalRefresh)
          Instantiates a new session manager.
 
Method Summary
 void addEntryType(char entry)
          Adds the entry type.
 void addSecurity(java.lang.String security)
          Adds the security.
 java.util.Set<java.lang.Character> getEntryTypes()
          Gets the entry types.
 java.lang.String getRefId(java.lang.String securityID, char entry)
          Gets the ref id.
 java.util.Collection<java.lang.String> getSecurities()
          Gets the securities.
 boolean isIncrementalRefresh()
          Checks if is incremental refresh.
 void removeRefId(java.lang.String securityID, char entry)
          Removes the ref id.
 void removeSecurity(java.lang.String security)
          Removes the security.
 void setIncrementalRefresh(boolean incrementalRefresh)
          Sets the incremental refresh.
 void setRefId(java.lang.String securityID, char entry, java.lang.String entryID)
          Sets the ref id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

incrementalRefresh

public boolean incrementalRefresh
The incremental refresh.

Constructor Detail

SessionManager

public SessionManager(boolean incrementalRefresh)
Instantiates a new session manager.

Parameters:
incrementalRefresh - the incremental refresh
Method Detail

addSecurity

public void addSecurity(java.lang.String security)
Adds the security.

Parameters:
security - the security

removeSecurity

public void removeSecurity(java.lang.String security)
Removes the security.

Parameters:
security - the security

addEntryType

public void addEntryType(char entry)
Adds the entry type.

Parameters:
entry - the entry

setIncrementalRefresh

public void setIncrementalRefresh(boolean incrementalRefresh)
Sets the incremental refresh.

Parameters:
incrementalRefresh - the new incremental refresh

isIncrementalRefresh

public boolean isIncrementalRefresh()
Checks if is incremental refresh.

Returns:
true, if is incremental refresh

getSecurities

public java.util.Collection<java.lang.String> getSecurities()
Gets the securities.

Returns:
the securities

getEntryTypes

public java.util.Set<java.lang.Character> getEntryTypes()
Gets the entry types.

Returns:
the entry types

getRefId

public java.lang.String getRefId(java.lang.String securityID,
                                 char entry)
Gets the ref id.

Parameters:
securityID - the security id
entry - the entry
Returns:
the ref id

setRefId

public void setRefId(java.lang.String securityID,
                     char entry,
                     java.lang.String entryID)
Sets the ref id.

Parameters:
securityID - the security id
entry - the entry
entryID - the entry id

removeRefId

public void removeRefId(java.lang.String securityID,
                        char entry)
Removes the ref id.

Parameters:
securityID - the security id
entry - the entry