wt.index
Class IndexConstants

java.lang.Object
  extended bywt.index.IndexConstants

public class IndexConstants
extends Object

This class is a helper class that contains a number of contants used by indexing to produce outputs, take action and contains most of the static information for a windchill server

Supported API: false

Extendable: false


Field Summary
static boolean APPEND_LOG
          Flag indicating if the log should be appended to or overwritten
static int BULK_INDEX_SIZE
          Static variable that determines the size of the bulk indexing chunks
static boolean CHECK_DOC_TYPES
          Name of the queue for the indexing requests.
static int DATABASE_CHUNK_SIZE
          Static variable that checks DBProperties.LOB_CHUNK_SIZE to determine how big the indexing streams should be
static String DELETE_ENTRY
          Static variable for defining a delete indexing request
static String FAILURE_STATUS
          Static variable for defining a falied index request
static boolean FILE_SYSTEM_MAPPED
          Flag indicating that although Rware is installed remotely, treat it as if local
static String GET_DOCUMENT_TYPES
          Static variable for defining a get supported Rware document type request
static String GET_RWARE_LIBRARIES
          Static variable for defining a get supported Rware document type request
static boolean INDEX_ENABLED
          Static variable that determines if indexing is enabled or not
static ArrayList INDEX_FIELDS
          Static variable that determines what attributes should be indexed as fields
static boolean INDEX_IBAS
          Static variable that determines what attributes should be indexed as fields
static boolean INDEX_META_DATA
          Static variable that determines what attributes should be indexed as fields
static boolean LOG_ENABLED
          Flag indicating if logging should be enabled
static String LOG_FILE
          Name of the log file being used to write indexing output to
private static String RESOURCE
           
static String RWARE_ADDRESS
          URL for the indexing servlet
static String RWARE_HELPER_ADDRESS
          Static variable that determines the size of the bulk indexing chunks
static String SUCCESS_STATUS
          Static variable for defining a successful index request
static String TEMP_DIR
          If FILE_SYSTEM_MAPPED is true, then this is used to write the content items out for Rware
static String UPDATE_ENTRY
          Static variable for defining an update indexing request
static String VALIDATE_COLLECTION
          Name of the queue for the indexing requests.
static boolean VERBOSE_EXECUTION
          Flag indicating that verbose debug should be written in the indexing stack
static boolean VERBOSE_PERFORMANCE
          Flag indicating that performance related debug should be written in the indexing stack
 
Constructor Summary
IndexConstants()
           
 
Method Summary
static String getLibrariesFromRware()
           
private static String getResultsFromRemoteServer(String action)
           
static Vector getSupportedRwareDocs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE_EXECUTION

public static boolean VERBOSE_EXECUTION
Flag indicating that verbose debug should be written in the indexing stack


VERBOSE_PERFORMANCE

public static boolean VERBOSE_PERFORMANCE
Flag indicating that performance related debug should be written in the indexing stack


TEMP_DIR

public static String TEMP_DIR
If FILE_SYSTEM_MAPPED is true, then this is used to write the content items out for Rware


LOG_FILE

public static String LOG_FILE
Name of the log file being used to write indexing output to


APPEND_LOG

public static boolean APPEND_LOG
Flag indicating if the log should be appended to or overwritten


LOG_ENABLED

public static boolean LOG_ENABLED
Flag indicating if logging should be enabled


SUCCESS_STATUS

public static final String SUCCESS_STATUS
Static variable for defining a successful index request

See Also:
Constant Field Values

FAILURE_STATUS

public static final String FAILURE_STATUS
Static variable for defining a falied index request

See Also:
Constant Field Values

DELETE_ENTRY

public static final String DELETE_ENTRY
Static variable for defining a delete indexing request

See Also:
Constant Field Values

UPDATE_ENTRY

public static final String UPDATE_ENTRY
Static variable for defining an update indexing request

See Also:
Constant Field Values

VALIDATE_COLLECTION

public static final String VALIDATE_COLLECTION
Name of the queue for the indexing requests.

See Also:
Constant Field Values

GET_DOCUMENT_TYPES

public static final String GET_DOCUMENT_TYPES
Static variable for defining a get supported Rware document type request

See Also:
Constant Field Values

GET_RWARE_LIBRARIES

public static final String GET_RWARE_LIBRARIES
Static variable for defining a get supported Rware document type request

See Also:
Constant Field Values

CHECK_DOC_TYPES

public static boolean CHECK_DOC_TYPES
Name of the queue for the indexing requests.


FILE_SYSTEM_MAPPED

public static boolean FILE_SYSTEM_MAPPED
Flag indicating that although Rware is installed remotely, treat it as if local


DATABASE_CHUNK_SIZE

public static int DATABASE_CHUNK_SIZE
Static variable that checks DBProperties.LOB_CHUNK_SIZE to determine how big the indexing streams should be


RWARE_ADDRESS

public static String RWARE_ADDRESS
URL for the indexing servlet


BULK_INDEX_SIZE

public static int BULK_INDEX_SIZE
Static variable that determines the size of the bulk indexing chunks


RWARE_HELPER_ADDRESS

public static String RWARE_HELPER_ADDRESS
Static variable that determines the size of the bulk indexing chunks


INDEX_ENABLED

public static boolean INDEX_ENABLED
Static variable that determines if indexing is enabled or not


INDEX_FIELDS

public static ArrayList INDEX_FIELDS
Static variable that determines what attributes should be indexed as fields


INDEX_META_DATA

public static boolean INDEX_META_DATA
Static variable that determines what attributes should be indexed as fields


INDEX_IBAS

public static boolean INDEX_IBAS
Static variable that determines what attributes should be indexed as fields


RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

IndexConstants

public IndexConstants()
Method Detail

getLibrariesFromRware

public static String getLibrariesFromRware()
                                    throws IOException
Throws:
IOException

getSupportedRwareDocs

public static Vector getSupportedRwareDocs()
                                    throws IOException
Throws:
IOException

getResultsFromRemoteServer

private static String getResultsFromRemoteServer(String action)
                                          throws IOException
Throws:
IOException