|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fv.master.MasterServiceFwd
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
MasterServiceFwd()
|
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. |
private static Manager |
getManager()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public MasterServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public FvPolicyRule addRemotePolicyRule(FvPolicyRule rule) throws WTException
addRemotePolicyRule
in interface MasterService
rule
-
WTException
public Enumeration getRemotePolicyRules(Selector sel) throws WTException
getRemotePolicyRules
in interface MasterService
sel
-
WTException
public Enumeration getRemotePolicyRules(ReplicaVault vault) throws WTException
getRemotePolicyRules
in interface MasterService
vault
-
WTException
public FvPolicyRule[] getAllRemotePolicyRules(String domainName) throws WTException
getAllRemotePolicyRules
in interface MasterService
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: false
addFolder
in interface MasterService
vault
- folder
-
WTException
public Vector getFolders(Site site, ReplicaVault vault) throws WTException
getFolders
in interface MasterService
site
- vault
-
WTException
public Vector getRemoteVaults(Site site) throws WTException
getRemoteVaults
in interface MasterService
site
-
WTException
public FvMount mountFolder(FvHost host, ReplicaFolder folder, String path) throws WTPropertyVetoException, WTException
mountFolder
in interface MasterService
host
- folder
- path
-
WTPropertyVetoException
WTException
public ReplicaFolder moveFolder(ReplicaFolder folder, ReplicaVault newVault) throws WTException, WTPropertyVetoException
moveFolder
in interface MasterService
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
getRemotePolicyItems
in interface MasterService
sel
-
WTException
public Vector getAlternativeURLs(ApplicationData appData, ContentHolder holder, boolean downloadFromMaster) throws QueryException, WTException, IOException
getAlternativeURLs
in interface MasterService
appData
- holder
- downloadFromMaster
-
QueryException
WTException
IOException
public void purgeReplicatedItems(Site site, ReplicaVault vault, boolean fullPurge) throws WTException
purgeReplicatedItems
in interface MasterService
site
- vault
- fullPurge
-
WTException
public void broadcastConfig(Site site) throws WTException
broadcastConfig
in interface MasterService
site
-
WTException
public Vector getAllContentReplSites() throws WTException
getAllContentReplSites
in interface MasterService
WTException
public Site getCurrentPreferredSite() throws WTException
getCurrentPreferredSite
in interface MasterService
WTException
public void setPreferredSite(Site site) throws WTException
setPreferredSite
in interface MasterService
site
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |