Package | Description |
---|---|
de.esprit.netsuite.client |
Contains classes that make up the Client of a dual-port server
|
de.esprit.netsuite.client.activity.agent |
Contains Agent activity monitoring classes
|
de.esprit.netsuite.client.activity.transfer |
Contains Transfer activity monitoring classes
|
de.esprit.netsuite.client.gui |
Contains GUI related classes of the Duap-Port Servers admin client
|
de.esprit.netsuite.client.gui.action |
Contains network related standard actions used in the client GUI
|
de.esprit.netsuite.client.gui.rtask |
Contains GUI components dealing with remote tasks
|
de.esprit.netsuite.client.info |
Contains classes for requesting detailed client info
|
de.esprit.netsuite.client.net |
Contains GUI gui components for network controlling and monitoring
|
de.esprit.netsuite.client.net.event |
Contains events fired by the clients network components
|
de.esprit.netsuite.client.netch |
Contains classes that build the client network adapter
|
de.esprit.netsuite.client.netch.io |
Contains the IO specific implementations for the network connections
|
de.esprit.netsuite.client.tool.pathtree.action |
Contains path-tree related standard actions
|
de.esprit.netsuite.client.tool.sess |
Contains classes for moitoring sessions
|
de.esprit.netsuite.netdata |
Contains serializable objects which are interchanged between client and server
|
de.esprit.netsuite.netdata.agent |
Contains base classes for implementing custom network agents
|
de.esprit.netsuite.netdata.agent.common |
Contains network agents for common use
|
de.esprit.netsuite.netdata.agent.database |
Contains database related network agents for reading/writing records from/to the database
|
de.esprit.netsuite.netdata.agent.internal.session |
Contains network agents used for user and group management.
|
de.esprit.netsuite.netdata.agent.internal.transfer |
Contains Agents dealing with file transfers
|
de.esprit.netsuite.netdata.command |
Contains a collection of standard ClientCommands
|
de.esprit.netsuite.netdata.command.demo |
Contains examples for client commands
|
de.esprit.netsuite.netdata.event |
Contains serializable events that are sent by the server
|
de.esprit.netsuite.netdata.transfer |
Contains base classes for file transfers
|
de.esprit.netsuite.rtask |
Contains extensions for RemoteAsyncTask support
|
de.esprit.netsuite.rtask.journal |
Contains the classes implementing journalled remote tasks
|
de.esprit.netsuite.server |
These classes make up the EsprIT server
|
de.esprit.netsuite.server.abo |
Contains server classes for working with Alive Business Objects (ABOs)
|
de.esprit.netsuite.server.auth |
Contains classes for server side user authentication
|
de.esprit.netsuite.server.auth.dbuser |
Contains a sample User and Group implemantation for database stroage
|
de.esprit.netsuite.server.auth.member |
Contains classes for managing user and group assignments
|
de.esprit.netsuite.server.auth.user |
Contains classes defining users for the esprit server
|
de.esprit.netsuite.server.batch |
Contains classes that implement and manage the available server processes
|
de.esprit.netsuite.server.core |
Contains basic server core classes
|
de.esprit.netsuite.server.cpu |
Contains classes of the positioner tool (MVC-demo)
|
de.esprit.netsuite.server.db |
Contains classes for server side database configuration.
|
de.esprit.netsuite.server.lock |
Contains classes for managing temporary edit locks on server resources
|
de.esprit.netsuite.server.netch |
Contains classes that build the server network adapter
|
de.esprit.netsuite.server.pathtree |
Contains classes for remote file-tree access
|
de.esprit.netsuite.server.permission |
These classes implement the permission system of the esprit server
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClientTaskManager.cancelTask(RemoteTaskId taskId,
SessionId sessId)
Sends a
RemoteTaskCancelAgent in order to cancel the remote task on the server. |
boolean |
ClientContext.cancelTask(RemoteTaskId taskId,
SessionId sessId)
Sends a
RemoteTaskCancelAgent in order to cancel the remote task on the server. |
Modifier and Type | Method and Description |
---|---|
boolean |
ActiveAgentsListModel.cancelAgentByName(java.lang.String agentName,
SessionId killerId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
FileTransferClientTask.getSessionId() |
Modifier and Type | Method and Description |
---|---|
SessionId |
ClientTable.getSessionId() |
SessionId |
ClientList.getSessionId() |
Modifier and Type | Method and Description |
---|---|
SessionId |
ClientAction.getSessionId() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteTaskProgressEventForwarder.deregisterProgressListenSession(SessionId sessionId)
Switches progress of the remote task off when no session is registered any more.
|
void |
RemoteTaskProgressEventForwarder.registerProgressListenSession(SessionId sessionId)
Switches progress of the remote task on as soon as any session gets registered.
|
protected void |
RemoteTaskDefaultEventForwarder.sendEvent(RemoteTaskEvent event,
SessionId targetSession) |
Constructor and Description |
---|
ClientInfo(SessionId sessionId) |
ClientInfoCommand(SessionId fromSessId,
SessionId toSessId) |
SessionInfoAgent(ClientContext clientCtx,
SessionId targetSessionId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
RequestChannel.getSessionId() |
Constructor and Description |
---|
MissingAdminPermissionException(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
NetworkConnectionEvent.getSessionId() |
Constructor and Description |
---|
NetworkConnectionEvent(SessionId sessionId,
ConnectionStatus status) |
NetworkConnectionEvent(SessionId sessionId,
java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
SessionId |
ClientRequestConnection.connect() |
SessionId |
EspritClientConnector.getSessionId() |
SessionId |
ClientRequestConnection.getSessionId() |
SessionId |
ClientNetworkAdapter.getSessionId() |
SessionId |
ClientConnector.getSessionId()
Returns the
SessionId if a connection is established. |
Modifier and Type | Method and Description |
---|---|
void |
ClientMessageConnection.connect(SessionId sessionId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
IOClientRequestConnection.connect() |
SessionId |
IOClientRequestConnection.getSessionId() |
Modifier and Type | Method and Description |
---|---|
void |
IOClientMessageConnection.connect(SessionId sessionId) |
Constructor and Description |
---|
RemoteArchiveExtractTask(ServerContext serverCtx,
SessionId sessionId,
java.io.File relativeArchiveFile) |
RemoteArchiveListTask(S serverCtx,
SessionId sessionId,
java.io.File relativeArchiveFile) |
Modifier and Type | Method and Description |
---|---|
SessionId |
ConnectedClientsList.getSelectedSession() |
Modifier and Type | Class and Description |
---|---|
class |
CoSessionId
This class identifies the session of a co-client
|
class |
ServerSessionId
This class identifies the pseudo session of a server
|
Modifier and Type | Method and Description |
---|---|
SessionId |
SessionId.clone() |
SessionId |
SessionId.deepClone() |
SessionId |
NetMessage.getFromSession() |
SessionId |
DeliverableMessage.getFromSession() |
SessionId |
LastAccessed.getLastAccessorId()
Tells which client has last accessed the model
|
SessionId |
AbstractServerModel.getLastAccessorId() |
SessionId[] |
AbstractSessionServerModel.getRegisteredSessions() |
SessionId |
NetRequest.getSessionId() |
SessionId |
NetMessage.getTargetSession()
Setting a target session indicates that the message is being sent to this session only.
|
SessionId |
DeliverableMessage.getTargetSession() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSessionServerModel.deregisterSession(SessionId sessId) |
boolean |
AbstractSessionServerModel.isSessionRegistered(SessionId sessionId) |
void |
AbstractSessionServerModel.registerSession(SessionId sessId) |
void |
NetMessage.setFromSession(SessionId fromSessId) |
void |
DeliverableMessage.setFromSession(SessionId fromSessionCtx) |
void |
LastAccessed.setLastAccessorId(SessionId sessId)
Sets the sessionId of the client who has last accessed the model
|
void |
AbstractServerModel.setLastAccessorId(SessionId sessId) |
void |
NetRequest.setSessionId(SessionId ctx) |
void |
NetMessage.setTargetSession(SessionId toSessId) |
void |
DeliverableMessage.setTargetSession(SessionId toSessionCtx) |
Constructor and Description |
---|
SessionRegistrationEvent(SessionId sessId,
boolean isAdded) |
Modifier and Type | Method and Description |
---|---|
SessionId |
AsyncAgent.getKillerSessionId()
Tells which foreign user has cancelled the agent
|
SessionId |
AbstractAgent.getKillerSessionId() |
SessionId |
Agent.getOwnerSessionId()
Return the SessionId of the actual originator client which is always a normal client (NOT a
CoClient).
|
SessionId |
Agent.getSessionId()
Returns the SessionId of the sender of this agent.
|
Modifier and Type | Method and Description |
---|---|
protected AgentId |
AbstractSequencedAgent.createAgentId(SessionId sessId) |
void |
AsyncAgent.setCancelledBy(SessionId killerSessionId)
Sets the agent into the cancelled state.
|
void |
AbstractAgent.setCancelledBy(SessionId killerSessId)
Marks the agent to be cancelled without performing any further
cancel action.
|
void |
Agent.setOwnerSessionId(SessionId origSessId)
Sets the sessionId of the user who creates the agent
|
void |
Agent.setSessionId(SessionId sessId)
Allows for setting the SessionId of this agent
|
Constructor and Description |
---|
AgentId(SessionId sessId,
java.lang.String agentName) |
AgentId(SessionId sessId,
java.lang.String agentName,
RemoteTaskType taskType) |
SequencedAgentId(SessionId sessId,
java.lang.String agentName) |
StreamAgentId(SessionId sessId,
java.lang.String agentName) |
TransferAgentId(SessionId sessId,
java.lang.String agentName) |
Modifier and Type | Method and Description |
---|---|
SessionId[] |
ABOInfoAgent.getAccessingSessions() |
Constructor and Description |
---|
ClientMessageAgent(C clientCtx,
java.lang.Object argument,
SessionId targetSessId) |
Modifier and Type | Method and Description |
---|---|
void |
DBLoadAgent.setCancelledBy(SessionId killerSessId) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SessionId> |
GetSessionsAgent.getSessions() |
Constructor and Description |
---|
SessionKillAgent(ClientContext clientCtx,
SessionId sessionId) |
SessionKillAgent(ClientContext clientCtx,
SessionId sessionId,
SessionId targetSessionId) |
SessionResetAgent(ClientContext clientCtx,
SessionId sessionId,
SessionId targetSessionId) |
Modifier and Type | Method and Description |
---|---|
protected AgentId |
FileTransferAgent.createAgentId(SessionId sessId) |
protected AgentId |
FileStreamDownloadAgent.createAgentId(SessionId sessId) |
void |
FileTransferAgent.setOwnerSessionId(SessionId origSessId) |
void |
FileStreamDownloadAgent.setOwnerSessionId(SessionId origSessId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
ClientCommand.getFromSession() |
SessionId |
ClientCommand.getTargetSession() |
Modifier and Type | Method and Description |
---|---|
void |
ClientCommand.setFromSession(SessionId sessId) |
void |
ClientCommand.setTargetSession(SessionId sessId) |
Constructor and Description |
---|
CancelClientCommand(SessionId fromSessId,
CancelClientCommand.CancelScope scope) |
CancelClientCommand(SessionId fromSessId,
ClientCommand<ClientContext> cmd) |
CancelRemoteTaskCommand(SessionId fromSessId,
SessionId toSessId,
RemoteTaskId agentId) |
CancelTransferCommand(SessionId fromSess,
JobId jobId) |
ClientCommand(ServerContext serverCtx,
SessionId toSessId,
java.lang.Object argument)
Used if the server itself sends the command.
|
ClientCommand(SessionId fromSessId) |
ClientCommand(SessionId fromSessId,
SessionId toSessId) |
ClientCommand(SessionId fromSessId,
SessionId toSessId,
java.lang.Object argument)
Used if the the command was caused by another client.
|
ClientMessageCommand(SessionId fromSessId) |
ClientMessageCommand(SessionId fromSess,
SessionId toSessId) |
ClientResetCommand(SessionId fromSess,
SessionId toSessId) |
ClientShutdownCommand(SessionId fromSessId) |
ClientShutdownCommand(SessionId fromSessId,
SessionId toSessId) |
ClientShutdownDialog(SessionId terminatorId) |
LockReleaseCommand(SessionId fromSessId)
Force all clients to release all their locks
|
LockReleaseCommand(SessionId fromSessId,
ResourceLock lock)
Force the lock owner to release the given lock
|
LockTimedOutCommand(SessionId fromSessId,
ResourceLock lock) |
Constructor and Description |
---|
ExAsyncClientCommand(SessionId fromSessId,
SessionId toSessId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
ABOChangeEvent.getLastAccessorId()
Note that this may be null if the Server itself was the one who
changed that ABO!
|
SessionId |
RemoteRecordChangeEvent.getSessionId()
Returns the SessionId of the client who caused the change.
|
SessionId |
NetEvent.getSessionId()
Returns the SessionId of the client who caused the change.
|
SessionId |
AbstractSessionEvent.getSessionId()
Returns the SessionId of the client who caused the change.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ABOChangeEvent.wasCausedByMe(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
SessionId |
JobId.getOwnerSessionId() |
SessionId |
JobId.getSessionId() |
SessionId |
AbstractTransferJob.getSessionId() |
Modifier and Type | Method and Description |
---|---|
void |
JobId.setOwnerSessionId(SessionId sessId) |
Constructor and Description |
---|
AbstractTransferJob(SessionId sessionId,
JobConstraint constr,
java.io.File serverBaseDir,
java.lang.String serverFileName) |
AbstractTransferJob(SessionId sessionId,
JobConstraint constr,
java.io.File clientBaseDir,
java.lang.String clientFileName,
java.io.File serverBaseDir,
java.lang.String serverFileName) |
FileStreamJob(SessionId sessionId,
FileDataType dataType,
java.io.File serverBaseDir,
java.lang.String serverFileName) |
FileTransferJob(SessionId sessionId,
JobConstraint constr,
java.io.File serverBaseDir,
java.lang.String serverFileName,
java.io.File clientBaseDir,
java.lang.String clientFileName) |
FileTransferJob(SessionId sessionId,
TransferDirection trDir,
FileDataType trDataType,
java.io.File serverBaseDir,
java.lang.String serverFileName,
java.io.File clientBaseDir,
java.lang.String clientFileName) |
Modifier and Type | Method and Description |
---|---|
SessionId |
RemoteTaskId.getKillerSessionId() |
SessionId |
RemoteTaskEvent.getKillerSessionId() |
SessionId |
RemoteRunStateFlag.getKillerSessionId() |
SessionId |
RemoteCancellableTask.getKillerSessionId()
Returns the
SessionId of the one who cancelled this task |
SessionId |
AbstractRemoteTask.getKillerSessionId() |
SessionId |
AbstractRemoteOsProcessTask.getKillerSessionId() |
SessionId |
RemoteTaskId.getOwnerSessionId() |
SessionId |
RemoteTask.getOwnerSessionId()
Returns the
SessionId of the session that owns this task. |
SessionId |
AbstractRemoteTask.getOwnerSessionId() |
SessionId |
AbstractRemoteOsProcessTask.getOwnerSessionId() |
SessionId |
AbstractClientEDT.getOwnerSessionId()
Returns the originator sessionId or the connection sessionId if owner is not set
|
SessionId |
RemoteTaskId.getSessionId() |
SessionId |
RemoteTaskEvent.getSessionId() |
SessionId |
RemoteTask.getSessionId()
Returns the
SessionId of the Session that submitted this task |
SessionId |
AbstractRemoteTask.getSessionId() |
SessionId |
AbstractRemoteOsProcessTask.getSessionId() |
SessionId |
AbstractClientTask.getSessionId() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteCancellableTask.cancel(SessionId killerSessId)
Cancels the running task and stores the
SessionId of the killer. |
void |
AbstractRemoteTask.cancel(SessionId killerSessId) |
void |
AbstractRemoteOsProcessTask.cancel(SessionId killerSessId) |
RemoteTask |
CoServerBindTaskCreator.createRemoteTask(ServerContext serverCtx,
SessionId sessionId) |
RemoteTask |
RemoteTaskCreator.createRemoteTask(S serverCtx,
SessionId sessionId)
Is called when the task needs to be created in the given context.
|
void |
RemoteTaskId.setCancelledBy(SessionId killerId) |
protected void |
RemoteRunStateFlag.setCancelRequestedBy(SessionId killerSessId) |
void |
RemoteTaskId.setOwnerSessionId(SessionId ownerId) |
void |
AbstractClientEDT.setOwnerSessionId(SessionId ownerSessId)
Sets the originator sessionId
|
void |
RemoteTaskId.setSessionId(SessionId sessionId)
Allows for changing the sessionId.
|
void |
RemoteTaskEvent.setSessionId(SessionId sessId) |
void |
AbstractRemoteTask.setSessionId(SessionId sessionId)
Allows subtasks to set the sessionId explicitly.
|
void |
AbstractRemoteOsProcessTask.setSessionId(SessionId sessionId)
Allows subtasks to set the sessionId explicitly.
|
Constructor and Description |
---|
AbstractRemoteOsProcessTask(S serverCtx,
LogChannel logCh,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractRemoteOsProcessTask(S serverCtx,
SessionId sessionId) |
AbstractRemoteOsProcessTask(S serverCtx,
java.lang.String taskName,
SessionId sessionId) |
AbstractRemoteTask(S serverCtx,
LogChannel logCh,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractRemoteTask(S serverCtx,
LogChannel logCh,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractRemoteTask(S serverCtx,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractRemoteTask(S serverCtx,
SessionId sessionId) |
AbstractRemoteTask(S serverCtx,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
CoServerBindTask(S serverCtx,
java.lang.String coServerName,
RemoteTaskCreator coSrvTaskCreator,
SessionId sessionId) |
RemoteJavaCommandTask(S serverCtx,
JavaCommand cmd,
SessionId sessionId) |
RemoteJavaCommandTask(S serverCtx,
LogChannel logCh,
JavaCommand cmd,
SessionId sessionId) |
RemoteJavaCommandTask(S serverCtx,
LogChannel logCh,
java.lang.String taskName,
JavaCommand cmd,
SessionId sessionId) |
RemoteJavaCommandTask(S serverCtx,
SessionId sessionId) |
RemoteJavaCommandTask(S serverCtx,
java.lang.String taskName,
SessionId sessionId) |
RemoteTaskCancelAgent(ClientContext clientCtx,
RemoteTaskId taskIdToCancel,
SessionId killerId) |
RemoteTaskId(java.lang.String taskName,
TaskType taskType,
SessionId sessionId) |
RemoteTaskStartAgent(C clientCtx,
RemoteTaskCreator<S> taskCreator,
SessionId ownerId) |
Modifier and Type | Method and Description |
---|---|
void |
JournalTaskMonitor.attachAndPlayEventJournal(SessionId sessionId) |
void |
JournalTask.attachAndPlayEventJournal(SessionId sessionId)
Re-attaches to the
JournalTask and forces it to sent all stored and future events
to the given session. |
void |
AbstractJournalTask.attachAndPlayEventJournal(SessionId sessionId) |
void |
AbstractJournalOsProcessTask.attachAndPlayEventJournal(SessionId sessionId) |
void |
JournalTask.setSessionId(SessionId sessionId) |
Constructor and Description |
---|
AbstractJournalOsProcessTask(S serverCtx,
LogChannel logCh,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractJournalOsProcessTask(S serverCtx,
SessionId sessionId) |
AbstractJournalOsProcessTask(S serverCtx,
java.lang.String taskName,
SessionId sessionId) |
AbstractJournalTask(S serverCtx,
LogChannel logCh,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractJournalTask(S serverCtx,
LogChannel logCh,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
AbstractJournalTask(S serverCtx,
SessionId sessionId) |
AbstractJournalTask(S serverCtx,
java.lang.String taskName,
RemoteTaskType taskType,
SessionId sessionId) |
JournalTaskId(java.lang.String taskName,
TaskType taskType,
SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractServerObject.checkPermission(SessionId sessionId,
EspritPermission action)
Checks whether the current user has permission on this object for the given action.
|
void |
ServerContext.logDebug(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
ServerContext.logDump(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
boolean |
ServerContext.logError(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
boolean |
ServerContext.logError(SessionId sessId,
java.lang.Object caller,
java.lang.String message,
java.lang.Exception e) |
boolean |
ServerContext.logFatal(SessionId sessId,
java.lang.Object caller,
java.lang.String message,
java.lang.Exception e) |
void |
ServerContext.logInfo(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
ServerContext.logVerbose(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
ServerContext.logWarning(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
ServerContext.shutdown(SessionId terminatorId) |
Modifier and Type | Method and Description |
---|---|
SessionId[] |
ABOAccessList.getSessionsOfAbo(AliveBusinessObject abo)
Returns all
SessionId s that are currently accessing the given ABO. |
Modifier and Type | Method and Description |
---|---|
java.util.List<SessionId> |
ABOAccessList.getAllAccessingSessions()
Returns a unique sorted list of SessionId's which are currently accessing ABOs in the cache
|
Modifier and Type | Method and Description |
---|---|
protected void |
ABOServerCache.checkPermission(SessionId sessionId,
PermissionControlled obj,
EspritPermission action)
Checks whether the current user has permission on the given object for the given action.
|
<A extends AliveBusinessObject> |
ABOServerCache.createABO(SessionId sessionId,
A abo)
Creates the ABO and sends a client notification.
|
boolean |
ABOServerCache.deleteABO(SessionId sessionId,
AliveBusinessObject abo)
Deletes the ABO from the cache and sends a client notification.
|
void |
ABOAccessList.deregister(AliveBusinessObject abo,
SessionId sessId)
Deregisters the given session from the given ABO.
|
void |
ABOServerCache.dropABO(SessionId sessionId,
PrimaryKey pk)
Drops the given
SessionId from the ABOs access list. |
int |
ABOAccessList.dumpByUser(DumpString ds,
SessionId sessId) |
<A extends AliveBusinessObject> |
ABOServerCache.fetchABO(SessionId sessionId,
PrimaryKey pk)
Feches the ABO from the cache.
|
AliveBusinessObject |
ABOServerCache.findCachedABO(SessionId sessionId,
PrimaryKey pk)
Returns the cached ABO matching the
PrimaryKey . |
<A extends AliveBusinessObject> |
ABOServerCache.findCachedABOs(SessionId sessionId,
java.lang.Class<A> aboClass,
ABOFilter filter)
Returns a list of ABOs matching the given type and condition.
|
AliveBusinessObject[] |
ABOAccessList.getABOsOfSession(SessionId sessId) |
java.util.Collection<AliveBusinessObject> |
ABOServerCache.getCachedABOs(SessionId sessionId)
Returns all ABOs currently accessed by the given
SessionId |
void |
ABOAccessList.register(AliveBusinessObject abo,
SessionId sessId)
Registers the given session for the given ABO.
|
void |
ABOServerCache.updateABO(SessionId sessionId,
AliveBusinessObject abo)
Updates the given ABO and sends a client notification.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractUserManager.changePassword(SessionId sessionId,
java.lang.String userName,
java.lang.String oldPasswordDigest,
java.lang.String newPasswordDigest) |
void |
GroupManager.deleteGroup(SessionId caller,
Group group) |
void |
AbstractGroupManager.deleteGroup(SessionId sessionId,
Group group) |
void |
UserManager.deleteUser(SessionId caller,
User user) |
void |
AbstractUserManager.deleteUser(SessionId sessionId,
User user) |
User[] |
UserManager.getUsers(SessionId sessionId) |
User[] |
AbstractUserManager.getUsers(SessionId sessionId) |
Group |
GroupManager.insertGroup(SessionId caller,
Group group) |
Group |
AbstractGroupManager.insertGroup(SessionId caller,
Group group) |
User |
UserManager.insertUser(SessionId caller,
User user)
Note that the underlying
UserManager implementation will return a
server specific user subclass. |
User |
AbstractUserManager.insertUser(SessionId sessionId,
User user) |
protected void |
AbstractUserManager.performAfterUpdateUser(SessionId sessionId,
User user)
May do something after a User update (required i.e. for permission management)
|
protected void |
DefaultUserManager.performChangePassword(SessionId callerSessId,
User user,
java.lang.String oldPasswordDigest,
java.lang.String newPasswordDigest) |
protected abstract void |
AbstractUserManager.performChangePassword(SessionId sessionId,
User user,
java.lang.String oldPassword,
java.lang.String newPassword) |
void |
DefaultGroupManager.performDeleteGroup(SessionId callerSessId,
Group group) |
protected abstract void |
AbstractGroupManager.performDeleteGroup(SessionId callerSessId,
Group group) |
protected void |
DefaultUserManager.performDeleteUser(SessionId callerSessId,
User user) |
protected abstract void |
AbstractUserManager.performDeleteUser(SessionId sessionId,
User user) |
Group |
DefaultGroupManager.performInsertGroup(SessionId callerSessId,
Group group,
java.util.List<Group> groupList) |
protected abstract Group |
AbstractGroupManager.performInsertGroup(SessionId callerSessId,
Group group,
java.util.List<Group> groupList) |
protected User |
DefaultUserManager.performInsertUser(SessionId callerSessId,
User user,
java.util.List<User> userList) |
protected abstract User |
AbstractUserManager.performInsertUser(SessionId sessionId,
User user,
java.util.List<User> userList) |
protected void |
DefaultUserManager.performResetPassword(SessionId callerSessId,
User user,
boolean isClear) |
protected abstract void |
AbstractUserManager.performResetPassword(SessionId sessionId,
User user,
boolean isClear) |
void |
DefaultGroupManager.performUpdateGroup(SessionId callerSessId,
Group group) |
protected abstract void |
AbstractGroupManager.performUpdateGroup(SessionId callerSessId,
Group group) |
protected void |
DefaultUserManager.performUpdateUser(SessionId callerSessId,
User user) |
protected abstract void |
AbstractUserManager.performUpdateUser(SessionId sessionId,
User user) |
void |
AbstractUserManager.resetPassword(SessionId sessionId,
User user,
boolean isClear) |
void |
AbstractUserManager.setDefaultUserPassword(SessionId sessionId,
java.lang.String encryptedPassword) |
void |
GroupManager.updateGroup(SessionId caller,
Group group) |
void |
AbstractGroupManager.updateGroup(SessionId sessionId,
Group group) |
void |
UserManager.updateUser(SessionId caller,
User user) |
void |
AbstractUserManager.updateUser(SessionId sessionId,
User user) |
Modifier and Type | Method and Description |
---|---|
protected void |
DBUserManager.performChangePassword(SessionId callerSessId,
User user,
java.lang.String oldPasswordDigest,
java.lang.String newPasswordDigest) |
protected void |
DBGroupManager.performDeleteGroup(SessionId callerSessId,
Group group) |
protected void |
DBUserManager.performDeleteUser(SessionId callerSessId,
User user) |
protected Group |
DBGroupManager.performInsertGroup(SessionId callerSessId,
Group group,
java.util.List groupList) |
protected DatabaseUser |
DBUserManager.performInsertUser(SessionId callerSessId,
User user,
java.util.List<User> userList) |
protected void |
DBUserManager.performResetPassword(SessionId callerSessId,
User user,
boolean isClear) |
protected void |
DBGroupManager.performUpdateGroup(SessionId callerSessId,
Group group) |
protected void |
DBUserManager.performUpdateUser(SessionId callerSessId,
User user) |
Modifier and Type | Method and Description |
---|---|
void |
GroupMembershipManager.addGroupMember(SessionId sessionId,
Group group,
UserId userId) |
void |
DefaultGroupMembershipManager.addGroupMember(SessionId sessionId,
Group group,
UserId userId) |
void |
GroupMembershipManager.removeGroupMember(SessionId sessionId,
Group group,
UserId userId) |
void |
DefaultGroupMembershipManager.removeGroupMember(SessionId sessionId,
Group group,
UserId userId) |
void |
GroupMembershipManager.setGroupsForUser(SessionId sessionId,
UserId userId,
java.util.List<Group> groups) |
void |
DefaultGroupMembershipManager.setGroupsForUser(SessionId sessionId,
UserId userId,
java.util.List<Group> groups) |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthenticator.changePassword(SessionId callerSessId,
java.lang.String userName,
java.lang.String oldPasswordDigest,
java.lang.String newPasswordDigest)
Verifies the old password and sets the new one.
|
void |
UserAuthenticator.resetPassword(SessionId callerSessId,
User user,
boolean isClear)
Resets the password for the given User to the system default user password as configured
in the srv_params.cfg file.
|
void |
UserAuthenticator.setDefaultUserPassword(SessionId callerSessId,
java.lang.String encryptedPassword)
Sets the system default password for new users
|
Modifier and Type | Method and Description |
---|---|
void |
BatchTaskManager.cancelCurrentProcess(SessionId sessionId)
Stops the process if it is currently running.
|
boolean |
BatchTaskExecutor.cancelCurrentTask(SessionId killerId) |
void |
BatchTaskManager.saveConfig(SessionId sessionId,
BatchTaskConfigEntry procCfg) |
AbstractBatchTask |
BatchTaskManager.startBatchTask(SessionId sessionId,
java.lang.String taskName)
Runs the process directly, no matter whether it is enabled or not
|
RemoteTaskId |
AbstractBatchTask.submitForDirectExecution(SessionId sessionId)
Runs this task immediately in to the
BatchTaskExecutor . |
Constructor and Description |
---|
BatchTaskConfigWriter(ApplicationContext ctx,
java.io.File cfgFile,
SessionId sessionId,
BatchTaskConfigEntry[] configEntries) |
Modifier and Type | Method and Description |
---|---|
SessionId |
AccessibleServerObject.getLastAccessorId() |
Modifier and Type | Method and Description |
---|---|
int |
ServerTaskManager.cancelAllTasksOf(SessionId sessId)
Cancels all tasks of this session - except
JournalTask instances. |
boolean |
ServerTaskManager.cancelRemoteTask(RemoteTaskId taskId,
SessionId killerId) |
LogChannel |
LogChannelManager.getLogChannelFor(SessionId sessId)
|
void |
RemoteServerLogSupport.logDebug(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
RemoteServerLogSupport.logDump(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
boolean |
RemoteServerLogSupport.logError(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
boolean |
RemoteServerLogSupport.logError(SessionId sessId,
java.lang.Object caller,
java.lang.String message,
java.lang.Exception e) |
boolean |
RemoteServerLogSupport.logFatal(SessionId sessId,
java.lang.Object caller,
java.lang.String message,
java.lang.Exception e) |
void |
RemoteServerLogSupport.logInfo(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
LogChannelManager.logMessage(SessionId sessId,
LogLevel level,
java.lang.Object caller,
java.lang.String message,
java.lang.Exception e)
Logs a message to the client specific logChannel
|
void |
RemoteServerLogSupport.logVerbose(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
RemoteServerLogSupport.logWarning(SessionId sessId,
java.lang.Object caller,
java.lang.String message) |
void |
ServerTaskManager.registerForProgressEventsOnTask(SessionId sessionId,
TaskId myTaskId,
boolean doRegister) |
void |
AccessibleServerObject.setLastAccessorId(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
void |
AgentExecutorTask.cancel(SessionId killerSessId) |
Modifier and Type | Method and Description |
---|---|
ResourceLock |
DatabaseManager.lockExclusive(SessionId sessId) |
ResourceLock |
DatabaseManager.lockShared(SessionId sessId) |
void |
DatabaseManager.releaseLock(SessionId sessId,
ResourceLock lock) |
DatabaseConnection |
DatabaseManager.resetToDefaultDataSource(SessionId sessId)
Resets to the default DataSource which is the first one configured in the config file.
|
DatabaseConnection |
DatabaseManager.resetToPreviousDataSource(SessionId sessId)
Resets to the previously selected DataSource.
|
DatabaseConnection |
DatabaseManager.selectDataSource(SessionId sessId,
java.lang.String dataSourceName)
Selects the DataSource by name.
|
Modifier and Type | Method and Description |
---|---|
SessionId |
ResourceLockHolder.getSessionId()
Returns sessionId of the lock-holder
|
SessionId |
ResourceLock.getSessionId() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLockManager.checkIsDataSourceLockedByForeignSession(SessionId sessionId)
Checks whether there is a foreign DATA_SOURCE lock, no matter whether shared or exclusive.
|
void |
ResourceLockManager.checkIsLockedByForeignSession(SessionId sessionId,
LockType lockType,
ResourceType resourceType,
java.lang.String resourceName) |
ResourceLock |
ResourceLockManager.lockDataSource(SessionId sessionId,
java.lang.String dataSourceName)
Fetches an exclusive lock for the given data-source.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolExclusive(SessionId sessionId)
Fetches an exclusive lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockDataSourcePoolShared(SessionId sessionId)
Fetches a shared lock for the data-source pool.
|
ResourceLock |
ResourceLockManager.lockExclusive(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
ResourceLock |
ResourceLockManager.lockShared(SessionId sessionId,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
void |
ResourceLockManager.releaseAllLocksOf(SessionId sessionId) |
void |
ResourceLockManager.releaseLock(SessionId sessionId,
ResourceLock myLock)
Releases the given lock.
|
Constructor and Description |
---|
ResourceLock(ResourceLockManager rscList,
SessionId sessId,
LockType lockType,
ResourceType rscType,
java.lang.String rscName) |
ResourceLock(ResourceLockManager lockMgr,
SessionId sessId,
LockType lockType,
ResourceType rscType,
java.lang.String rscName,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
SessionId |
SessionManager.findSessionIdBySID(int sid) |
SessionId |
Session.getSessionId() |
SessionId |
ServerNetworkAdapter.getSessionId() |
SessionId |
SessionManager.setUserIdForSession(SessionId sessId,
UserId userId) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SessionId> |
SessionManager.findSessionIdsByUserName(java.lang.String userName) |
java.util.List<SessionId> |
SessionManager.findSessionsIdsByUserId(UserId userId) |
java.util.List<SessionId> |
SessionManager.getSessionIds()
Returns the SessionIds of all sessions including co-clients
|
java.util.List<SessionId> |
SessionManager.getSessionIds(boolean isIncludeCoClients)
Returns the session contexts of normal clients (no co-clients)
|
Modifier and Type | Method and Description |
---|---|
void |
SessionManager.closeSession(SessionId sessionId) |
ServerNetworkAdapter |
SessionManager.fetchNetworkAdapterFor(SessionId sessionId) |
Session |
SessionManager.fetchSessionBySessionId(SessionId sessId) |
Session |
SessionManager.findSessionBySessionId(SessionId sessId) |
void |
SessionManager.loginUser(SessionId sessionId,
User user) |
void |
SessionManager.logoutUser(SessionId sessId) |
ClientInfo |
Session.requestClientInfo(SessionId fromSessionId,
long millis)
Requests a new
ClientInfo object from the client by sending a ClientInfoCommand . |
void |
ServerMessageQueue.sendNetEvent(NetEvent event,
SessionId targetSession) |
void |
ServerMessageQueue.sendNetMessage(NetMessage messg,
SessionId targetSession)
Dispatches a message to the given target session only.
|
void |
ServerMessageQueue.sendServerMessage(ServerNotificationMessage msg,
SessionId targetSession) |
void |
ServerMessageQueue.sendStatusEvent(ServerStatusEvent statEvent,
SessionId targetSession) |
void |
ServerMessageQueue.sendSystemEvent(SystemEvent sysEvent,
SessionId targetSession) |
SessionId |
SessionManager.setUserIdForSession(SessionId sessId,
UserId userId) |
Constructor and Description |
---|
Session(ServerContext serverCtx,
ServerNetworkAdapter adapter,
SessionId sessionId) |
SessionNotFoundException(SessionId sessId) |
Modifier and Type | Method and Description |
---|---|
ServerPathTreeModelDriver |
PathTreeManager.getDriver(SessionId sessionId) |
Constructor and Description |
---|
RemotePathChangeEvent(SessionId sessId,
PathChangeEvent event) |
RemotePathRegistrationEvent(SessionId sessId,
PathRegistrationEvent event) |
ServerPathTreeModelDriver(ServerContext serverCtx,
SessionId sessionId) |
Modifier and Type | Method and Description |
---|---|
void |
PermissionManager.checkPermission(SessionId sessionId,
PermissionControlled obj,
EspritPermission permission)
Checks whether the requested permission is granted to the given permission controlled object.
|
void |
DefaultPermissionManager.checkPermission(SessionId sessionId,
PermissionControlled obj,
EspritPermission permission) |
EspritPermission[] |
PermissionManager.getGroupPermissions(SessionId sessionId,
Group group,
PermissionDefinition obj) |
EspritPermission[] |
DefaultPermissionManager.getGroupPermissions(SessionId sessionId,
Group group,
PermissionDefinition obj) |
EspritPermission[] |
PermissionManager.getUserPermissions(SessionId sessionId,
UserId userId,
PermissionDefinition obj) |
EspritPermission[] |
DefaultPermissionManager.getUserPermissions(SessionId sessionId,
UserId userId,
PermissionDefinition obj) |
void |
PermissionManager.removeGroupPermissionsFor(SessionId sessionId,
Group group) |
void |
DefaultPermissionManager.removeGroupPermissionsFor(SessionId sessionId,
Group group) |
void |
PermissionManager.removeGroupPermissionsFor(SessionId sessionId,
Group group,
PermissionDefinition obj) |
void |
DefaultPermissionManager.removeGroupPermissionsFor(SessionId sessionId,
Group group,
PermissionDefinition obj) |
void |
PermissionManager.removeUserPermissionsFor(SessionId sessionId,
UserId userId)
Removes all permission definitions of the given user
|
void |
DefaultPermissionManager.removeUserPermissionsFor(SessionId sessionId,
UserId userId) |
void |
PermissionManager.removeUserPermissionsFor(SessionId sessionId,
UserId userId,
PermissionDefinition obj) |
void |
DefaultPermissionManager.removeUserPermissionsFor(SessionId sessionId,
UserId userId,
PermissionDefinition obj) |
void |
PermissionManager.setGroupPermissions(SessionId sessionId,
Group group,
PermissionDefinition obj,
EspritPermission... permissions) |
void |
DefaultPermissionManager.setGroupPermissions(SessionId sessionId,
Group group,
PermissionDefinition obj,
EspritPermission... permissions) |
void |
PermissionManager.setUserPermissions(SessionId sessionId,
UserId userId,
PermissionDefinition obj,
EspritPermission... permissions)
Sets the permissions of a user on a particular object
|
void |
DefaultPermissionManager.setUserPermissions(SessionId sessionId,
UserId userId,
PermissionDefinition obj,
EspritPermission... permissions) |
Constructor and Description |
---|
PermissionAssignmentChangeEvent(SessionId sessionId,
PermissionDefinition permDef,
EspritPermissionOwner owner,
EspritPermission[] permissions) |
Copyright © 2014 EsprIT-Systems. All Rights Reserved.