JavaDoc


_Subscription

org.dbreplicator.replication
Interface _Subscription

All Known Implementing Classes:
Subscription

public interface _Subscription

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


Field Summary
static boolean xmlAndShadow_entries
           
 
Method Summary
 void addSchedule(java.lang.String scheduleName, java.lang.String subscriptionName, java.lang.String scheduleType, java.lang.String publicationServerName, java.lang.String publicationPortNo, java.lang.String recurrenceType, java.lang.String replicationType, java.sql.Timestamp startDateTime, int scheduleCounter)
           
 void editSchedule(java.lang.String scheduleName, java.lang.String subName, java.lang.String newPubServerName, java.lang.String newPubPortNo)
           
 int getRemoteServerPortNo()
           
 java.lang.String getRemoteServerUrl()
           
 java.util.ArrayList getRepTables()
           
 void getSnapShot()
           
 void getSnapShotAfterUpdatingSubscriber()
           
 void pull()
           
 void push()
           
 void removeSchedule(java.lang.String scheduleName, java.lang.String subscriptionName)
           
 void resetRemoteServer()
           
 void setRemoteServerPortNo(int remotePort0)
           
 void setRemoteServerUrl(java.lang.String remoteUrl0)
           
 void subscribe()
           
 void synchronize()
           
 void unsubscribe()
           
 void updateSubscription()
           
 

Field Detail

xmlAndShadow_entries

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

setRemoteServerUrl

void setRemoteServerUrl(java.lang.String remoteUrl0)
                        throws RepException
Throws:
RepException

setRemoteServerPortNo

void setRemoteServerPortNo(int remotePort0)

getSnapShot

void getSnapShot()
                 throws RepException
Throws:
RepException

subscribe

void subscribe()
               throws RepException
Throws:
RepException

synchronize

void synchronize()
                 throws RepException
Throws:
RepException

unsubscribe

void unsubscribe()
                 throws RepException
Throws:
RepException

pull

void pull()
          throws RepException
Throws:
RepException

push

void push()
          throws RepException
Throws:
RepException

addSchedule

void addSchedule(java.lang.String scheduleName,
                 java.lang.String subscriptionName,
                 java.lang.String scheduleType,
                 java.lang.String publicationServerName,
                 java.lang.String publicationPortNo,
                 java.lang.String recurrenceType,
                 java.lang.String replicationType,
                 java.sql.Timestamp startDateTime,
                 int scheduleCounter)
                 throws RepException
Throws:
RepException

editSchedule

void editSchedule(java.lang.String scheduleName,
                  java.lang.String subName,
                  java.lang.String newPubServerName,
                  java.lang.String newPubPortNo)
                  throws RepException
Throws:
RepException

removeSchedule

void removeSchedule(java.lang.String scheduleName,
                    java.lang.String subscriptionName)
                    throws RepException
Throws:
RepException

getRemoteServerUrl

java.lang.String getRemoteServerUrl()

resetRemoteServer

void resetRemoteServer()

getRemoteServerPortNo

int getRemoteServerPortNo()

updateSubscription

void updateSubscription()
                        throws RepException
Throws:
RepException

getSnapShotAfterUpdatingSubscriber

void getSnapShotAfterUpdatingSubscriber()
                                        throws RepException
Throws:
RepException

getRepTables

java.util.ArrayList getRepTables()



Powered by Drupal - Theme by Danger4k