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.
ChangeLayoutMediatorChangeLayoutWidgetPartMediator| 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, getChangeControlBusinessObjectMediatorgetActionExpression, getNoun, isGeneric, reset, setActionExpression, setNoun, setPersistentObjectsexecute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisGeneric, setActionExpression, setNoun, setPersistentObjectspublic 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.TargetableCommandperformExecute in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImpljava.lang.Exceptionpublic void validate()
throws AbstractApplicationException
ChangeLayoutPartActionCmd to validate create for each Page Location noun part.validate in interface AbstractProcessNounActionCmdvalidate in class AbstractProcessCreateActionUsingBusinessObjectMediatorCmdImplAbstractApplicationException - If there are validation errors or exceptions.preProcessLayout()public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractProcessNounActionCmdImpl