public class FetchPersonCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements FetchPersonCmd
GetType. The following
search criteria are supported:
{self=true;_wcf.ap=$accessProfile$}/Person
- finds the person currently executing the request
{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(UniqueID='$personId$')]]
- finds a person based on the UniqueID
{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(DistinguishedName='$distinguishedName$')]]
- finds a person based on the distinguished name {_wcf.ap=$accessProfile$}/Person[Credential[LogonID='$logonID$']]
- finds a person based on the logon ID UserDataBean representing the Persons found.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
| Constructor and Description |
|---|
FetchPersonCmdImpl()
Creates an instance of the fetch Person command.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getPersons()
Returns a list of
UserDataBean representing the
Persons found based on the GetType search criteria. |
ShowType |
getShow()
Returns the show verb response that represents the results of the fetch operation.
|
boolean |
isReadyToCallExecute()
Checks if the command is ready to execute.
|
void |
performExecute()
Fetches persons based on the search criteria specified in the
GetType. |
void |
reset()
Resets the instance variables so the command can be reused.
|
void |
setGet(GetType getVerb)
Sets the get expression for the fetch operation.
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicypublic static final java.lang.String COPYRIGHT
public FetchPersonCmdImpl()
public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class com.ibm.websphere.command.TargetableCommandImplCommand.isReadyToCallExecute()public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class com.ibm.websphere.command.CacheableCommandImplCommand.reset()public void performExecute()
throws java.lang.Exception
GetType. The following
search criteria are supported:
{self=true;_wcf.ap=$accessProfile$}/Person
- finds the person currently executing the request
{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(UniqueID='$personId$')]]
- finds a person based on the UniqueID
{_wcf.ap=$accessProfile$}/Person[PersonIdentifier[(DistinguishedName='$distinguishedName$')]]
- finds a person based on the distinguished name {_wcf.ap=$accessProfile$}/Person[Credential[LogonID='$logonID$']]
- finds a person based on the logon ID performExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class com.ibm.websphere.command.TargetableCommandImpljava.lang.ExceptionTargetableCommand.performExecute()public ShowType getShow()
getShow in interface FetchPersonCmdFetchPersonCmd.getShow()public java.util.List getPersons()
UserDataBean representing the
Persons found based on the GetType search criteria.getPersons in interface FetchPersonCmdUserDataBeanFetchPersonCmd.getPersons()public void setGet(GetType getVerb)
setGet in interface FetchPersonCmdgetVerb - The get expression.FetchPersonCmd.setGet(GetType)