wt.dataops.objectcol
Class LoadBaseCriterionDef

java.lang.Object
  extended bywt.dataops.objectcol.LoadBaseCriterionDef

public class LoadBaseCriterionDef
extends Object


Field Summary
private static String CACHED_CRITERION_DEFS_KEY
          Flag to control vervbose debugging output during document loading.
private static String DEFAULT_XML_DIRECTORY
           
private static String DELIMITER
           
private static String LOAD_FILE_DIR
           
private static String MAP_DEFINITION_ID
           
private static String PRIMARY_DEF
           
private static WTProperties properties
           
private static String RECURSE_BUILD_HISTORY
           
private static String RECURSE_CONTAINS
           
private static String RECURSE_EPM_DESCRIBE
           
private static String RECURSE_EPM_MEMBER
           
private static String RECURSE_EPM_REFERENCE
           
private static String RECURSE_PART_DESCRIBE
           
private static String RECURSE_PART_REFERENCE
           
private static String RECURSE_RETRIEVER
           
private static String RECURSE_USAGE
           
private static String RECURSE_VARIANT
           
private static String SOURCE_NODE
           
private static String TARGET_NODES
           
private static String UNIQUE_ID
           
static boolean VERBOSE
           
private static String WT_HOME
           
 
Constructor Summary
LoadBaseCriterionDef()
           
 
Method Summary
protected static void createAllValidLinks(BaseCriterionDef def, WTSet all)
           
static boolean createBaseCriterionDef(Hashtable nv, Hashtable cmd_line, Vector return_objects)
           
static boolean createCriterionDefValidWith(Hashtable nv, Hashtable cmd_line, Vector return_objects)
           
static InputValue createInputForAll()
           
static InputValue createInputForAssocSeed()
           
static InputValue createInputForLatestOfAll()
           
static InputValue createInputForLatestOfLatest()
           
static InputValue createInputForReqd()
           
static InputValue[] createLatestOfAllNAll()
           
static InputValue[] createLatestOfAllNReqd()
           
static InputValue[] createLatestOfLatestNAll()
           
static InputValue[] createLatestOfLatestNReqd()
           
static InputValue createRecurseInput(String name, boolean value)
           
static boolean createRelationshipMapDef(Hashtable nv, Hashtable cmd_line, Vector return_objects)
           
static boolean createRelationshipMaps(Hashtable nv, Hashtable cmd_line, Vector return_objects)
           
private static boolean getBoolean(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, boolean defaultValue)
           
private static String getString(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
protected static WTSet getValidDefsForTarget(String targetNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHED_CRITERION_DEFS_KEY

private static final String CACHED_CRITERION_DEFS_KEY
Flag to control vervbose debugging output during document loading. This constant is controlled via wt.properties file entry
wt.doc.load.verbose

The default value is false.

See Also:
Constant Field Values

DELIMITER

private static final String DELIMITER
See Also:
Constant Field Values

SOURCE_NODE

private static final String SOURCE_NODE
See Also:
Constant Field Values

TARGET_NODES

private static final String TARGET_NODES
See Also:
Constant Field Values

UNIQUE_ID

private static final String UNIQUE_ID
See Also:
Constant Field Values

MAP_DEFINITION_ID

private static final String MAP_DEFINITION_ID
See Also:
Constant Field Values

PRIMARY_DEF

private static final String PRIMARY_DEF
See Also:
Constant Field Values

WT_HOME

private static final String WT_HOME

LOAD_FILE_DIR

private static final String LOAD_FILE_DIR

DEFAULT_XML_DIRECTORY

private static final String DEFAULT_XML_DIRECTORY

RECURSE_EPM_MEMBER

private static final String RECURSE_EPM_MEMBER
See Also:
Constant Field Values

RECURSE_RETRIEVER

private static final String RECURSE_RETRIEVER
See Also:
Constant Field Values

RECURSE_VARIANT

private static final String RECURSE_VARIANT
See Also:
Constant Field Values

RECURSE_EPM_REFERENCE

private static final String RECURSE_EPM_REFERENCE
See Also:
Constant Field Values

RECURSE_EPM_DESCRIBE

private static final String RECURSE_EPM_DESCRIBE
See Also:
Constant Field Values

RECURSE_BUILD_HISTORY

private static final String RECURSE_BUILD_HISTORY
See Also:
Constant Field Values

RECURSE_CONTAINS

private static final String RECURSE_CONTAINS
See Also:
Constant Field Values

RECURSE_USAGE

private static final String RECURSE_USAGE
See Also:
Constant Field Values

RECURSE_PART_REFERENCE

private static final String RECURSE_PART_REFERENCE
See Also:
Constant Field Values

RECURSE_PART_DESCRIBE

private static final String RECURSE_PART_DESCRIBE
See Also:
Constant Field Values

properties

private static WTProperties properties

VERBOSE

public static final boolean VERBOSE
Constructor Detail

LoadBaseCriterionDef

public LoadBaseCriterionDef()
Method Detail

createBaseCriterionDef

public static boolean createBaseCriterionDef(Hashtable nv,
                                             Hashtable cmd_line,
                                             Vector return_objects)

createCriterionDefValidWith

public static boolean createCriterionDefValidWith(Hashtable nv,
                                                  Hashtable cmd_line,
                                                  Vector return_objects)

createAllValidLinks

protected static void createAllValidLinks(BaseCriterionDef def,
                                          WTSet all)
                                   throws WTException
Throws:
WTException

getString

private static String getString(String name,
                                Hashtable attributes,
                                Hashtable cmdLineArgs,
                                int required)
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

getBoolean

private static boolean getBoolean(String name,
                                  Hashtable attributes,
                                  Hashtable cmdLineArgs,
                                  int required,
                                  boolean defaultValue)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException

getValidDefsForTarget

protected static WTSet getValidDefsForTarget(String targetNode)
                                      throws WTException
Throws:
WTException

createRelationshipMapDef

public static boolean createRelationshipMapDef(Hashtable nv,
                                               Hashtable cmd_line,
                                               Vector return_objects)

createRelationshipMaps

public static boolean createRelationshipMaps(Hashtable nv,
                                             Hashtable cmd_line,
                                             Vector return_objects)

createLatestOfLatestNReqd

public static InputValue[] createLatestOfLatestNReqd()
                                              throws WTException
Throws:
WTException

createLatestOfLatestNAll

public static InputValue[] createLatestOfLatestNAll()
                                             throws WTException
Throws:
WTException

createLatestOfAllNReqd

public static InputValue[] createLatestOfAllNReqd()
                                           throws WTException
Throws:
WTException

createLatestOfAllNAll

public static InputValue[] createLatestOfAllNAll()
                                          throws WTException
Throws:
WTException

createRecurseInput

public static InputValue createRecurseInput(String name,
                                            boolean value)
                                     throws WTException
Throws:
WTException

createInputForLatestOfLatest

public static InputValue createInputForLatestOfLatest()
                                               throws WTException
Throws:
WTException

createInputForLatestOfAll

public static InputValue createInputForLatestOfAll()
                                            throws WTException
Throws:
WTException

createInputForReqd

public static InputValue createInputForReqd()
                                     throws WTException
Throws:
WTException

createInputForAssocSeed

public static InputValue createInputForAssocSeed()
                                          throws WTException
Throws:
WTException

createInputForAll

public static InputValue createInputForAll()
                                    throws WTException
Throws:
WTException