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
Exceptionpublic static Vector<FileFolder> getFoldersForVault(String vaultName)
throws Exception
Exceptionpublic static Vector<FileFolder> getFoldersForVault(Vault vault)
throws Exception
Exceptionpublic static Object getObjectForID(String streamid)
throws Exception
Exceptionpublic static HashMap<String,Object> getObjectsForID(List streamidList,
boolean getObject)
throws Exception
Exceptionpublic static String getUNCPathForContent(ApplicationData data)
throws WTRuntimeException,
WTException
data - ApplicationData objectWTRuntimeExceptionWTExceptionpublic static void main(String[] args)
throws Exception
Exceptionpublic static void doReportUnreferenced(HashMap<String,String> params)
throws Exception
Exceptionpublic static void doReportFiles(HashMap<String,String> params)
throws Exception
Exceptionpublic static void doReportDiskUsage(HashMap<String,String> params)
throws Exception
Exceptionpublic static void printUsage()
public static boolean askUserYesNo(String questionTxt)