com.filenet.wcm.apps.server.util.integration
Class CheckinCommandService
- java.lang.Object
com.filenet.wcm.apps.server.util.integration.CheckinCommandService
All implemented interfaces:
- public class CheckinCommandService
- extends java.lang.Object
- implements CommandService
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
baseURLKey
|
|
dataStore
|
|
pagePrefs
|
|
PROPERTY_NODE_PATH
|
|
sitePrefs
|
|
WEB_INTEGRATION
|
Constructor Summary
| Constructor and Description |
|---|
CheckinCommandService()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getConfirmView(WcmWorkplaceController wwc)
|
getResponseCall(CommandCall command,java.lang.String windowId,javax.servlet.http.HttpServletRequest request,WcmWorkplaceController wwc)
|
|
|
getWcmBasePath(WcmWorkplaceController wwc)
|
|
handleCommand(CommandCall command,java.lang.String setWindowId,java.lang.String proxyReturnURL,com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject commandPrefs,javax.servlet.http.HttpServletResponse response,WcmWorkplaceController wwc)
|
|
registerModules(WcmWorkplaceController wwc)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
pagePrefs
- protected InfoPageConfig.InfoPagePrefs pagePrefs
sitePrefs
- protected WcmSitePrefs sitePrefs
baseURLKey
- protected java.lang.String baseURLKey
dataStore
- protected com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore
WEB_INTEGRATION
- public static final java.lang.String WEB_INTEGRATION
See Also:
PROPERTY_NODE_PATH
- public static java.lang.String PROPERTY_NODE_PATH
Constructor Detail
CheckinCommandService
- public CheckinCommandService()
Method Detail
handleCommand
- public void handleCommand(CommandCall command,
- java.lang.String setWindowId,
- java.lang.String proxyReturnURL,
- com.filenet.wcm.toolkit.server.util.prefs.WcmPrefsObject commandPrefs,
- javax.servlet.http.HttpServletResponse response,
- WcmWorkplaceController wwc)
- throws com.filenet.wcm.toolkit.util.WcmException
Handle an integration servlet command that requires special processing in order to determine
its final destination.
If there is any problem forwarding to the command URL, throw a WcmException.
Specified by:
handleCommand in interface CommandService
Throws:
com.filenet.wcm.toolkit.util.WcmExceptiongetResponseCall
- public ResponseCall getResponseCall( CommandCall command,
- java.lang.String windowId,
- javax.servlet.http.HttpServletRequest request,
- WcmWorkplaceController wwc)
- throws com.filenet.wcm.toolkit.util.WcmException
Description copied from interface:
CommandService
For dispatching to URL's that go outside of Workplace, a return URL of
http://host/Workplace/integrationResponseProxy?windowId=C_... can be specified.
If this is done, when the command returns, this method will be called so that
the request parameters coming from the called URL can be examined and an appropriate
ResponseCall constructed.
If null is returned, the IntegrationServlet will perform default behavior for
sending the response.
Specified by:
getResponseCall in interface CommandService
Returns:
The populated ResponseCall object ready for sending, or null.
Throws:
com.filenet.wcm.toolkit.util.WcmExceptionregisterModules
- public boolean registerModules( WcmWorkplaceController wwc)
- throws com.filenet.wcm.toolkit.util.WcmException
Description copied from interface:
CommandService
Return true if data providers were registered or if authentication is required.
Specified by:
registerModules in interface CommandService
Returns:
true or false
Throws:
com.filenet.wcm.toolkit.util.WcmExceptiongetWcmBasePath
- public final java.lang.String getWcmBasePath( WcmWorkplaceController wwc)
- throws java.lang.Exception
Throws:
java.lang.ExceptiongetConfirmView
- public final int getConfirmView( WcmWorkplaceController wwc)
- throws java.lang.Exception
Throws:
java.lang.Exception
CommandService