Class X_AD_Alert

    • Constructor Detail

      • X_AD_Alert

        public X_AD_Alert​(Properties ctx,
                          int AD_Alert_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_Alert
        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_Alert
        Returns:
        iDempiere Alert
      • setAD_AlertProcessor_ID

        public void setAD_AlertProcessor_ID​(int AD_AlertProcessor_ID)
        Set Alert Processor.
        Specified by:
        setAD_AlertProcessor_ID in interface I_AD_Alert
        Parameters:
        AD_AlertProcessor_ID - Alert Processor/Server Parameter
      • getAD_AlertProcessor_ID

        public int getAD_AlertProcessor_ID()
        Get Alert Processor.
        Specified by:
        getAD_AlertProcessor_ID in interface I_AD_Alert
        Returns:
        Alert Processor/Server Parameter
      • setAD_Alert_UU

        public void setAD_Alert_UU​(String AD_Alert_UU)
        Set AD_Alert_UU.
        Specified by:
        setAD_Alert_UU in interface I_AD_Alert
        Parameters:
        AD_Alert_UU - AD_Alert_UU
      • setAlertMessage

        public void setAlertMessage​(String AlertMessage)
        Set Alert Message.
        Specified by:
        setAlertMessage in interface I_AD_Alert
        Parameters:
        AlertMessage - Message of the Alert
      • getAlertMessage

        public String getAlertMessage()
        Get Alert Message.
        Specified by:
        getAlertMessage in interface I_AD_Alert
        Returns:
        Message of the Alert
      • setAlertSubject

        public void setAlertSubject​(String AlertSubject)
        Set Alert Subject.
        Specified by:
        setAlertSubject in interface I_AD_Alert
        Parameters:
        AlertSubject - Subject of the Alert
      • getAlertSubject

        public String getAlertSubject()
        Get Alert Subject.
        Specified by:
        getAlertSubject in interface I_AD_Alert
        Returns:
        Subject of the Alert
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_Alert
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_Alert
        Returns:
        Optional short description of the record
      • setEnforceClientSecurity

        public void setEnforceClientSecurity​(boolean EnforceClientSecurity)
        Set Enforce Client Security.
        Specified by:
        setEnforceClientSecurity in interface I_AD_Alert
        Parameters:
        EnforceClientSecurity - Send alerts to recipient only if the client security rules of the role allows
      • isEnforceClientSecurity

        public boolean isEnforceClientSecurity()
        Get Enforce Client Security.
        Specified by:
        isEnforceClientSecurity in interface I_AD_Alert
        Returns:
        Send alerts to recipient only if the client security rules of the role allows
      • setEnforceRoleSecurity

        public void setEnforceRoleSecurity​(boolean EnforceRoleSecurity)
        Set Enforce Role Security.
        Specified by:
        setEnforceRoleSecurity in interface I_AD_Alert
        Parameters:
        EnforceRoleSecurity - Send alerts to recipient only if the data security rules of the role allows
      • isEnforceRoleSecurity

        public boolean isEnforceRoleSecurity()
        Get Enforce Role Security.
        Specified by:
        isEnforceRoleSecurity in interface I_AD_Alert
        Returns:
        Send alerts to recipient only if the data security rules of the role allows
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_AD_Alert
        Parameters:
        Help - Comment or Hint
      • getHelp

        public String getHelp()
        Get Comment/Help.
        Specified by:
        getHelp in interface I_AD_Alert
        Returns:
        Comment or Hint
      • setIsValid

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

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

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

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

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