public class FetchOrganizationCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements FetchOrganizationCmd
GetType
search criteria.
{_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(UniqueID='$organizationId$')]]
- finds an organization based on the Unique ID
{_wcf.ap=$accessProfile$}/Organization[OrganizationIdentifier[(DistinguishedName='$distinguishedName$')]]
- finds an organization based on the distinguished name OrgEntityDataBean
representing the
Organizations foundModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
FetchOrganizationCmdImpl()
Creates an instance of the fetch Organization command.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getOrganizations()
Returns a list of
OrgEntityDataBean representing
the Organizations found based on the GetType search criteria. |
ShowType |
getShow()
Returns the show verb response that represent the results of the fetch operation.
|
boolean |
isReadyToCallExecute()
Checks if the command is ready to execute.
|
void |
performExecute()
Fetches organizations 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, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
public static final java.lang.String COPYRIGHT
public FetchOrganizationCmdImpl()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl
Command.isReadyToCallExecute()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.websphere.command.CacheableCommandImpl
Command.reset()
public void performExecute() throws java.lang.Exception
GetType
.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
TargetableCommand.performExecute()
public ShowType getShow()
getShow
in interface FetchOrganizationCmd
FetchOrganizationCmd.getShow()
public java.util.List getOrganizations()
OrgEntityDataBean
representing
the Organizations found based on the GetType
search criteria.getOrganizations
in interface FetchOrganizationCmd
OrgEntityDataBean
FetchOrganizationCmd.getOrganizations()
public void setGet(GetType getVerb)
setGet
in interface FetchOrganizationCmd
getVerb
- The get expression.FetchOrganizationCmd.setGet(GetType)