|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Method Summary | |
ReplicaFolder |
addFolder(ReplicaVault vault,
ReplicaFolder folder)
Add a folder to a given vault. |
FvPolicyRule |
addRemotePolicyRule(FvPolicyRule rule)
Adds a policy rule. |
void |
broadcastConfig(Site site)
Broadcasts configuration to the replica site. |
Vector |
getAllContentReplSites()
Retrieves all sites which are able to participate in the Content Replication process. |
FvPolicyRule[] |
getAllRemotePolicyRules(String domainName)
Returns all of the policy rules Supported API: false |
Vector |
getAlternativeURLs(ApplicationData appData,
ContentHolder holder,
boolean downloadFromMaster)
The method returns a vector of URLs. |
Site |
getCurrentPreferredSite()
Retrieves the current preferred site for the active principal. |
Vector |
getFolders(Site site,
ReplicaVault vault)
Returns all folders in a vault as an Enumeration. |
FvPolicyItem[] |
getRemotePolicyItems(Selector sel)
Supported API: false |
Enumeration |
getRemotePolicyRules(ReplicaVault vault)
Supported API: false |
Enumeration |
getRemotePolicyRules(Selector sel)
Returns a policy rule for a given selector. |
Vector |
getRemoteVaults(Site site)
Supported API: false |
FvMount |
mountFolder(FvHost host,
ReplicaFolder folder,
String path)
Mounts a replica folder to a given host. |
ReplicaFolder |
moveFolder(ReplicaFolder folder,
ReplicaVault newVault)
Moves a folder to another vault. |
void |
purgeReplicatedItems(Site site,
ReplicaVault vault,
boolean fullPurge)
Method deletes all ReplicatedItem objects belonging to supplied site, vault pair. |
void |
setPreferredSite(Site site)
Set the preferred site for content cache and content replication for the current user. |
Method Detail |
public FvPolicyRule addRemotePolicyRule(FvPolicyRule rule) throws WTException
rule
-
WTException
public Enumeration getRemotePolicyRules(Selector sel) throws WTException
sel
-
WTException
public Enumeration getRemotePolicyRules(ReplicaVault vault) throws WTException
vault
-
WTException
public FvPolicyRule[] getAllRemotePolicyRules(String domainName) throws WTException
domainName
-
WTException
public ReplicaFolder addFolder(ReplicaVault vault, ReplicaFolder folder) throws WTException
Specifying a number that already exists for a given vault results in shifting vaults to make a room for a new one.
Specifying -1 results in adding a folder to the end of the list.
Supported API: true
vault
- folder
-
WTException
public Vector getFolders(Site site, ReplicaVault vault) throws WTException
site
- vault
-
WTException
public Vector getRemoteVaults(Site site) throws WTException
site
-
WTException
public FvMount mountFolder(FvHost host, ReplicaFolder folder, String path) throws WTPropertyVetoException, WTException
host
- folder
- path
-
WTPropertyVetoException
WTException
public ReplicaFolder moveFolder(ReplicaFolder folder, ReplicaVault newVault) throws WTException, WTPropertyVetoException
folder
- the folder to be moved.newVault
- the vault that the folder is to be moved to.
WTException
WTPropertyVetoException
public FvPolicyItem[] getRemotePolicyItems(Selector sel) throws WTException
sel
-
WTException
public Vector getAlternativeURLs(ApplicationData appData, ContentHolder holder, boolean downloadFromMaster) throws QueryException, WTException, IOException
appData
- holder
- downloadFromMaster
-
QueryException
WTException
IOException
public void purgeReplicatedItems(Site site, ReplicaVault vault, boolean fullPurge) throws WTException
site
- vault
- fullPurge
-
WTException
public void broadcastConfig(Site site) throws WTException
site
-
WTException
public Vector getAllContentReplSites() throws WTException
WTException
public Site getCurrentPreferredSite() throws WTException
WTException
public void setPreferredSite(Site site) throws WTException
site
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |