Package wt.fv.master

Interface MasterServiceSvr

All Known Implementing Classes:
StandardMasterService

public interface MasterServiceSvr


Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    purgeReplicatedItems(WTCollection contentHolders, Site site, boolean resetSharedItems, boolean purgePredictiveCachingRules)
    Method deletes all ReplicatedItem objects belonging to supplied site, and object collection.
    void
    queuePredictiveCaching(ObjectReference rVaultRef, Collection objects, boolean runImmediately)
    This method will create a Queue Entry to perform the Predictive Caching runImmediately determines what kind of schedule to create.
  • Method Details

    • purgeReplicatedItems

      void purgeReplicatedItems(WTCollection contentHolders, Site site, boolean resetSharedItems, boolean purgePredictiveCachingRules) throws WTException
      Method deletes all ReplicatedItem objects belonging to supplied site, and object collection. This operation turns off access control & purge the data Client should pass collection of ObjectReference(ContentHolder) for performance reasons resetSharedItems = decides whether to remove a ReplicatedItem that is shared across objects. If value is true, then the ReplicatedItem that is shared across object will be removed. If value is false, API will check if all the objects that share a ReplicatedItem are passed to purgeReplicatedItems API. If yes, remove that ReplicatedItem. purgePredictiveCachingRules = decides whether to remove Predictive Caching Rules for passed set of objects. If value is true, remove the Predictive Caching Rules. Deletion of Rules will avoid the replication of Non-Latest Revision objects in future.

      Supported API: true
      Parameters:
      contentHolders -
      site -
      resetSharedItems -
      purgePredictiveCachingRules -
      Throws:
      WTException
    • queuePredictiveCaching

      void queuePredictiveCaching(ObjectReference rVaultRef, Collection objects, boolean runImmediately) throws WTException
      This method will create a Queue Entry to perform the Predictive Caching runImmediately determines what kind of schedule to create. If value is true, schedule will run immediately. If value is false, schedule will run at next time (as per wt.fv.predictiveReplicationPeriodicity setting)

      Supported API: true
      Parameters:
      rVaultRef - Vault reference
      objects - Collection of ContentHolder
      runImmediately -
      Throws:
      WTException