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, 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 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 ListBusinessOrgEntityCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- If there was a problem finding the business organizations from the database.public void setSearchCriteria(int criteriaType, java.lang.String keyword)
setSearchCriteria
in interface ListBusinessOrgEntityCmd
criteriaType
- Specifies a search criteria option, the valid options are:keyword
- specify a search keyword for organization name