com.filenet.wcm.apps.server.util.integration
Class EntryTemplateCommandService
- java.lang.Object
com.filenet.wcm.apps.server.util.integration.EntryTemplateCommandService
All implemented interfaces:
- public class EntryTemplateCommandService
- extends java.lang.Object
- implements CommandService
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
baseURLKey
|
|
dataStore
|
|
pagePrefs
|
|
sitePrefs
|
Constructor Summary
| Constructor and Description |
|---|
EntryTemplateCommandService()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
getResponseCall(CommandCall command,java.lang.String windowId,javax.servlet.http.HttpServletRequest request,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
baseURLKey
- protected java.lang.String baseURLKey
dataStore
- protected com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore
sitePrefs
- protected WcmSitePrefs sitePrefs
Constructor Detail
EntryTemplateCommandService
- public EntryTemplateCommandService( )
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.WcmException
CommandService