public class ListBusinessOrgEntityCmdImpl extends TaskCommandImpl implements ListBusinessOrgEntityCmd
Currently this command lists all organization entities 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 organization entities.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this implementation of the command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static int |
SEARCHTYPE_EXACT_MATCH
Exact Match with keyword search type constant
|
static int |
SEARCHTYPE_IGNORE_CASE_BEGIN
Ignore case beginning with keyword search type constant
|
static int |
SEARCHTYPE_IGNORE_CASE_CONTAIN
Ignore case containing with keyword search type constant
|
static int |
SEARCHTYPE_MATCH_CASE_BEGIN
Match case beginning with keyword search type constant
|
static int |
SEARCHTYPE_MATCH_CASE_CONTAIN
Match case containing with keyword search type constant
|
static int |
SEARCHTYPE_SEARCH_ALL
Default - searches all search type constant.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ListBusinessOrgEntityCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getBusinessOrgEntityList()
Returns the business organization entities.
|
void |
performExecute()
Finds all the business organizations and puts the organization identifiers in a list.
|
void |
setSearchCriteria(int criteriaType,
java.lang.String keyword)
Sets the search criteria type
|
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, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final int SEARCHTYPE_SEARCH_ALL
public static final int SEARCHTYPE_MATCH_CASE_BEGIN
public static final int SEARCHTYPE_MATCH_CASE_CONTAIN
public static final int SEARCHTYPE_IGNORE_CASE_BEGIN
public static final int SEARCHTYPE_IGNORE_CASE_CONTAIN
public static final int SEARCHTYPE_EXACT_MATCH
public java.lang.Long[] getBusinessOrgEntityList()
getBusinessOrgEntityList in interface ListBusinessOrgEntityCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - If there was a problem finding the business organizations from the database.public void setSearchCriteria(int criteriaType,
java.lang.String keyword)
setSearchCriteria in interface ListBusinessOrgEntityCmdcriteriaType - Specifies a search criteria option, the valid options are:keyword - specify a search keyword for organization name