JavaDoc


_Publication

org.dbreplicator.replication
Interface _Publication

All Known Implementing Classes:
Publication

public interface _Publication

_Publication is an interface implemented by Publication class. It holds abstraction of all the relevant methods, needed for the completion of creating publication. It holds the abstraction of the methods which set the publication parameters as well as which create Replication system tables (and triggers) for storing publication information and needed for replication. This Interface actually is the bound over the user's access on the methods of the publication class , as the user can access only those methods which are declared here.


Field Summary
static java.lang.String publisher_wins
           
static java.lang.String subscriber_wins
           
static boolean xmlAndShadow_entries
           
 
Method Summary
 void addTableToPublication(java.lang.String[] newTableList, java.lang.String[] filterClauses)
           
 void dropTableFromPublication(java.lang.String[] dropTableList)
           
 void publish()
           
 void setConflictResolver(java.lang.String conflictReolver0)
           
 void setCreateShadowTable(java.lang.String tableName0, boolean createShadowTable)
           
 void setFilter(java.lang.String tableName0, java.lang.String filterClause0)
           
 void setFilter(java.lang.String tableName0, java.lang.String filterClause0, int paramCount)
           
 void setIgnoredColumns(java.lang.String tableName, java.lang.String[] columnNamesToBeIgnored)
          This method sets the columns whose values are to be ignored while taking snapshot,synchronizing etc.
 void unpublish()
           
 

Field Detail

subscriber_wins

static final java.lang.String subscriber_wins
See Also:
Constant Field Values

publisher_wins

static final java.lang.String publisher_wins
See Also:
Constant Field Values

xmlAndShadow_entries

static final boolean xmlAndShadow_entries
See Also:
Constant Field Values
Method Detail

setConflictResolver

void setConflictResolver(java.lang.String conflictReolver0)
                         throws RepException
Throws:
RepException

setFilter

void setFilter(java.lang.String tableName0,
               java.lang.String filterClause0)
               throws RepException
Throws:
RepException

setFilter

void setFilter(java.lang.String tableName0,
               java.lang.String filterClause0,
               int paramCount)
               throws RepException
Throws:
RepException

setCreateShadowTable

void setCreateShadowTable(java.lang.String tableName0,
                          boolean createShadowTable)
                          throws RepException
Throws:
RepException

publish

void publish()
             throws RepException
Throws:
RepException

setIgnoredColumns

void setIgnoredColumns(java.lang.String tableName,
                       java.lang.String[] columnNamesToBeIgnored)
                       throws RepException
This method sets the columns whose values are to be ignored while taking snapshot,synchronizing etc.

Parameters:
tableName - String
Throws:
RepException

unpublish

void unpublish()
               throws RepException
Throws:
RepException

addTableToPublication

void addTableToPublication(java.lang.String[] newTableList,
                           java.lang.String[] filterClauses)
                           throws RepException
Throws:
RepException

dropTableFromPublication

void dropTableFromPublication(java.lang.String[] dropTableList)
                              throws RepException
Throws:
RepException



Powered by Drupal - Theme by Danger4k