com.ibm.commerce.usermanagement.commands
Interface SetBusinessEntityCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- SetBusinessEntityCmdImpl
public interface SetBusinessEntityCmd extends TaskCommand
This task command is called byOrgEntityAddCmd
command to set the BusinessEntity attribute.Existing orgEntities have an attribute called 'BusinessEntity', stored in the
MBRATTRVAL
table. When BusinessEntity equals 1, it means the orgEntity is a business orgEntity that can be used for the purpose of creating accounts. The Root Organization and the Default Organization have BusinessEntity set to 0. When a new orgEntity is created, theOrgEntityAddCmd
command will call this task command which sets the BusinessEntity attribute.Inputs and outputs are as follows:
- setRequestProperties(TypedProperty): input properties which should contain parentMemberId, otherwise, an exception will thrown.
- getRequestProperties(TypedProperty): output properties which contains the BusinessEntity property, in MBRATTRVAL parameter format, for example, BusinessEntity_null. The null implies that this attribute is store independent. Since the action is not specified, it defaults to "a" (add).
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM Copyright notice field.static java.lang.String
NAME
The name of this command.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description TypedProperty
getRequestProperties()
Gets request properties which contains determined BusinessEntity property.void
setRequestProperties(TypedProperty aRequestProperties)
Set request properties which should contain parentMemberId, otherwise, an exception will thrown.-
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, performExecute, 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, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM Copyright notice field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of this command.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestProperties
TypedProperty getRequestProperties()
Gets request properties which contains determined BusinessEntity property.- Returns:
- The request properties
-
setRequestProperties
void setRequestProperties(TypedProperty aRequestProperties)
Set request properties which should contain parentMemberId, otherwise, an exception will thrown.- Parameters:
aRequestProperties
- The request properties
-
-