Class X_AD_AlertRule

    • Constructor Detail

      • X_AD_AlertRule

        public X_AD_AlertRule​(Properties ctx,
                              int AD_AlertRule_ID,
                              String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        6 - System - Client
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_Alert_ID

        public void setAD_Alert_ID​(int AD_Alert_ID)
        Set Alert.
        Specified by:
        setAD_Alert_ID in interface I_AD_AlertRule
        Parameters:
        AD_Alert_ID - iDempiere Alert
      • getAD_Alert_ID

        public int getAD_Alert_ID()
        Get Alert.
        Specified by:
        getAD_Alert_ID in interface I_AD_AlertRule
        Returns:
        iDempiere Alert
      • setAD_AlertRule_ID

        public void setAD_AlertRule_ID​(int AD_AlertRule_ID)
        Set Alert Rule.
        Specified by:
        setAD_AlertRule_ID in interface I_AD_AlertRule
        Parameters:
        AD_AlertRule_ID - Definition of the alert element
      • getAD_AlertRule_ID

        public int getAD_AlertRule_ID()
        Get Alert Rule.
        Specified by:
        getAD_AlertRule_ID in interface I_AD_AlertRule
        Returns:
        Definition of the alert element
      • setAD_AlertRule_UU

        public void setAD_AlertRule_UU​(String AD_AlertRule_UU)
        Set AD_AlertRule_UU.
        Specified by:
        setAD_AlertRule_UU in interface I_AD_AlertRule
        Parameters:
        AD_AlertRule_UU - AD_AlertRule_UU
      • setAD_Table_ID

        public void setAD_Table_ID​(int AD_Table_ID)
        Set Table.
        Specified by:
        setAD_Table_ID in interface I_AD_AlertRule
        Parameters:
        AD_Table_ID - Database Table information
      • getAD_Table_ID

        public int getAD_Table_ID()
        Get Table.
        Specified by:
        getAD_Table_ID in interface I_AD_AlertRule
        Returns:
        Database Table information
      • setErrorMsg

        public void setErrorMsg​(String ErrorMsg)
        Set Error Msg.
        Specified by:
        setErrorMsg in interface I_AD_AlertRule
        Parameters:
        ErrorMsg - Error Msg
      • setFromClause

        public void setFromClause​(String FromClause)
        Set Sql FROM.
        Specified by:
        setFromClause in interface I_AD_AlertRule
        Parameters:
        FromClause - SQL FROM clause
      • setIsValid

        public void setIsValid​(boolean IsValid)
        Set Valid.
        Specified by:
        setIsValid in interface I_AD_AlertRule
        Parameters:
        IsValid - Element is valid
      • isValid

        public boolean isValid()
        Get Valid.
        Specified by:
        isValid in interface I_AD_AlertRule
        Returns:
        Element is valid
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_AlertRule
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_AlertRule
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setOtherClause

        public void setOtherClause​(String OtherClause)
        Set Other SQL Clause.
        Specified by:
        setOtherClause in interface I_AD_AlertRule
        Parameters:
        OtherClause - Other SQL Clause
      • setPostProcessing

        public void setPostProcessing​(String PostProcessing)
        Set Post Processing.
        Specified by:
        setPostProcessing in interface I_AD_AlertRule
        Parameters:
        PostProcessing - Process SQL after executing the query
      • getPostProcessing

        public String getPostProcessing()
        Get Post Processing.
        Specified by:
        getPostProcessing in interface I_AD_AlertRule
        Returns:
        Process SQL after executing the query
      • setPreProcessing

        public void setPreProcessing​(String PreProcessing)
        Set Pre Processing.
        Specified by:
        setPreProcessing in interface I_AD_AlertRule
        Parameters:
        PreProcessing - Process SQL before executing the query
      • getPreProcessing

        public String getPreProcessing()
        Get Pre Processing.
        Specified by:
        getPreProcessing in interface I_AD_AlertRule
        Returns:
        Process SQL before executing the query
      • setSelectClause

        public void setSelectClause​(String SelectClause)
        Set Sql SELECT.
        Specified by:
        setSelectClause in interface I_AD_AlertRule
        Parameters:
        SelectClause - SQL SELECT clause
      • setWhereClause

        public void setWhereClause​(String WhereClause)
        Set Sql WHERE.
        Specified by:
        setWhereClause in interface I_AD_AlertRule
        Parameters:
        WhereClause - Fully qualified SQL WHERE clause