Class MChat

    • Constructor Detail

      • MChat

        public MChat​(Properties ctx,
                     int CM_Chat_ID,
                     String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        CM_Chat_ID - id
        trxName - transcation
      • MChat

        public MChat​(Properties ctx,
                     int AD_Table_ID,
                     int Record_ID,
                     String Description,
                     String trxName)
        Full Constructor
        Parameters:
        ctx - context
        AD_Table_ID - table
        Record_ID - record
        Description - description
        trxName - transaction
      • MChat

        public MChat​(Properties ctx,
                     ResultSet rs,
                     String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
    • Method Detail

      • getOfTable

        public static MChat[] getOfTable​(Properties ctx,
                                         int AD_Table_ID)
        Get Chats Of Table - of client in context
        Parameters:
        ctx - context
        AD_Table_ID - table
        Returns:
        array of chats
      • getEntries

        public MChatEntry[] getEntries​(boolean reload)
        Get Entries
        Parameters:
        reload - reload data
        Returns:
        array of lines
      • getHistory

        public org.apache.ecs.xhtml.p getHistory​(String ConfidentialType)
        Get History as htlp paragraph
        Parameters:
        ConfidentialType - confidentiality
        Returns:
        html paragraph
      • getID

        public static int getID​(int Table_ID,
                                int Record_ID)
        IDEMPIERE-530 Get the chat ID based on table_id and record_id
        Parameters:
        Table_ID -
        Record_ID -
        Returns:
        CM_Chat_ID