public class VaultHelper
extends Object
implements RemoteAccess
Modifier and Type | Field and Description |
---|---|
static String |
HTTPGWHOSTNAME |
static int |
MAJOR |
static int |
MINOR |
static String |
RMIHOSTNAME |
static boolean |
SERVER |
static String |
WEBAPPNAME |
static String |
WTHOME |
Constructor and Description |
---|
VaultHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
askUserYesNo(String questionTxt) |
static void |
doReportDiskUsage(HashMap<String,String> params) |
static void |
doReportFiles(HashMap<String,String> params) |
static void |
doReportUnreferenced(HashMap<String,String> params) |
static Vector<FileFolder> |
getFoldersForVault(String vaultName) |
static Vector<FileFolder> |
getFoldersForVault(Vault vault) |
static Object |
getObjectForID(String streamid) |
static HashMap<String,Object> |
getObjectsForID(List streamidList,
boolean getObject) |
static String |
getUNCPathForContent(ApplicationData data)
calculate unc path for application data item.
|
static FvVault |
getVaultByName(String vaultName) |
static void |
main(String[] args) |
static void |
printUsage() |
public static final int MAJOR
public static final int MINOR
public static final String RMIHOSTNAME
public static final String HTTPGWHOSTNAME
public static final String WEBAPPNAME
public static final String WTHOME
public static final boolean SERVER
public static FvVault getVaultByName(String vaultName) throws Exception
Exception
public static Vector<FileFolder> getFoldersForVault(String vaultName) throws Exception
Exception
public static Vector<FileFolder> getFoldersForVault(Vault vault) throws Exception
Exception
public static Object getObjectForID(String streamid) throws Exception
Exception
public static HashMap<String,Object> getObjectsForID(List streamidList, boolean getObject) throws Exception
Exception
public static String getUNCPathForContent(ApplicationData data) throws WTRuntimeException, WTException
data
- ApplicationData objectWTRuntimeException
WTException
public static void main(String[] args) throws Exception
Exception
public static void doReportUnreferenced(HashMap<String,String> params) throws Exception
Exception
public static void doReportFiles(HashMap<String,String> params) throws Exception
Exception
public static void doReportDiskUsage(HashMap<String,String> params) throws Exception
Exception
public static void printUsage()
public static boolean askUserYesNo(String questionTxt)