Class ProcessLayoutDeleteActionCmdImpl

  • All Implemented Interfaces:
    AbstractProcessNounActionCmd, ProcessLayoutActionCmd,,,,,,

    public class ProcessLayoutDeleteActionCmdImpl
    extends AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl
    implements ProcessLayoutActionCmd
    This command is used to delete a Layout noun. This command performs business logic validation and its parent calls the ChangeLayoutMediator to persist the noun in the database. In this command, first the Page Layout are marked as deleted, then using PageLocationActivityHelper, the associated Page Location Activities are deleted.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessLayoutDeleteActionCmdImpl

        public ProcessLayoutDeleteActionCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
          This method performs the main logic of this command.
        • First, calls super.performExecute() to delete the Page Layout. It will delegate to ChangeLayoutMediator to perform the logic. The Page Layouts are only marked as deleted.
        • Then, gets all of the Page Location Activities associated with the Page Layout.
        • At last, calls PageLocationActivityHelper to delete these activities.
        Specified by:
        performExecute in interface
        performExecute in class AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl
        java.lang.Exception - If problem occurred when performing the action expression.
      • setPageLocationActivityHelper

        public void setPageLocationActivityHelper(java.lang.String activityHelperClassName)
                                           throws PageLayoutSystemException
        This method sets the Page Location Activity Helper used by this class.
        activityHelperClassName - The fully qualified class name of the Page Location Activity Helper to set. This class should inherit from PageLocationActivityHelper.