Class Archive

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

public class Archive extends Object
Archive Viewer Form
  • 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()
      Get list of report process accessible to current role
      Returns:
      KeyNamePair(AD_Process_ID, Translated Name) array of AD_Process records
    • getTableData

      public KeyNamePair[] getTableData()
      Get list of table accessible (via window access) to current role
      Returns:
      KeyNamePair(AD_Table_ID, Translated Name) array of AD_Table records
    • getUserData

      public KeyNamePair[] getUserData()
      Get users
      Returns:
      KeyNamePair(AD_User_ID, Name) array of user records
    • isSame

      public boolean isSame(String s1, String s2)
      Is the two string equals
      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 (AD_Archive) records
      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 -