com.ibm.workflow.portlet.sample
Class InternetConnectionViewer
java.lang.Object
|
+--com.ibm.workflow.portlet.client.DefaultViewer
|
+--com.ibm.workflow.portlet.sample.InternetConnectionViewer
- All Implemented Interfaces:
- java.io.Serializable, Viewer
- public class InternetConnectionViewer
- extends DefaultViewer
This Viewer mimics the look and feel of the Internet Connection for
IBM FlowMark V2. It does so by displaying a custom work list after
a successful logon request. Note that this Viewer extends the DefaultViewer
class and only overrides two methods instead of implementing the full
Viewer interface.
This sample also demonstrates how to use the Catalog
class. For
demonstration purposes, the German version of the messages used in this class
has been included. Just switch your browser's language to German...
For details on how to run this sample, see the
Samples section.
- See Also:
- Serialized Form
Methods inherited from class com.ibm.workflow.portlet.client.DefaultViewer |
cancelWorkItemResponse, checkInWorkItemResponse, checkOutWorkItemResponse, createAndStartInstanceResponse, createInstanceResponse, createListResponse, createNavigatorEntries, createPersistentListResponse, deleteInstanceResponse, deleteItemResponse, deleteListResponse, deleteTemplateResponse, errorResponse, finishWorkItemResponse, forceFinishActivityResponse, forceFinishWorkItemResponse, forceRestartActivityResponse, forceRestartWorkItemResponse, getContainerData, getFilterAssistantResponse, getSystemInfoResponse, getUserInfoResponse, init, logoffResponse, queryActivityInstancesResponse, queryListsResponse, queryProcessInstancesResponse, queryProcessTemplatesResponse, restartInstanceResponse, restartWorkItemResponse, resumeInstanceResponse, setListPropertiesResponse, setUserSettingsResponse, setViewSettingsResponse, showActivityPropertiesResponse, showControlConnectorPropertiesResponse, showInstancePropertiesResponse, showListPropertiesResponse, showTemplatePropertiesResponse, showWorkItemPropertiesResponse, startInstanceResponse, startWorkItemResponse, suspendInstanceResponse, terminateActivityResponse, terminateInstanceResponse, terminateWorkItemResponse, transferItemResponse |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternetConnectionViewer
public InternetConnectionViewer()
logonResponse
public ResponsePage logonResponse(RequestContext context)
throws ClientException
- This method is called to create the response page for the
BuiltinHandler.logon()
command. It will
display the items of the first work list it finds.
- Overrides:
logonResponse
in class DefaultViewer
- Parameters:
context
- The request context.- Returns:
- The response page.
- Throws:
ClientException
- If no work list is available.
queryWorkItemsResponse
public ResponsePage queryWorkItemsResponse(RequestContext context)
throws ClientException
- This method is called to create the response page for the
BuiltinHandler.queryWorkItems()
command.
- Overrides:
queryWorkItemsResponse
in class DefaultViewer
- Parameters:
context
- The request context.- Returns:
- The response page.
- Throws:
ClientException
- If an error occurred.
© Copyright IBM Corporation 2002, 2008. All Rights Reserved.