public class ChangeLayoutPageLocationPartCmdImpl extends AbstractChangeNounPartUsingBusinessObjectMediatorCmdImpl implements ChangeLayoutPartActionCmd
PageLocationActivityHelper
.super.performExecute()
to perform the operations related to physical entities of Page Location,
which will be delegated to ChangeLayoutPageLocationPartMediator
ChangeLayoutPageLocationPartMediator
Constructor and Description |
---|
ChangeLayoutPageLocationPartCmdImpl()
This method is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method performs the main logic of this command.
|
void |
reset()
This method resets the command so it can be reused.
|
void |
setPageLocationActivityHelper(java.lang.String activityHelperClassName)
This method sets the Page Location Activity Helper used by this class.
|
void |
validate()
Validates the Page Location noun parts based on the actions requested on the noun part.
|
setChangeNounPartPostActionCommandInterface
addActionExpression, isGeneric, isReadyToCallExecute, setPersistentObjects
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
addActionExpression, isGeneric, setPersistentObjects
public ChangeLayoutPageLocationPartCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractChangeNounPartActionCmdImpl
CacheableCommandImpl.reset()
public void performExecute() throws java.lang.Exception
PageLocationActivityHelper
.super.performExecute()
to Add(Create)/Change(Update)/Delete(Remove)
Page Location physical entities for each Action Expression,
which will delegate to ChangeLayoutPageLocationPartMediator
.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractChangeNounPartActionCmdImpl
java.lang.Exception
- If problem occurred when performing the action expression.public void validate() throws AbstractApplicationException
ChangeLayoutPageLocationPartMediator
validate
in interface AbstractChangeNounPartActionCmd
validate
in class AbstractChangeNounPartUsingBusinessObjectMediatorCmdImpl
AbstractApplicationException
- There is invalid information specified with the business
object document request which will prevent the request from executing.AbstractChangeNounPartActionCmd.validate()
public void setPageLocationActivityHelper(java.lang.String activityHelperClassName) throws PageLayoutSystemException
activityHelperClassName
- The fully qualified class name of the Page Location Activity Helper to set.
This class should inherit from PageLocationActivityHelper
.PageLayoutSystemException