public final class UserServiceNext extends Object
UserServiceEvent.processEvent(UserServiceEventContext)
Constructor and Description |
---|
UserServiceNext() |
Modifier and Type | Method and Description |
---|---|
static UserServiceEventOutcome |
nextClose()
The user will be redirected to the previous selection.
|
static UserServiceEventOutcome |
nextClose(String aJavaScriptCommandIfPopup)
If the service is opened in a popup, will execute the JavaScript code
before closing the popup.
|
static UserServiceEventOutcome |
nextService(ServiceKey aServiceKey)
The current user service will close and a new one will be displayed.
|
static UserServiceEventOutcome |
nextService(ServiceKey aServiceKey,
Adaptation aRecordOrDataSet)
The current user service will close, the specified record or dataset
will be selected and the specified service started.
|
static UserServiceEventOutcome |
nextService(ServiceKey aServiceKey,
AdaptationHome aDataSpaceOrSnapshot)
The current user service will close, the specified dataspace or snapshot
will be selected and the specified service started.
|
static UserServiceEventOutcome |
nextService(ServiceKey aServiceKey,
AdaptationTable aTable)
The current user service will close, the specified table
will be selected and the specified service started.
|
static UserServiceEventOutcome |
nextTableView(Adaptation aDataSet,
String aTableViewPublicationId)
The current user service will close and the specified table view
will be selected.
|
static UserServiceEventOutcome |
nextURL(String anURL)
The current user service will close and user will be redirected.
|
static UserServiceEventOutcome |
nextWorkflowView(WorkflowView aWorkflowView)
The current user service will close and a workflow view will be selected.
|
static UserServiceEventOutcome |
nextWorkItem(WorkItemKey aWorkItemKey)
The current user service will close and the work item be selected.
|
static UserServiceEventOutcome |
nextWorkItem(WorkItemKey aWorkItemKey,
boolean startWorkItem)
The current user service will close and the work item be selected.
|
public static UserServiceEventOutcome nextClose()
public static UserServiceEventOutcome nextClose(String aJavaScriptCommandIfPopup)
If the service is not opened in a popup, the user will be redirected to the previous selection.
aJavaScriptCommandIfPopup
- The JavaScript code to execute. This parameter is ignored if the
user service is not opened in a popup. Parent windows can be accessed
from the JavaScript code using the property window.parent
.public static UserServiceEventOutcome nextService(ServiceKey aServiceKey)
This method requires that the service to be displayed is implemented
using the UserService API. For other other type of services,
including built-ins, use one of the other variants of
method nextService()
.
aServiceKey
- the key for the service to display. This service must be implemented
using the UserService API.public static UserServiceEventOutcome nextService(ServiceKey aServiceKey, AdaptationHome aDataSpaceOrSnapshot)
aServiceKey
- the service key.aDataSpaceOrSnapshot
- the dataspace or snapshot.public static UserServiceEventOutcome nextService(ServiceKey aServiceKey, Adaptation aRecordOrDataSet)
aServiceKey
- the service key.aRecordOrDataSet
- the record or dataset.public static UserServiceEventOutcome nextService(ServiceKey aServiceKey, AdaptationTable aTable)
aServiceKey
- the service key.aTable
- the table.public static UserServiceEventOutcome nextTableView(Adaptation aDataSet, String aTableViewPublicationId)
aDataSet
- the dataset that contains the table.aTableViewPublicationId
- the publication id of the table view.public static UserServiceEventOutcome nextWorkItem(WorkItemKey aWorkItemKey)
aWorkItemKey
- the work item key.public static UserServiceEventOutcome nextWorkItem(WorkItemKey aWorkItemKey, boolean startWorkItem)
aWorkItemKey
- the work item key.startWorkItem
- if true
, and if necessary, the work item will
automatically be allocated and started for the current user.public static UserServiceEventOutcome nextWorkflowView(WorkflowView aWorkflowView)
aWorkflowView
- the workflow view to select.public static UserServiceEventOutcome nextURL(String anURL)
anURL
- the URL to redirect the user to.