public class CustomerSegmentExtractCmdImpl extends TaskCommandImpl implements CustomerSegmentExtractCmd
CustomerSegmentExtractCmd
command. This command extract the customer segment customers information and
store these information into the Commerce database for later export. It assume
that the staging server and the production server are in-sync with each other.
It uses the staging server's customer segment metadata to construct the SQL by
by calling the command ListUsersInStoreMemberGroupCmd
and then runs
the SQL in the production database through the Quick Publish datasource's database
connection.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The full class name for this class.
|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
defaultCommandClassName
Constructor and Description |
---|
CustomerSegmentExtractCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getStatus()
Returns the status of the command execution
|
void |
performExecute()
This method performs the business logic for this command.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Any exception caught.public boolean getStatus()
getStatus
in interface CustomerSegmentExtractCmd
true
if the execution was successful else
false