public class InsertMoreNounChangeControlMetaDataCmdImpl extends AbstractInsertMoreNounDataCmdImpl implements AbstractInsertMoreNounDataCmd
This generic command inserts the change control metadata that is returned as part of the Get request. Any BOD service module can use this command directly to populate the change control metadata in the Show verb of the response.
This command uses the change control business object mediator to resolve the change control information for the returned business objects.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CANMODIFY_PROPERTY
The property name to use to mark whether the object is read only or not.
|
static java.lang.String |
METADATA_USAGE
The usage name of the metadata that is populated.
|
Constructor and Description |
---|
InsertMoreNounChangeControlMetaDataCmdImpl()
Creates an instance of the insert more change control data for nouns command.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method uses the change control business object mediator to include
the change control metadata for each noun that is returned.
|
isReadyToCallExecute, reset, setGet, setNouns, setSearchExpression, setShow
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
setGet, setNouns, setSearchExpression, setShow
public static final java.lang.String CANMODIFY_PROPERTY
public static final java.lang.String METADATA_USAGE
public InsertMoreNounChangeControlMetaDataCmdImpl()
public void performExecute() throws java.lang.Exception
CANMODIFY_PROPERTY
is included
to determine whether the client can edit the object or not. If there is no
change control metadata found, a metadata entry is still created and
only has one metadata property with a name of CANMODIFY_PROPERTY
. The building of the metadata is done
by calling the buildMetadata()
method. This method is responsible for
resolving the mediator and identifying the objects to return change control information for.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
TargetableCommand.performExecute()