Interface UserServiceInitializeContext<S extends EntitySelection>
- All Superinterfaces:
UIResourceLocator
,UserServiceInvocationContext<S>
,UserServiceRequest
,UserServiceResourceLocator
public interface UserServiceInitializeContext<S extends EntitySelection>
extends UserServiceInvocationContext<S>, UserServiceRequest, UserServiceResourceLocator
This interface provides information and utility methods useful when initializing a
user service.
- Since:
- 5.8.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the specified error message.void
Adds the specified information message.void
addMessage
(UserMessage aMessage) Adds a message that will be displayed in the standard message pane of the user interface using same severity asaMessage.getSeverity()
.void
addWarning
(String aMessage) Adds the specified warning message.Creates an instance of UserServiceTransaction object that allows to execute multiple custom procedures.Methods inherited from interface com.orchestranetworks.ui.UIResourceLocator
createWebComponentForRootSession, createWebComponentForSubSession, getURLForAjaxComponent, getURLForAjaxComponent, getURLForPerspectiveSelection, getURLForPerspectiveSelection, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForRest, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForViewSelection
Methods inherited from interface com.orchestranetworks.userservice.UserServiceInvocationContext
getEntitySelection
Methods inherited from interface com.orchestranetworks.userservice.UserServiceRequest
canClose, getCurrentPerspective, getParameter, getParameterValues, getRepository, getServiceDescription, getServiceKey, getServiceLabel, getServiceModuleName, getSession, isInitialDisplay
Methods inherited from interface com.orchestranetworks.userservice.UserServiceResourceLocator
getURLForAction, getURLForAction, getURLForAjaxRequest, getURLForAjaxRequest, getURLForEndingService, getURLForGetRequest, getURLForGetRequest, getURLForResource, getURLForResource, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection, getURLForServiceSelection
-
Method Details
-
addMessage
Adds a message that will be displayed in the standard message pane of the user interface using same severity asaMessage.getSeverity()
.- Parameters:
aMessage
- the message.
-
addError
Adds the specified error message.- Parameters:
aMessage
- the message.- See Also:
-
addWarning
Adds the specified warning message.- Parameters:
aMessage
- the message.- See Also:
-
addInfo
Adds the specified information message.- Parameters:
aMessage
- the message.- See Also:
-
createTransaction
UserServiceTransaction createTransaction()Creates an instance of UserServiceTransaction object that allows to execute multiple custom procedures.- Returns:
- the new
UserServiceTransaction
object.
-