Class Archive

java.lang.Object
org.compiere.apps.form.Archive
Direct Known Subclasses:
WArchiveViewer

public class Archive extends Object
  • Field Details

    • m_WindowNo

      protected int m_WindowNo
      Window No
    • m_archives

      protected MArchive[] m_archives
      The Archives
    • m_index

      protected int m_index
      Archive Index
    • m_AD_Table_ID

      protected int m_AD_Table_ID
      Table direct
    • m_Record_ID

      protected int m_Record_ID
      Record direct
    • m_Record_UU

      protected String m_Record_UU
      Record UUID
    • log

      protected static final CLogger log
      Logger
  • Constructor Details

    • Archive

      public Archive()
  • Method Details

    • getProcessData

      public KeyNamePair[] getProcessData()
      Returns:
      KeyNamePair array of AD_Process records
    • getTableData

      public KeyNamePair[] getTableData()
      Returns:
      KeyNamePair array of AD_Table records
    • getUserData

      public KeyNamePair[] getUserData()
      Returns:
      KeyNamePair array of user records
    • isSame

      public boolean isSame(String s1, String s2)
      Is it the same
      Parameters:
      s1 - s1
      s2 - s1
      Returns:
      true if the same
    • cmd_query

      public void cmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID, String name, String description, String help, KeyNamePair createdBy, Timestamp createdFrom, Timestamp createdTo)
      retrieve archive record
      Parameters:
      reports - IsReport filter
      process - AD_Process_ID filter
      table - AD_Table_ID filter
      C_BPartner_ID - C_BPartner_ID filter
      name - archive name filter
      description - archive description filter
      help - archive help filter
      createdBy - CreatedBy filter
      createdFrom - Created >= createdFrom
      createdTo - Created <= createdTo
    • getArchives

      public MArchive[] getArchives()
      Returns:
      array of archive records
    • setTrxName

      public void setTrxName(String trxName)
      set optional trx name
      Parameters:
      trxName -