public class ABOAccessList extends AbstractServerObject<ServerContext> implements java.lang.Cloneable
| Constructor and Description |
|---|
ABOAccessList(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
ABOAccessList |
clone() |
protected int |
configureDumpHeadlineLength() |
void |
deregister(AliveBusinessObject abo,
SessionId sessId)
Deregisters the given session from the given ABO.
|
int |
dumpByABOs(DumpString s) |
int |
dumpBySessions(DumpString s) |
int |
dumpByUser(DumpString ds,
SessionId sessId) |
void |
fireChangeMessage(AliveBusinessObject abo,
ABOChangeType action) |
AliveBusinessObject[] |
getABOsOfSession(SessionId sessId) |
java.util.List<AliveBusinessObject> |
getAllABOs() |
java.util.List<SessionId> |
getAllAccessingSessions()
Returns a unique sorted list of SessionId's which are currently accessing ABOs in the cache
|
SessionId[] |
getSessionsOfAbo(AliveBusinessObject abo)
Returns all
SessionIds that are currently accessing the given ABO. |
boolean |
hasSessions(AliveBusinessObject abo) |
boolean |
isbeingAccessed(AliveBusinessObject abo) |
void |
register(AliveBusinessObject abo,
SessionId sessId)
Registers the given session for the given ABO.
|
void |
removeABO(AliveBusinessObject abo) |
checkPermission, getServerConfig, getServerContext, getStatisticManager, toStringgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringpublic ABOAccessList(ServerContext serverCtx)
public void register(AliveBusinessObject abo, SessionId sessId)
public void deregister(AliveBusinessObject abo, SessionId sessId)
Note that if an ABO looses its last accessing session it is automatically dropped from the map.
public java.util.List<AliveBusinessObject> getAllABOs()
public AliveBusinessObject[] getABOsOfSession(SessionId sessId)
public boolean isbeingAccessed(AliveBusinessObject abo)
public void removeABO(AliveBusinessObject abo)
public boolean hasSessions(AliveBusinessObject abo)
public SessionId[] getSessionsOfAbo(AliveBusinessObject abo)
SessionIds that are currently accessing the given ABO.public java.util.List<SessionId> getAllAccessingSessions()
public void fireChangeMessage(AliveBusinessObject abo, ABOChangeType action)
protected int configureDumpHeadlineLength()
configureDumpHeadlineLength in class DumpableObjectpublic int dumpByABOs(DumpString s)
public int dumpBySessions(DumpString s)
public int dumpByUser(DumpString ds, SessionId sessId)
public ABOAccessList clone()
clone in class java.lang.ObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.