com.ibm.commerce.pagelayout.facade.server.commands

Class ProcessPageDeleteActionCmdImpl

    • Constructor Detail

      • ProcessPageDeleteActionCmdImpl

        public ProcessPageDeleteActionCmdImpl()
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method returns if the command can be executed.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractProcessNounActionCmdImpl
        Returns:
        This method returns true if the command is ready to be executed, otherwise it returns false.
      • performExecute

        public void performExecute()
                            throws java.lang.Exception
          This method performs the main logic of this command.
        • First, calls super.performExecute() to delete the Content Page. It will delegate to ChangePageMediator to perform the logic.
        • Then, deletes all the layout assignments for this Content Page by executing DeleteLayoutAssignmentCmd.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl
        Throws:
        java.lang.Exception - If problem occurred when performing the action expression.