com.ibm.commerce.usermanagement.commands
Class ListBusinessOrgEntityCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.usermanagement.commands.ListBusinessOrgEntityCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
ListBusinessOrgEntityCmd,
TaskCommand
- public class ListBusinessOrgEntityCmdImpl
- extends
TaskCommandImpl
- implements
ListBusinessOrgEntityCmd
This task command is used to give a list of Business OrgEntities.
Currently this command list all orgentities under Root Organization (Except
Default Organization). during self-registration.
Outputs of this task command are:
Long[] getBusinessOrgEntityList(TypedProperty)
- returns a Long array of all business orgentities.
- See Also:
- Serialized
Form
Field Summary |
protected
java.lang.Long[] |
businessOrgEntityList
List of business organization entities. |
static java.lang.String |
CLASSNAME
The name of this implementation of the command. |
static java.lang.String |
COPYRIGHT
IBM Copyright notice field. |
Method Summary |
java.lang.Long[] |
getBusinessOrgEntityList()
Returns the business organization entities. |
void |
performExecute()
Finds all the business organizations and puts the organization
identifiers in a list. |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright notice field.
- See Also:
-
Constant Field Values
CLASSNAME
public static final java.lang.String CLASSNAME
- The name of this implementation of the command.
- See Also:
-
Constant Field Values
businessOrgEntityList
protected java.lang.Long[] businessOrgEntityList
- List of business organization entities.
ListBusinessOrgEntityCmdImpl
public ListBusinessOrgEntityCmdImpl()
getBusinessOrgEntityList
public java.lang.Long[] getBusinessOrgEntityList()
- Returns the business organization entities.
-
- Specified by:
-
getBusinessOrgEntityList
in interface
ListBusinessOrgEntityCmd
-
- Returns:
- The business organization entities.
public void performExecute()
throws ECException
- Finds all the business organizations and puts the organization identifiers
in a list.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- If there was a problem finding the business organizations from the
database.