com.filenet.wcm.apps.server.util.integration
Class CheckinCommandService

java.lang.Object
  extended bycom.filenet.wcm.apps.server.util.integration.CheckinCommandService
All Implemented Interfaces:
CommandService

public class CheckinCommandService
extends java.lang.Object
implements CommandService


Field Summary
protected  java.lang.String baseURLKey
           
protected  com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore
           
protected  InfoPageConfig.InfoPagePrefs pagePrefs
           
static java.lang.String PROPERTY_NODE_PATH
           
protected  WcmSitePrefs sitePrefs
           
static java.lang.String WEB_INTEGRATION
           
 
Constructor Summary
CheckinCommandService()
           
 
Method Summary
 int getConfirmView(WcmWorkplaceController wwc)
           
 ResponseCall getResponseCall(CommandCall command, java.lang.String windowId, javax.servlet.http.HttpServletRequest request, WcmWorkplaceController wwc)
          For dispatching to URL's that go outside of Workplace, a return URL of http://host/Workplace/integrationResponseProxy?windowId=C_...
 java.lang.String getWcmBasePath(WcmWorkplaceController wwc)
           
 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)
          Handle an integration servlet command that requires special processing in order to determine its final destination.
 boolean registerModules(WcmWorkplaceController wwc)
          Return true if data providers were registered or if authentication is required.
 
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:
Constant Field Values

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
Description copied from interface: CommandService
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
Parameters:
command -
setWindowId -
commandPrefs -
response -
Throws:
com.filenet.wcm.toolkit.util.WcmException

getResponseCall

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
Parameters:
command -
request -
wwc -
Returns:
The populated ResponseCall object ready for sending, or null.
Throws:
com.filenet.wcm.toolkit.util.WcmException

registerModules

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
Parameters:
wwc -
Returns:
true or false
Throws:
com.filenet.wcm.toolkit.util.WcmException

getWcmBasePath

public final java.lang.String getWcmBasePath(WcmWorkplaceController wwc)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getConfirmView

public final int getConfirmView(WcmWorkplaceController wwc)
                         throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.