|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fv.FvServiceFwd
The FvService service presents an interface accessible also in the client
to the functions provided in the server by the StandardFvService.
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 | |
FvServiceFwd()
|
Method Summary | |
FvFolder |
addFolder(FvVault vault,
FvFolder folder)
Add a folder to a given vault. |
FvHost |
addHostToSite(Site site,
FvHost host)
Adds the given host to the give site. |
FvPolicyRule |
addPolicyRule(FvPolicyRule rule)
Adds a policy rule. |
Vault |
addVaultToSite(Site site,
Vault vault)
Adds the given vault to the given site. |
DeletedFilesStatistics |
cleanUpFolder(FvFolder folder)
Clean up a folder by removing unreferenced files from it. |
DeletedFilesStatistics |
cleanUpFolders(FvVault vault)
Clean up all the folders from the given FvVault. |
void |
dumpBackupInfo()
Supported API: false |
Vector |
getAllFolders(Site site,
Vault vault)
Gets all the folders for a given site and FvVault Supported API: false |
Enumeration |
getAllHosts(Site site)
For the given Site, returns all the hosts in the system as an Enumaration of FvHost objects. |
FvPolicyRule[] |
getAllPolicyRules(String domainName)
Returns all of the policy rules Supported API: false |
Vector |
getAllRevaultableItems(Vault vault,
Vector queryInfo,
int pageSize)
Get all revaultable items from the given vault with streamId is at least "startingStreamId". |
String[] |
getFileLists(FvMount mount)
Get the list of all files in the directory as identified by the "mount" Supported API: false |
Enumeration |
getLocalFolders(Site site,
Vault vault)
Returns all the FvFolders given a site and a vault. |
Vector |
getLocalVaults(Site site)
Gets all the FvVaults for the given site object Supported API: false |
private static Manager |
getManager()
|
FvPolicyItem |
getPolicyItem(Selector sel)
Supported API: false |
FvPolicyItem[] |
getPolicyItems()
Returns all of the policy items. |
FvPolicyRule |
getPolicyRule(Selector sel)
Returns a policy rule for a given selector. |
Vector |
getSiteMounts(Site site)
Gets all the FvMounts for a given site. |
FvMount |
mountFolder(FvHost host,
FileFolder folder,
String path,
boolean local)
Mounts a folder to a given host. |
FvFolder |
moveFolder(FvFolder folder,
FvVault newVault)
Moves a folder to another vault. |
void |
revault(FvVault vault)
This method synchronizes the given vault with the vaulting rules which are in place. |
void |
unmountFolder(FvHost host,
FileFolder folder)
Unmount the specified folder from a given host. |
void |
updateFolderSeqNumbers(Vault vault,
Vector folders)
This function is used to reorder the sequence numbers within a vault. |
int |
validateRelatedFvMounts(FileFolder folder,
boolean disabled,
boolean ronly)
Validate the mounts for the given folder. |
int |
validateRelatedFvMounts(FvHost host,
boolean disabled,
boolean ronly)
Validate the mounts for the given host. |
int |
validateRelatedFvMounts(FvMount mount,
boolean disabled,
boolean ronly)
Validate the given mount Supported API: false |
int |
validateRelatedFvMounts(Vault vault,
boolean disabled,
boolean ronly)
Validate the mounts for the given vault Supported API: false |
int |
validateRelMounts(Vector target,
boolean disabled,
boolean ronly)
Supported API: false |
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 FvServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public FvFolder addFolder(FvVault vault, FvFolder 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 FvService
vault
- folder
-
WTException
public FvMount mountFolder(FvHost host, FileFolder folder, String path, boolean local) throws WTPropertyVetoException, WTException
mountFolder
in interface FvService
host
- folder
- path
- local
-
WTPropertyVetoException
WTException
public void unmountFolder(FvHost host, FileFolder folder) throws WTException
unmountFolder
in interface FvService
host
- folder
-
WTException
public DeletedFilesStatistics cleanUpFolder(FvFolder folder) throws WTException
cleanUpFolder
in interface FvService
folder
-
WTException
public DeletedFilesStatistics cleanUpFolders(FvVault vault) throws WTException
cleanUpFolders
in interface FvService
vault
-
WTException
public FvPolicyRule addPolicyRule(FvPolicyRule rule) throws WTException
addPolicyRule
in interface FvService
rule
-
WTException
public FvPolicyRule getPolicyRule(Selector sel) throws WTException
getPolicyRule
in interface FvService
sel
-
WTException
public FvPolicyRule[] getAllPolicyRules(String domainName) throws WTException
getAllPolicyRules
in interface FvService
domainName
-
WTException
public FvPolicyItem getPolicyItem(Selector sel) throws WTException
getPolicyItem
in interface FvService
sel
-
WTException
public FvPolicyItem[] getPolicyItems() throws WTException
getPolicyItems
in interface FvService
WTException
public FvFolder moveFolder(FvFolder folder, FvVault newVault) throws WTException, WTPropertyVetoException
moveFolder
in interface FvService
folder
- the folder to be moved.newVault
- the vault that the folder is to be moved to.
WTException
WTPropertyVetoException
public void updateFolderSeqNumbers(Vault vault, Vector folders) throws WTException, WTPropertyVetoException
updateFolderSeqNumbers
in interface FvService
vault
- The vault whose folder sequence numbers are to be updated.folders
- the vector of FvFolders with the desired sequence number
attributes.
WTException
WTPropertyVetoException
public void dumpBackupInfo() throws WTException
dumpBackupInfo
in interface FvService
WTException
public void revault(FvVault vault) throws WTException
revault
in interface FvService
vault
-
WTException
public int validateRelatedFvMounts(Vault vault, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
vault
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FileFolder folder, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
folder
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FvHost host, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
host
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FvMount mount, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
mount
- disabled
- ronly
-
WTException
public int validateRelMounts(Vector target, boolean disabled, boolean ronly) throws WTException
validateRelMounts
in interface FvService
target
- disabled
- ronly
-
WTException
public Enumeration getAllHosts(Site site) throws WTException
getAllHosts
in interface FvService
site
-
WTException
public Vector getLocalVaults(Site site) throws WTException
getLocalVaults
in interface FvService
site
- : Site the site object to find the FvVautls from
WTException
public Vector getAllFolders(Site site, Vault vault) throws WTException
getAllFolders
in interface FvService
site
- vault
-
WTException
public FvHost addHostToSite(Site site, FvHost host) throws WTException
addHostToSite
in interface FvService
site
- host
-
WTException
public Vault addVaultToSite(Site site, Vault vault) throws WTException
addVaultToSite
in interface FvService
site
- vault
-
WTException
public Enumeration getLocalFolders(Site site, Vault vault) throws WTException
getLocalFolders
in interface FvService
site
- vault
-
WTException
public Vector getSiteMounts(Site site) throws WTException
getSiteMounts
in interface FvService
WTException
public Vector getAllRevaultableItems(Vault vault, Vector queryInfo, int pageSize) throws WTException, WTPropertyVetoException
getAllRevaultableItems
in interface FvService
vault
- queryInfo
- The information about the query information passed and updated between client and server. The first entry is Long,
representing only the Streamed objects whose streamId is at least this number for the content holder class as in the last element of the Vector.pageSize
-
WTException
WTPropertyVetoException
public String[] getFileLists(FvMount mount) throws WTException
getFileLists
in interface FvService
mount
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |