public class ViewManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCESSIBLE |
static String |
ACTIVE |
static String |
ALL |
static String |
DEFAULT_LEVEL |
static boolean |
DEFAULT_MULTI |
static String |
DELETED |
static Hashtable |
FIELD_MAPS |
static Hashtable<String,ArrayList<String>> |
FIELD_NAMES |
static String |
LOCKED |
static String |
OBSOLETE |
static boolean |
PRE_LOAD_HISTORY |
static String |
QUARANTINE |
Constructor and Description |
---|
ViewManager() |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
GetActiveFields(GenericWrapperElement e,
String header,
boolean allowMultiples,
boolean isRoot) |
static String |
GetActiveView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static ArrayList |
GetAllFields(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static String |
GetAllView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static Hashtable |
GetFieldMap(GenericWrapperElement e,
boolean isRoot) |
static Hashtable |
GetFieldMap(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
String[] {0=field-sql-name,1=XML dot syntax
|
static ArrayList |
GetFieldNames(GenericWrapperElement e,
boolean isRoot)
Returns XMLPath names of all child fields
|
static ArrayList |
GetFieldNames(GenericWrapperElement e,
boolean isRoot,
boolean loadHistory)
Returns XMLPath names of all child fields
|
static ArrayList<String> |
GetFieldNames(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
Returns XMLPath names of all child fields
|
static ArrayList |
GetFields(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
Object [4] : 0-tableName,1-field_name,2-header,3-tableAlias
|
static ArrayList |
GetQuarantineFields(GenericWrapperElement e,
String header,
boolean allowMultiples,
boolean isRoot) |
static String |
GetQuarantineView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static String |
GetViewColumnName(GenericWrapperElement e,
String xmlPath) |
static String |
GetViewColumnName(GenericWrapperElement e,
String xmlPath,
boolean isRoot) |
static String |
GetViewColumnName(GenericWrapperElement e,
String xmlPath,
String level,
boolean allowMultiples,
boolean isRoot) |
static String |
GetViewName(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot) |
static String |
GetViewSQL(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot) |
static void |
OutputFieldNames() |
public static final Hashtable FIELD_MAPS
public static final String ACTIVE
public static final String ALL
public static final String LOCKED
public static final String OBSOLETE
public static final String QUARANTINE
public static final String DELETED
public static final String DEFAULT_LEVEL
public static final String ACCESSIBLE
public static final boolean DEFAULT_MULTI
public static boolean PRE_LOAD_HISTORY
public static ArrayList GetFields(GenericWrapperElement e, String level, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
e
- level
- allowMultiples
- XFTInitException
ElementNotFoundException
public static String GetViewSQL(GenericWrapperElement e, String level, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static String GetViewName(GenericWrapperElement e, String level, boolean allowMultiples, boolean isRoot)
public static ArrayList GetAllFields(GenericWrapperElement e, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static ArrayList GetQuarantineFields(GenericWrapperElement e, String header, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static ArrayList GetActiveFields(GenericWrapperElement e, String header, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static String GetAllView(GenericWrapperElement e, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static String GetQuarantineView(GenericWrapperElement e, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static String GetActiveView(GenericWrapperElement e, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static Hashtable GetFieldMap(GenericWrapperElement e, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static Hashtable GetFieldMap(GenericWrapperElement e, String level, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
e
- isRoot
- XFTInitException
ElementNotFoundException
public static ArrayList GetFieldNames(GenericWrapperElement e, boolean isRoot) throws XFTInitException, ElementNotFoundException
e
- isRoot
- XFTInitException
ElementNotFoundException
public static ArrayList GetFieldNames(GenericWrapperElement e, boolean isRoot, boolean loadHistory) throws XFTInitException, ElementNotFoundException
e
- isRoot
- loadHistory
- XFTInitException
ElementNotFoundException
public static ArrayList<String> GetFieldNames(GenericWrapperElement e, String level, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
e
- level
- allowMultiples
- isRoot
- XFTInitException
ElementNotFoundException
public static String GetViewColumnName(GenericWrapperElement e, String xmlPath, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static String GetViewColumnName(GenericWrapperElement e, String xmlPath) throws XFTInitException, ElementNotFoundException
public static String GetViewColumnName(GenericWrapperElement e, String xmlPath, String level, boolean allowMultiples, boolean isRoot) throws XFTInitException, ElementNotFoundException
public static void OutputFieldNames()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.