Class TableAddDataProcessActionHandler

    • Constructor Detail

      • TableAddDataProcessActionHandler

        public TableAddDataProcessActionHandler()
        Deprecated.
    • Method Detail

      • processActionWithoutResponse

        protected void processActionWithoutResponse()
                                             throws PortalException
        Deprecated.
        Processes the insert action.

        Here the doInsert() method is called to perform the insert.

        Throws:
        PortalException
        Since:
        4.0.11
      • doInsert

        protected void doInsert()
                         throws PortalException
        Deprecated.
        The process of insertion in the database is done in this method.

        This method sends pre notifications, performs the insert, sends post notifications and finally indexes the data.

        Throws:
        PortalException
        Since:
        4.0.11
      • setPrimaryKeyParameter

        protected void setPrimaryKeyParameter​(Object primaryKeyValue)
                                       throws PortalException
        Deprecated.
        The primary key value of the inserted data is placed in the process action parameters.
        Parameters:
        primaryKeyValue -
        Throws:
        PortalException
        Since:
        4.0.11
      • preInsert

        protected void preInsert​(QueryInsert queryInsert)
                          throws PortalException
        Deprecated.
        Called before the insert action is taken.

        No action is taken here. This is simply a hook for objects that extend this class.

        Parameters:
        queryInsert -
        Throws:
        PortalException
        Since:
        4.0.11
      • sendPreNotifications

        protected void sendPreNotifications​(String primaryKey)
                                     throws PortalException
        Deprecated.
        Called before the insert action is taken.

        No action is taken here. This is simply a hook for objects that extend this class.

        Parameters:
        queryInsert -
        Throws:
        PortalException
        Since:
        4.0.11
      • execute

        protected void execute​(QueryInsert queryInsert)
                        throws PortalException
        Deprecated.
        This method actually executes the insert statement.
        Parameters:
        queryInsert -
        Throws:
        PortalException
        Since:
        4.0.11
      • postInsert

        protected void postInsert​(String primaryKey)
                           throws PortalException
        Deprecated.
        Sets the primary key render parameter.
        Parameters:
        primaryKey -
        Throws:
        PortalException
        Since:
        4.0.11
      • setPrimaryKeyAttribute

        protected void setPrimaryKeyAttribute​(String primaryKey)
                                       throws PortalException
        Deprecated.
        Sets the primary key value in the request attribute. This way other process actions that require the primary key value may obtain it.
        Parameters:
        primaryKey - the primary key value. If null this method does nothing.
        Throws:
        PortalException
        Since:
        4.0.10
      • sendPostNotifications

        protected void sendPostNotifications​(String primaryKey)
                                      throws PortalException
        Deprecated.
        Sends process action execution and interface changed notifications.
        Parameters:
        primaryKey -
        Throws:
        PortalException
        Since:
        4.0.11