public class ProcessLayoutCreateActionCmdImpl extends AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl implements ProcessLayoutActionCmd
ChangeLayoutMediator
to create the layout with widgets
and then creates the page locations separately with Change Page Location Part Action Command.
ChangeLayoutMediator
ChangeLayoutWidgetPartMediator
Constructor and Description |
---|
ProcessLayoutCreateActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
This method returns if the command can be executed.
|
void |
performExecute()
Performs the main logic of this command.
|
void |
validate()
This method performs business logic validation for this action.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, reset, setActionExpression, setNoun, setPersistentObjects
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
isGeneric, setActionExpression, setNoun, setPersistentObjects
public void performExecute() throws java.lang.Exception
super.performExecute()
to invoke the configured mediators.ChangeBusinessObjectMediator.applyChanges()
to save all the changes that made to physical entity objects
which are stored by the physical data containers.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl
java.lang.Exception
public void validate() throws AbstractApplicationException
ChangeLayoutPartActionCmd
to validate create for each Page Location noun part.validate
in interface AbstractProcessNounActionCmd
validate
in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpl
AbstractApplicationException
- If there are validation errors or exceptions.preProcessLayout()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractProcessNounActionCmdImpl