wt.clients.filevault
Class FvList

java.lang.Object
  extended bywt.clients.filevault.FvList

public class FvList
extends Object


Field Summary
private static Vector localRuleList
           
static int NOT_FOUND
           
(package private) static ResourceBundle RB
           
private static Vector remoteRuleList
           
private static String RESOURCE
           
 
Constructor Summary
FvList()
           
 
Method Summary
static String[] formatMultiList(Vector source)
          Format a vector of FvListEntry(s) into the semicolon delimited array of strings required by the Symantec multilist control
static FvPolicyRule getRule(int index, int ruleCode)
          Return a policy rule
static Vector populate(String domainName, FvMountInfoMaster master, int ruleCode)
          Return a readable form of the file vault control rules for the specified domain
static Vector refreshList(Vector list, FvListEntry fle, int ruleCode)
          Find the index of the object in the list.
static Vector refreshList(Vector list, FvListEntry fle, int selectedIndex, int ruleCode)
          Find the index of the object in the list.
private static int whereIs(Vector v, FvListEntry fle)
          Return the index of an item in the vector with the same unique name as the IndexListEntry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_FOUND

public static final int NOT_FOUND
See Also:
Constant Field Values

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

RB

static ResourceBundle RB

localRuleList

private static Vector localRuleList

remoteRuleList

private static Vector remoteRuleList
Constructor Detail

FvList

public FvList()
Method Detail

getRule

public static FvPolicyRule getRule(int index,
                                   int ruleCode)
Return a policy rule


formatMultiList

public static String[] formatMultiList(Vector source)
Format a vector of FvListEntry(s) into the semicolon delimited array of strings required by the Symantec multilist control

Parameters:
source - Vector of IndexListEntries

populate

public static Vector populate(String domainName,
                              FvMountInfoMaster master,
                              int ruleCode)
                       throws Exception
Return a readable form of the file vault control rules for the specified domain

Parameters:
domainName -
Returns:
vector of FvListEntry objects. Each object holds a rule with the classname, state and file vault.
Throws:
Exception

whereIs

private static int whereIs(Vector v,
                           FvListEntry fle)
Return the index of an item in the vector with the same unique name as the IndexListEntry.

Parameters:
v - Vector of IndexListEntries

refreshList

public static Vector refreshList(Vector list,
                                 FvListEntry fle,
                                 int ruleCode)
Find the index of the object in the list. If Deleting, remove the item, if Creating add the item, if Modifing update the item with the new copy.

Parameters:
list - Vector of IndexListEntries

refreshList

public static Vector refreshList(Vector list,
                                 FvListEntry fle,
                                 int selectedIndex,
                                 int ruleCode)
Find the index of the object in the list. If Deleting, remove the item, if Creating add the item, if Modifing update the item with the new copy.

Parameters:
list - Vector of IndexListEntries