wt.index
Class BulkIndexTool

java.lang.Object
  extended bywt.index.BulkIndexTool

public class BulkIndexTool
extends Object


Field Summary
private static int BUILD_ENTIRE_LIST
           
private static int BUILD_NON_INDEX_LIST
           
private static int BUILD_NON_INDEX_POLICY_LIST
           
private static int BUILD_POLICY_LIST
           
private static int CHECK_STATUS
           
private static int DELETE_BULK_LIST
           
private static int EXIT
           
private static String LINE_SEPARATOR
           
private  int numberToIndex
           
private static int RESET_FAILS
           
private static int SCHEDULE_INDEX
           
private static int START_INDEX
           
private static int STOP_INDEX
           
 
Constructor Summary
BulkIndexTool()
           
 
Method Summary
static void authenticateAsAdmin()
          Authenticate the current session by prompting for Web Server ID and password.
private static void displayMenu()
           
private  void executeBulkTableBuild(boolean filterPolicyList, boolean filterIndexedObjects)
           
private static int getChoice(int min, int max)
           
private static String getInput(String target)
           
private static Timestamp getScheduleTime()
           
static void main(String[] argv)
           
static void processStart()
           
static void processStop()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE_SEPARATOR

private static String LINE_SEPARATOR

BUILD_ENTIRE_LIST

private static final int BUILD_ENTIRE_LIST
See Also:
Constant Field Values

BUILD_POLICY_LIST

private static final int BUILD_POLICY_LIST
See Also:
Constant Field Values

BUILD_NON_INDEX_LIST

private static final int BUILD_NON_INDEX_LIST
See Also:
Constant Field Values

BUILD_NON_INDEX_POLICY_LIST

private static final int BUILD_NON_INDEX_POLICY_LIST
See Also:
Constant Field Values

START_INDEX

private static final int START_INDEX
See Also:
Constant Field Values

STOP_INDEX

private static final int STOP_INDEX
See Also:
Constant Field Values

SCHEDULE_INDEX

private static final int SCHEDULE_INDEX
See Also:
Constant Field Values

RESET_FAILS

private static final int RESET_FAILS
See Also:
Constant Field Values

CHECK_STATUS

private static final int CHECK_STATUS
See Also:
Constant Field Values

DELETE_BULK_LIST

private static final int DELETE_BULK_LIST
See Also:
Constant Field Values

EXIT

private static final int EXIT
See Also:
Constant Field Values

numberToIndex

private int numberToIndex
Constructor Detail

BulkIndexTool

public BulkIndexTool()
Method Detail

main

public static void main(String[] argv)
                 throws WTException
Throws:
WTException

run

public void run()
         throws WTException
Throws:
WTException

authenticateAsAdmin

public static void authenticateAsAdmin()
                                throws WTException
Authenticate the current session by prompting for Web Server ID and password. The user must be a member of the Administrator group.

Throws:
WTException

displayMenu

private static void displayMenu()

getChoice

private static int getChoice(int min,
                             int max)

processStart

public static void processStart()
                         throws WTException
Throws:
WTException

processStop

public static void processStop()
                        throws WTException
Throws:
WTException

getScheduleTime

private static Timestamp getScheduleTime()

getInput

private static String getInput(String target)

executeBulkTableBuild

private void executeBulkTableBuild(boolean filterPolicyList,
                                   boolean filterIndexedObjects)
                            throws WTException
Throws:
WTException