Class MReplicationStrategy

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_ReplicationStrategy, I_Persistent, Evaluatee

public class MReplicationStrategy extends X_AD_ReplicationStrategy
Author:
Trifon N. Trifonov, victor.perez@e-evolution.com, e-Evolution
  • BF2875989 Deactivate replication records are include to replication
  • https://sourceforge.net/p/adempiere/bugs/2167/
  • BF2947615 The document replication not working
  • https://sourceforge.net/p/adempiere/bugs/2167/
  • IDEMPIERE-218 Replication not working in ZK
  • http://jira.idempiere.com/browse/IDEMPIERE-218
  • See Also:
    • Field Details

    • Constructor Details

      • MReplicationStrategy

        public MReplicationStrategy(Properties ctx, String AD_ReplicationStrategy_UU, String trxName)
        UUID based Constructor
        Parameters:
        ctx - Context
        AD_ReplicationStrategy_UU - UUID key
        trxName - Transaction
      • MReplicationStrategy

        public MReplicationStrategy(Properties ctx, int AD_ReplicationStrategy_ID, String trxName)
        Constructor
        Parameters:
        ctx -
        AD_ReplicationStrategy_ID -
        trxName -
      • MReplicationStrategy

        public MReplicationStrategy(Properties ctx, ResultSet rs, String trxName)
        Parameters:
        ctx -
        rs -
        trxName -
    • Method Details

      • getReplicationTables

        public List<X_AD_ReplicationTable> getReplicationTables()
        Returns:
        the list of active X_AD_ReplicationTable record
      • getReplicationDocuments

        public List<X_AD_ReplicationDocument> getReplicationDocuments()
        Returns:
        the list of active X_AD_ReplicationDocument record
      • getReplicationTable

        public static X_AD_ReplicationTable getReplicationTable(Properties ctx, int AD_ReplicationStrategy_ID, int AD_Table_ID)
        Find X_AD_ReplicationTable record via replication strategy id and table id
        Parameters:
        ctx -
        AD_ReplicationStrategy_ID -
        AD_Table_ID -
        Returns:
        X_AD_ReplicationTable record or null
      • getReplicationDocument

        public static X_AD_ReplicationDocument getReplicationDocument(Properties ctx, int AD_ReplicationStrategy_ID, int AD_Table_ID)
        Find X_AD_ReplicationDocument record via replication strategy id and table id
        Parameters:
        ctx -
        AD_ReplicationStrategy_ID -
        AD_Table_ID -
        Returns:
        X_AD_ReplicationDocument record or null
      • getReplicationDocument

        public static X_AD_ReplicationDocument getReplicationDocument(Properties ctx, int AD_ReplicationStrategy_ID, int AD_Table_ID, int C_DocType_ID)
        Find X_AD_ReplicationDocument record via replication strategy id, table id and document type id
        Parameters:
        ctx -
        AD_ReplicationStrategy_ID -
        AD_Table_ID -
        C_DocType_ID -
        Returns:
        X_AD_ReplicationDocument record or null