com.ibm.commerce.member.client.commands
Class SyncOrganizationCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.member.client.commands.SyncOrganizationCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, SyncOrganizationCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class SyncOrganizationCmdImpl extends TaskCommandImpl implements SyncOrganizationCmd
This is the default implementation of theSyncOrganizationCmd
task command.Behaviour:
- calls
composeSyncOrganization()
to compose theSyncOrganization
SDO from the organization ID or organization access bean specified. - calls
getMemberClientFacadeImpl()
to obtain theMemberClientFacadeImpl
instance. - calls
MemberClientFacadeImpl.syncOrganization(String, SyncOrganizationType)
to make theSyncOrganization
service request with the invocation service action andSyncOrganization
SDO specified.
Task commands called:
None.- See Also:
MemberClientFacadeImpl
,InvocationService
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.member.client.commands.SyncOrganizationCmd
ACTION_CREATE_ORGANIZATION, ACTION_UPDATE_ORGANIZATION, defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description SyncOrganizationCmdImpl()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ConfirmBODType
getConfirmBOD()
Returns theConfirmBOD
SDO.void
performExecute()
Executes the business logic of this command implementation.void
reset()
Resets this command instance.void
setAction(java.lang.String astrAction)
Sets the invocation service action.void
setOrganization(OrganizationAccessBean aabOrganization)
Sets the organization access bean.void
setOrganizationId(java.lang.Long anOrganizationId)
Sets the organization ID.void
validateParameters()
Extracts and validates the input parameters of this command implementation.-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
reset
public void reset()
Resets this command instance.- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classAbstractECTargetableCommand
-
setAction
public void setAction(java.lang.String astrAction)
Sets the invocation service action.- Specified by:
setAction
in interfaceSyncOrganizationCmd
- Parameters:
astrAction
- the invocation service action.
-
setOrganizationId
public void setOrganizationId(java.lang.Long anOrganizationId)
Sets the organization ID.- Specified by:
setOrganizationId
in interfaceSyncOrganizationCmd
- Parameters:
anOrganizationId
- the organization ID.
-
setOrganization
public void setOrganization(OrganizationAccessBean aabOrganization)
Sets the organization access bean.- Specified by:
setOrganization
in interfaceSyncOrganizationCmd
- Parameters:
aabOrganization
- the organization access bean.
-
getConfirmBOD
public ConfirmBODType getConfirmBOD()
Returns theConfirmBOD
SDO.- Specified by:
getConfirmBOD
in interfaceSyncOrganizationCmd
- Returns:
- the
ConfirmBOD
SDO.
-
validateParameters
public void validateParameters() throws ECException
Extracts and validates the input parameters of this command implementation.- Specified by:
validateParameters
in interfaceECCommand
- Overrides:
validateParameters
in classAbstractECTargetableCommand
- Throws:
ECException
-
performExecute
public void performExecute() throws ECException
Executes the business logic of this command implementation.- Specified by:
performExecute
in interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECException
-
-