Package ch.tocco.nice2.netui.api.remote
Interface RemoteContext
- All Known Implementing Classes:
NullRemoteContext
,RemoteContextImpl
Deprecated.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.@Nullable String
Deprecated.@Nullable String
Deprecated.@Nullable String
Deprecated.void
Deprecated.Call action in all sessions.void
withCurrentBrowser
(String actionName, @Nullable Object... params) Deprecated.Call action only in current browser (not in all sessions of the current user).void
withCurrentUser
(String actionName, @Nullable Object... params) Deprecated.Call action in all sessions of the current user.void
withScriptSession
(String scriptSessionId, String actionName, @Nullable Object... params) Deprecated.Call action in script session with the given id.void
Deprecated.Call action in all sessions of the given user.
-
Method Details
-
getHttpSessionId
Deprecated. -
getUserName
Deprecated. -
getScriptSessionId
Deprecated. -
currentThreadIsWebThread
boolean currentThreadIsWebThread()Deprecated. -
withCurrentBrowser
Deprecated.Call action only in current browser (not in all sessions of the current user).Note: This method is not available in Non-Web threads.
- Parameters:
actionName
- The action in the client to call.params
- Params to pass to the action.
-
withCurrentUser
Deprecated.Call action in all sessions of the current user.Note: This method is not available if the user name is null.
- Parameters:
actionName
- The action in the client to call.params
- Params to pass to the action.
-
withUser
Deprecated.Call action in all sessions of the given user.- Parameters:
userName
- The user to call.actionName
- The action in the client to call.params
- Params to pass to the action.
-
withScriptSession
void withScriptSession(String scriptSessionId, String actionName, @Nullable @Nullable Object... params) Deprecated.Call action in script session with the given id.- Parameters:
scriptSessionId
- The id of the script session to call.actionName
- The action in the client to call.params
- Params to pass to the action.
-
withAll
Deprecated.Call action in all sessions.- Parameters:
actionName
- The action in the client to call.params
- Params to pass to the action.
-