com.ibm.commerce.usermanagement.commands
Class ProcessRequestPropertiesCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmdImpl
All Implemented Interfaces:
ECCommand, ProcessRequestPropertiesCmd, TaskCommand

public class ProcessRequestPropertiesCmdImpl
extends TaskCommandImpl
implements ProcessRequestPropertiesCmd

The implementation class for ProcessRequestPropertiesCmd.


Field Summary
protected  boolean bCheckURL
           
protected  boolean bToolsFramework
           
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String istrXMLFile
           
protected  TypedProperty requestProperties
           
protected  TypedProperty responseProperties
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
defaultCommandClassName, NAME
 
Constructor Summary
ProcessRequestPropertiesCmdImpl()
           
 
Method Summary
 boolean getCheckURL()
          Gets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0.
 TypedProperty getRequestProperties()
          Gets the request properties processed.
 TypedProperty getResponseProperties()
          Gets the response properties generated.
 java.lang.String getXMLFile()
          Gets the value of the parameter 'XMLFile' in the request properties.
 boolean isToolsFramework()
          Gets a boolean value indicating if the URL command is called from tools framework.
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void removeToolsFrameworkProperties(TypedProperty aProperties)
           
 void setCheckURL(boolean abCheckURL)
          Sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0.
 void setRequestProperties(TypedProperty aRequestProperties)
          sets the request properties need to be processed.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

bCheckURL

protected boolean bCheckURL

bToolsFramework

protected boolean bToolsFramework

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

istrXMLFile

protected java.lang.String istrXMLFile

requestProperties

protected TypedProperty requestProperties

responseProperties

protected TypedProperty responseProperties
Constructor Detail

ProcessRequestPropertiesCmdImpl

public ProcessRequestPropertiesCmdImpl()
Method Detail

getCheckURL

public boolean getCheckURL()
Description copied from interface: ProcessRequestPropertiesCmd
Gets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. Default is true.
Specified by:
getCheckURL in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Returns:
The indicator which determines if the task command needs to check the 'URL' parameter

getRequestProperties

public TypedProperty getRequestProperties()
Description copied from interface: ProcessRequestPropertiesCmd
Gets the request properties processed.
Specified by:
getRequestProperties in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Returns:
The request properties processed

getResponseProperties

public TypedProperty getResponseProperties()
Description copied from interface: ProcessRequestPropertiesCmd
Gets the response properties generated.
Specified by:
getResponseProperties in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Returns:
The response properties generated

getXMLFile

public java.lang.String getXMLFile()
Description copied from interface: ProcessRequestPropertiesCmd
Gets the value of the parameter 'XMLFile' in the request properties.
Specified by:
getXMLFile in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Returns:
The value of the parameter 'XMLFile' in the request properties

isToolsFramework

public boolean isToolsFramework()
Description copied from interface: ProcessRequestPropertiesCmd
Gets a boolean value indicating if the URL command is called from tools framework.
Specified by:
isToolsFramework in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Returns:
A boolean value indicating if the URL command is called from tools framework

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

removeToolsFrameworkProperties

public void removeToolsFrameworkProperties(TypedProperty aProperties)

setCheckURL

public void setCheckURL(boolean abCheckURL)
Description copied from interface: ProcessRequestPropertiesCmd
Sets the indicator which determines if the task command needs to check the 'URL' parameter is not null and its length large than 0. Default is true.
Specified by:
setCheckURL in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Parameters:
abCheckURL - The indicator which determines if the task command needs to check the 'URL' parameter

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
Description copied from interface: ProcessRequestPropertiesCmd
sets the request properties need to be processed.
Specified by:
setRequestProperties in interface ProcessRequestPropertiesCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.ProcessRequestPropertiesCmd
Parameters:
aRequestProperties - The request properties