Modifier and Type | Method and Description |
---|---|
void |
BaseElement.setProperty(String xmlPath,
Object value) |
Modifier and Type | Method and Description |
---|---|
static DisplayField |
DisplayField.getDisplayFieldForDFIdOrXPath(String s) |
static DisplayField |
DisplayField.getDisplayFieldForUnknownPath(String s) |
String |
DisplayFieldReferenceI.getElementSQLName() |
String |
DisplayFieldRef.getElementSQLName() |
String |
MappingColumn.getFieldElementFullSQL() |
SchemaElement |
ElementDisplay.getSchemaElement() |
SchemaField |
DisplayFieldElement.getSchemaField() |
Modifier and Type | Method and Description |
---|---|
DisplaySearch |
XdatStoredSearch.getCSVDisplaySearch(UserI user) |
DisplaySearch |
XdatStoredSearch.getDisplaySearch(UserI user) |
ItemSearch |
XdatStoredSearch.getItemSearch(UserI user) |
ArrayList |
XdatStoredSearch.getSearchFields() |
boolean |
XdatElementSecurityListingAction.hasImage() |
Modifier and Type | Method and Description |
---|---|
XFTTableI |
CSVPresenter.formatTable(XFTTableI table,
DisplaySearch search) |
XFTTableI |
HTMLNoTagsAllFieldsPresenter.formatTable(XFTTableI table,
DisplaySearch search,
boolean allowDiffs) |
XFTTableI |
CSVPresenter.formatTable(XFTTableI table,
DisplaySearch search,
boolean allowDiffs) |
ArrayList |
PresentationA.getAllFields(ElementDisplay ed,
DisplaySearch search) |
ArrayList<DisplayFieldReferenceI> |
PresentationA.getVisibleFields(ElementDisplay ed,
DisplaySearch search) |
Modifier and Type | Method and Description |
---|---|
DisplayField |
SchemaElement.createDisplayFieldForXMLPath(String s) |
DisplayField |
SchemaElement.getDisplayFieldForXMLPath(String s) |
static SchemaElement |
SchemaElement.GetElement(String n) |
static SchemaElementI |
SchemaElement.GetElement(String n,
String uri) |
static SchemaElementI |
SchemaElement.GetElement(XMLType n) |
SchemaElementI |
SchemaField.getReferenceElement() |
Constructor and Description |
---|
SchemaField(String xmlPath) |
Modifier and Type | Method and Description |
---|---|
void |
QueryOrganizer.addField(String xmlPath) |
void |
QueryOrganizer.addSubquery(String xmlPath) |
void |
QueryOrganizer.addView(String xmlPath) |
List<DisplayFieldReferenceI> |
DisplaySearch.getAllFields(String versionExtension) |
String |
DisplayFieldWrapper.getElementSQLName() |
XFTTableI |
DisplaySearch.getPage(int pageNumber,
PresentationA p,
String login) |
ArrayList<DisplayFieldReferenceI> |
DisplaySearch.getVisibleFields(String versionExtension) |
static ArrayList |
DisplaySearch.SearchForItems(SchemaElementI e,
CriteriaCollection criteria) |
void |
DisplaySearch.setRootElement(String elementName) |
Constructor and Description |
---|
QueryOrganizer(String elementName,
UserI u,
String level) |
Modifier and Type | Method and Description |
---|---|
ArrayList<ElementDisplay> |
XDATUser.getCreateableElementDisplays()
ArrayList of ElementDisplays which this user could edit
|
String |
ElementAction.getDisplayName() |
List<ElementDisplay> |
XDATUser.getEditableElementDisplays()
ArrayList of ElementDisplays which this user could edit
|
ElementDisplay |
ElementAccessManager.getElementDisplay() |
String |
ElementSecurity.getElementName() |
ElementSecurity |
ElementAccessManager.getElementSecurity() |
String |
ElementAction.getImage() |
String |
ElementAction.getParameterString() |
List<PermissionItem> |
ElementSecurity.getPermissionItemsForTag(String tag) |
String |
ElementAction.getPopup() |
String |
ElementAction.getPopupHeight() |
String |
ElementAction.getPopupWidth() |
List<ElementDisplay> |
XDATUser.getReadableElementDisplays()
ArrayList of ElementDisplays Which this user can read
|
SchemaElement |
ElementAccessManager.getSchemaElement() |
String |
ElementAction.getSecureAccess() |
String |
ElementAction.getSecureFeature() |
Integer |
ElementSecurity.getSequence() |
List<ElementDisplay> |
XDATUser.getUnSecuredElements()
ArrayList of ElementDisplays
|
boolean |
ElementAction.hasImage() |
Constructor and Description |
---|
PermissionSet(ItemI i) |
XDATUser(String login,
String password) |
Modifier and Type | Method and Description |
---|---|
ItemCollection |
SearchService.execute() |
Modifier and Type | Method and Description |
---|---|
static PopulateItem |
PopulateItem.Populate(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
PopulateItem.Populate(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
PopulateItem.Populate(org.apache.turbine.util.RunData data,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
static PopulateItem |
PopulateItem.Populate(org.apache.turbine.util.RunData data,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
Constructor and Description |
---|
PopulateItem(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
PopulateItem(Map<String,? extends Object> hash,
XDATUser user,
String element,
boolean throwException,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
Modifier and Type | Method and Description |
---|---|
void |
XFTItem.assignDefaultValues() |
static XFTTable |
XFTTool.BrowseAllGrand(String elementName)
Performs a select on the database for all rows in the given element's table.
|
static XFTTable |
XFTTool.BrowseAllSimple(String elementName)
Performs a select on the database for all rows in the given element's table.
|
static String |
XFT.buildLogFileName(ItemI item) |
void |
XFTItem.extend(boolean allowMultiples) |
void |
ItemWrapper.extend(boolean allowMultiples) |
void |
ItemI.extend(boolean allowMultiples)
extends the item (loads any additional children).
|
Object |
XFTItem.findValue(String key)
Searches for a field in this item and its extensions.
|
Boolean |
ItemI.getBooleanProperty(String name)
Can take the sql name of a local field, or the XML dot syntax name for child fields.
|
Boolean |
GenericItemObject.getBooleanProperty(String name) |
boolean |
ItemWrapper.getBooleanProperty(String sql_name,
boolean defaultValue) |
boolean |
ItemI.getBooleanProperty(String name,
boolean default_value)
Can take the sql name of a local field, or the XML dot syntax name for child fields.
|
boolean |
GenericItemObject.getBooleanProperty(String name,
boolean default_value) |
boolean |
ItemWrapper.getBooleanProperty(String name,
String default_value) |
boolean |
ItemI.getBooleanProperty(String name,
String default_value)
Can take the sql name of a local field, or the XML dot syntax name for child fields.
|
boolean |
GenericItemObject.getBooleanProperty(String name,
String default_value) |
ItemCollection |
XFTItem.getChildItemCollection(String field) |
ItemCollection |
ItemWrapper.getChildItemCollection(String xmlPath)
Use the field's xmlPath name
|
ItemCollection |
XFTItem.getChildItemCollection(XFTFieldWrapper field) |
ItemCollection |
ItemWrapper.getChildItemCollection(XFTFieldWrapper field) |
ItemCollection |
ItemI.getChildItemCollection(XFTFieldWrapper field)
Gets an ItemCollection of the XFTItems which are specified by the supplied field reference.
|
ArrayList |
ItemWrapper.getChildItems() |
ArrayList |
ItemI.getChildItems()
Gets all XFTItem child items.
|
ArrayList<XFTItem> |
GenericItemObject.getChildItems() |
ArrayList<XFTItem> |
XFTItem.getChildItems(String id) |
ArrayList |
ItemWrapper.getChildItems(String xmlPath)
Use the field's xmlName,sq
|
ArrayList<XFTItem> |
ItemI.getChildItems(String xmlPath)
Returns a collection of this XFTItems which are identified by the XML reference field (dot-syntax).
|
ArrayList<XFTItem> |
XFTItem.getChildItems(String id,
boolean allowDBAccess) |
ArrayList<XFTItem> |
XFTItem.getChildItems(String id,
String xsiType,
boolean allowMultiples,
boolean allowDBAccess) |
ArrayList<XFTItem> |
XFTItem.getChildItems(String id,
String xsiType,
boolean allowMultiples,
boolean allowDBAccess,
UserI user) |
ArrayList<XFTItem> |
XFTItem.getChildItems(String id,
UserI user) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field) |
ArrayList |
ItemWrapper.getChildItems(XFTFieldWrapper field) |
ArrayList |
ItemI.getChildItems(XFTFieldWrapper field)
Gets an ArrayList of the XFTItems which are specified by the supplied field reference.
|
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
boolean loadHistory) |
ArrayList |
ItemWrapper.getChildItems(XFTFieldWrapper field,
boolean includeHistory) |
ArrayList |
ItemI.getChildItems(XFTFieldWrapper field,
boolean includeHistory) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
boolean allowChildMultiples,
String xsiType,
UserI user,
boolean loadHistory) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
boolean allowChildMultiples,
UserI user,
boolean loadHistory) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
boolean loadHistory,
XFTItemDBLoader.ItemCache cache) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
String xsiType,
boolean loadHistory) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
String xsiType,
UserI user,
boolean loadHistory) |
ArrayList |
XFTItem.getChildItems(XFTFieldWrapper field,
UserI user,
boolean loadHistory) |
ArrayList |
XFTItem.getCurrentChildItems(XFTFieldWrapper field,
UserI user,
boolean loadHistory) |
Date |
ItemWrapper.getDateProperty(String name) |
Date |
ItemI.getDateProperty(String name) |
Date |
GenericItemObject.getDateProperty(String name) |
Double |
ItemWrapper.getDoubleProperty(String xmlPath) |
String |
XFTItem.getExtensionElement() |
XFTItem |
XFTItem.getExtensionItem() |
XFTItem |
XFTItem.getExtensionItem(String extensionName) |
ItemCollection |
XFTItem.getExtFieldsMatches(boolean includeParent) |
Hashtable |
XFTItem.getFieldIds()
Returns all possible field ids for this element and its extensions (with DATA,SINGLE,MULTI as values).
|
ItemCollection |
XFTItem.getFieldMatches(boolean extend)
Returns ArrayList of XFTItems where all fields match.
|
ItemSearch |
XFTItem.getFieldsMatchSearch(boolean includeParent)
ArrayList of SearchCriteria of primaryKeyName/value pairs
|
String |
XFTItem.getFileName() |
XFTItem |
XFTItem.getFirstHistory() |
Float |
ItemWrapper.getFloatProperty(String xmlPath) |
GenericWrapperElement |
XFTItem.getGenericSchemaElement()
Returns the GenericWrapperElement for this item from the schema
|
Hashtable |
XFTItem.getIDREFs()
IF the coresponding element has any ':IDREF' fields, then those field's values are returned.
|
String |
XFTItem.getIDValue()
IF the coresponding element has an ':ID' field, then that field's value is returned.
|
Integer |
ItemWrapper.getIntegerProperty(String xmlPath) |
ArrayList<XFTItem> |
XFTItem.getParents(String xsiType) |
ItemCollection |
XFTItem.getPkMatches(boolean extend)
Returns ArrayList of XFTItems with matching pks.
|
CriteriaCollection |
XFTItem.getPkSearch(boolean withChildren)
ArrayList of SearchCriteria of primaryKeyName/value pairs
|
Map<String,Object> |
XFTItem.getPkValues()
Hashtable of primaryKeyName/value pairs
|
ArrayList<Object[]> |
XFTItem.getPossibleFieldNames()
returns the names of the possible fields for this item.
|
String |
XFTItem.getProperName()
If this element has a stored ProperName in the XFTReferenceManager's
proper names hashtable.
|
Object |
XFTItem.getProperty(String id) |
Object |
ItemWrapper.getProperty(String sql_name) |
Object |
ItemI.getProperty(String name)
Can take the sql name of a local field, or the XML dot syntax name for child fields.
|
abstract Object |
GenericItemObject.getProperty(String id) |
Object |
XFTItem.getProperty(String id,
boolean allowMultipleValues) |
Object |
XFTItem.getProperty(String id,
boolean allowMultipleValues,
UserI user) |
ArrayList |
XFTItem.getRefNames()
returns the names of references elements
|
String |
ItemWrapper.getStringProperty(String sql_name) |
String |
ItemI.getStringProperty(String name)
Can take the sql name of a local field, or the XML dot syntax name for child fields.
|
String |
GenericItemObject.getStringProperty(String name) |
String |
XFTItem.getUniqueFileName() |
ItemCollection |
XFTItem.getUniqueMatches(boolean extend)
Returns ArrayList of XFTItems with matching unique fields.
|
CriteriaCollection |
XFTItem.getUniqueSearch()
ArrayList of SearchCriteria of uniqueField/value pairs
|
Hashtable |
XFTItem.getXmlFieldNames() |
boolean |
XFTItem.hasExtendedField()
If the corresponding element is extended by another element and has an Extension Element.
|
boolean |
XFTItem.hasHistory() |
boolean |
XFTItem.hasIDField()
If the corresponding element has a field of type ':ID'
|
boolean |
XFTItem.hasLocalField(String f) |
boolean |
XFTItem.hasPK() |
boolean |
XFTItem.hasProperty(String id,
Object find) |
boolean |
ItemWrapper.hasProperty(String id,
Object find) |
boolean |
ItemI.hasProperty(String id,
Object find) |
boolean |
XFTItem.hasUniques() |
boolean |
XFTItem.hasUniques(boolean checkExtensions) |
static void |
XFT.init(String location,
boolean allowDBAccess) |
static void |
XFT.init(String location,
boolean allowDBAccess,
boolean initLog4j)
This method must be run before any XFT task is performed.
|
boolean |
XFTItem.instanceOf(String xsiType) |
static XFTItem |
XFTItem.NewItem(GenericWrapperElement e,
Map hash,
boolean throwException,
UserI user) |
static XFTItem |
XFTItem.NewItem(String n,
Map hash,
boolean throwException,
UserI user) |
static XFTItem |
XFTItem.NewItem(String n,
UserI user) |
static XFTItem |
XFTItem.NewPrePopulatedItem(String name,
UserI user) |
void |
XFTItem.populateHistories() |
static XFTItem |
XFTItem.PopulateItemFromFlatString(String s,
UserI user,
boolean allowMultiples) |
static XFTItem |
XFTItem.PopulateItemsFromQueryOrganizer(QueryOrganizer qo,
GenericWrapperElement e,
ArrayList parents,
Hashtable row)
If any fields in this Object array have matching header values, then those fields are put into
the XFTItem.
|
static XFTItem |
XFTItem.ReconcileItems(XFTItem primary,
XFTItem secondary,
boolean allowMultiples)
This item compares the reference items of each item.
|
void |
XFTItem.removeEmptyItems()
Removes child items which have no properties set.
|
static XFTTable |
XFTTool.Search(String elementName,
CriteriaCollection values)
Returns a table with the results of an SQL select based on the elements which
match the SearchCriteria in the supplied ArrayList.
|
void |
XFTItem.setChild(String xmlPath,
ItemI value,
boolean replace) |
void |
XFTItem.setChild(XFTFieldWrapper field,
ItemI value,
boolean replace)
Adds the provided item (value) as a child of this item.
|
void |
XFTItem.setChild(XFTFieldWrapper field,
ItemI value,
int index) |
void |
XFTItem.setChild(XFTFieldWrapper field,
ItemI value,
int index,
String xsiType) |
void |
XFTItem.setDirectProperty(GenericWrapperField f,
Object value) |
void |
XFTItem.setDirectProperty(String sql_name,
Object value) |
void |
XFTItem.setExtenderName()
If the corresponding element is extended and has an Extended field, then
the name of this item's extending item is put into the property of this item
using the EXTENDED_FIELD_NAME specified in this class.
|
boolean |
XFTItem.setFieldValue(String fieldName,
Object value)
If the corresponding element for this item stipulates that this item (or any of its extensions)
can have a field of this fieldName, then it is added to the properties.
|
ArrayList<Throwable> |
GenericItemObject.setProperties(Map<String,? extends Object> hash,
boolean throwException)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
void |
XFTItem.setProperty(String xmlPath,
Object value) |
abstract void |
GenericItemObject.setProperty(String xmlPath,
Object value) |
void |
XFTItem.setProperty(String xmlPath,
Object value,
boolean parseValue) |
static void |
XFTTool.StoreXMLFileToDB(File location,
UserI user,
Boolean quarantine,
boolean allowItemRemoval) |
static void |
XFTTool.StoreXMLFileToDB(String location,
UserI user,
Boolean quarantine,
boolean allowItemRemoval)
Accesses the supplied XML File, and saves the included item and all of its children (refs)
to the database, and returns the updated xml.
|
static Document |
XFTTool.StoreXMLToDB(File f,
UserI user,
Boolean quarantine,
boolean allowItemRemoval)
Saves this item and all of its children (refs) to the database, and returns the updated xml.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XFTElementSorter.addElement(GenericWrapperElement gwe) |
void |
ItemTrackingCollection.AddItem(XFTItem x) |
boolean |
ItemTrackingCollection.contains(XFTItem x) |
void |
ItemCollection.extendAll(boolean allowMultiples) |
Vector |
XFTElementSorter.getElements() |
void |
ItemCollection.secureAllForRead(UserI user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ItemUniqueEquality.doCheck(XFTItem newI,
XFTItem oldI) |
boolean |
ItemPKEquality.doCheck(XFTItem newI,
XFTItem oldI) |
abstract boolean |
ItemEqualityA.doCheck(XFTItem newI,
XFTItem oldI) |
boolean |
ItemEqualityI.isEqualTo(XFTItem newI,
XFTItem oldI) |
boolean |
ItemEqualityA.isEqualTo(XFTItem newI,
XFTItem oldI) |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
ViewManager.GetActiveFields(GenericWrapperElement e,
String header,
boolean allowMultiples,
boolean isRoot) |
static String |
ViewManager.GetActiveView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static ArrayList |
ViewManager.GetAllFields(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static String |
ViewManager.GetAllView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static Hashtable |
ViewManager.GetFieldMap(GenericWrapperElement e,
boolean isRoot) |
static Hashtable |
ViewManager.GetFieldMap(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
String[] {0=field-sql-name,1=XML dot syntax
|
static ArrayList |
ViewManager.GetFieldNames(GenericWrapperElement e,
boolean isRoot)
Returns XMLPath names of all child fields
|
static ArrayList |
ViewManager.GetFieldNames(GenericWrapperElement e,
boolean isRoot,
boolean loadHistory)
Returns XMLPath names of all child fields
|
static ArrayList<String> |
ViewManager.GetFieldNames(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
Returns XMLPath names of all child fields
|
static ArrayList |
ViewManager.GetFields(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot)
Object [4] : 0-tableName,1-field_name,2-header,3-tableAlias
|
static ArrayList |
ViewManager.GetQuarantineFields(GenericWrapperElement e,
String header,
boolean allowMultiples,
boolean isRoot) |
static String |
ViewManager.GetQuarantineView(GenericWrapperElement e,
boolean allowMultiples,
boolean isRoot) |
static String |
ViewManager.GetViewColumnName(GenericWrapperElement e,
String xmlPath) |
static String |
ViewManager.GetViewColumnName(GenericWrapperElement e,
String xmlPath,
boolean isRoot) |
static String |
ViewManager.GetViewColumnName(GenericWrapperElement e,
String xmlPath,
String level,
boolean allowMultiples,
boolean isRoot) |
static String |
ViewManager.GetViewSQL(GenericWrapperElement e,
String level,
boolean allowMultiples,
boolean isRoot) |
static XFTItem |
DBAction.InsertItem(XFTItem item,
String login,
DBItemCache cache,
boolean allowInvalidValues) |
static void |
DBAction.StoreHistoryItem(XFTItem oldI,
UserI user,
DBItemCache cache,
Date previousChangeDate) |
static DBItemCache |
DBAction.StoreItem(XFTItem item,
UserI user,
boolean checkForDuplicates,
boolean quarantine,
boolean overrideQuarantine,
boolean allowItemOverwrite,
SecurityManagerI securityManager,
DBItemCache cache)
This method is used to insert/update an item into the database.
|
static boolean |
DBAction.StoreItem(XFTItem item,
UserI user,
boolean checkForDuplicates,
boolean quarantine,
boolean overrideQuarantine,
boolean allowItemOverwrite,
SecurityManagerI securityManager,
EventMetaI c)
This method is used to insert/update an item into the database.
|
Modifier and Type | Method and Description |
---|---|
static String |
TextFunctionGenerator.getPrimaryTextFunction(GenericWrapperElement primary_input,
GenericWrapperElement surrogate_input,
boolean isHistory) |
static ArrayList |
TextFunctionGenerator.GetTextOutputFunctions(GenericWrapperElement primary_input) |
Modifier and Type | Method and Description |
---|---|
static XFTElement |
XFTMetaManager.FindElement(String s)
Searches for a XFTElement with a matching Full XML Name.
|
static XFTElement |
XFTMetaManager.FindElement(String name,
String uri)
Searches for a XFTElement with the matching name.
|
static XFTElement |
XFTMetaManager.FindElement(XMLType t)
Searches for a XFTElement with the matching XMLType.
|
static ItemI |
XFTMetaManager.GetElementExtensionItemByID(Integer i)
Gets the element that matches this id.
|
ItemI |
XFTMetaElement.getExtensionXFTItem(boolean allowDBAccess) |
static ItemI |
XFTMetaManager.GetExtensionXFTItem(GenericWrapperElement e) |
static XFTElementWrapper |
XFTMetaManager.GetWrappedElementByCode(XFTFactoryI factory,
String code) |
static XFTElementWrapper |
XFTMetaManager.GetWrappedElementByName(XFTFactoryI factory,
String name)
Searches for a XFTElement with a matching Full XML Name.
|
static XFTElementWrapper |
XFTMetaManager.GetWrappedElementByNameAndURI(XFTFactoryI factory,
String name,
String uri)
Searches for a XFTElement with the matching name.
|
static XFTElementWrapper |
XFTMetaManager.GetWrappedElementByXMLType(XFTFactoryI factory,
XMLType t)
Searches for a XFTElement with the matching XMLType, and wraps it using the XFTFactoryI.
|
Modifier and Type | Method and Description |
---|---|
static XMLWrapperElement |
FlattenedItem.convertElement(GenericWrapperElement gwe) |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
XFTReferenceManager.FindHiddenSuperiorsFor(GenericWrapperElement e)
Find elements that reference this given element without being referenced within the given element
but will result in an implied column in the given element.
|
static ArrayList |
XFTReferenceManager.FindManyToManysFor(GenericWrapperElement e)
Find elements that this element references as many-to-many.
|
static XFTReferenceI |
XFTReferenceManager.FindReference(GenericWrapperField f)
Finds the XFTReferenceI for the given reference field.
|
static ArrayList |
XFTReferenceManager.FindSubordinatesFor(GenericWrapperElement e)
Find elements that this element references.
|
static ArrayList |
XFTReferenceManager.FindSuperiorsFor(GenericWrapperElement e)
Find elements that reference this element.
|
static void |
XFTReferenceManager.init()
Initializes the XFTReferenceManager and XFTPseudonymManager by iterating through
the XFTSchema and identifying references.
|
Constructor and Description |
---|
XFTSuperiorReference(GenericWrapperField field)
If the field isMultiple then this is initialized as a superior field, otherwise
it is a subordinate field.
|
Modifier and Type | Method and Description |
---|---|
ArrayList |
XFTManager.getOrderedElements()
ArrayList of GenericWrapperElements
|
XFTElement |
XFTReferenceField.getRefElement()
Gets the refElement using the XMLType
|
static XFTManager |
XFTManager.init(String schemaLocation)
Initializes the XFT manager instance if it hasn't been already.
|
static void |
XFTManager.Refresh(String sourceDirectory)
Re-initializes the XFT manager
|
void |
XFTDataModel.setSchema() |
Constructor and Description |
---|
XFTSchema(Document doc,
String dir,
XFTDataModel data)
Constructs an XFTSchema object from the XML DOM Document.
|
Modifier and Type | Method and Description |
---|---|
SchemaElementI |
SchemaFieldI.getReferenceElement() |
Modifier and Type | Method and Description |
---|---|
static ArrayList |
GenericWrapperUtils.GetActivateFunctions(GenericWrapperElement input) |
ArrayList<XFTFieldWrapper> |
GenericWrapperElement.getAddIns()
Returns a collection of XFTFields which are not specifically defined in the schema element
but are used behind the scenes.
|
static ArrayList<GenericWrapperElement> |
GenericWrapperElement.GetAllElements(boolean allowAddOns) |
Hashtable |
GenericWrapperElement.getAllFieldIDs()
Hashtable of all possible fieldIds (including extension fields) with (DATA,SINGLE,or MULTI) as the value
|
ArrayList<Object[]> |
GenericWrapperElement.getAllFieldNames()
Returns a collection of Object Arrays which specify the sql name, data type, xmlOnly values and
the GenericWrapperField for every field except multiple reference fields.
|
ArrayList |
GenericWrapperElement.getAllFieldsWAddIns(boolean allowXmlOnly,
boolean allowMultiples)
Returns all 'leaf nodes' fields including addIn fields including
xmlOnly fields (if allowXmlOnly) and multi-references (if allowMultiples)
|
ArrayList |
GenericWrapperField.getAllFieldsWXMLPath(String header) |
ArrayList |
GenericWrapperElement.getAllFieldsWXMLPath(String header) |
Hashtable |
GenericWrapperField.getAllPossibleXMLFieldNames()
Returns Hashtable of all possible root xml-field names.
|
Hashtable |
GenericWrapperElement.getAllPossibleXMLFieldNames()
Returns Hashtable of all possible root xml-field names.
|
static List |
GenericWrapperUtils.GetAlterTableStatements(GenericWrapperElement input)
Generates ALTER TABLE SQL statements for this element.
|
ArrayList |
GenericWrapperElement.getDependencies()
ArrayList of sql-names
|
GenericWrapperField |
GenericWrapperElement.getDirectField(String name) |
static GenericWrapperElement |
GenericWrapperElement.GetElement(String name)
Gets the GenericWrapperElement with a matching name (Must have prefix, unless it is a proper name).
|
static GenericWrapperElement |
GenericWrapperElement.GetElement(String name,
String URI)
Gets the GenericWrapperElement with a matching name.
|
static GenericWrapperElement |
GenericWrapperElement.GetElement(XMLType t)
Get GenericWrapperElement with a matching XMLType
|
GenericWrapperElement |
GenericWrapperElement.getExtendedElement() |
GenericWrapperField |
GenericWrapperElement.getExtensionField() |
String |
GenericWrapperElement.getExtensionXMLPathName(String subElementName,
String fieldName) |
String |
GenericWrapperElement.getExtensionXMLPathName(String subElementName,
String fieldName,
String xmlPath) |
GenericWrapperField |
GenericWrapperElement.getField(String name)
Get GenericWrapperField (of any fields inluding AddIns) where the name
matches the xmlName, sqlName, xmlType local type, or xmlType full foreign type.
|
GenericWrapperField |
GenericWrapperElement.getFieldBySQLName(String name)
Returns GenericWrapperField where the Field's sql name matches the submited string.
|
static GenericWrapperField |
GenericWrapperElement.GetFieldForXMLPath(String s)
Parses XML Dot Syntax to find field
|
static List<String> |
GenericWrapperUtils.GetFunctionStatements(GenericWrapperElement input) |
static Object[] |
GenericWrapperElement.GetGrandColumnNameForXMLPath(String s)
Parses XML Dot Syntax to find field's select-grand name.
|
ArrayList |
GenericWrapperElement.getHiddenSuperiorElements()
ArrayList of GenericWrapperFields (DOES NOT CALL XFTReferenceManager)
|
ArrayList |
GenericWrapperElement.getHiddenSuperiorReferences()
Get XFTSuperiorReference for references that are not defined by Reference Fields in
this element.
|
ArrayList |
GenericWrapperField.getLocalRefNames()
Returns mapping arrays for this field to its relations.
|
ArrayList |
GenericWrapperElement.getManyToManyReferences() |
GenericWrapperField |
GenericWrapperElement.getNonMultipleDataField(String name)
Get GenericWrapperField (of any fields inluding AddIns) where the name
matches the xmlName, sqlName, xmlType local type, or xmlType full foreign type.
|
GenericWrapperField |
GenericWrapperElement.getNonMultipleField(String name)
Get GenericWrapperField (of any fields inluding AddIns) where the name
matches the xmlName, sqlName, xmlType local type, or xmlType full foreign type.
|
ArrayList |
GenericWrapperElement.getNonMultipleFields()
Returns all non-multi-reference fields
|
SchemaElementI |
GenericWrapperField.getReferenceElement()
returns the GenericWrapperElement referenced by the getRefElement() method.
|
ArrayList |
GenericWrapperElement.getReferenceFieldsWAddIns()
Return all reference fields (foreign-keys) including addIns without xmlOnly fields
or multi-reference fields.
|
XFTReferenceI |
GenericWrapperElement.getRelationType(GenericWrapperElement foreign)
Finds the type of relationship between this element and the foreign element
|
ArrayList |
GenericWrapperElement.getRules()
Gets validation rules for each field.
|
String |
GenericWrapperElement.getSelectFromView(boolean allowMultiples,
boolean loadHistory)
Get SQL Select statement as SELECT * FROM view_name.
|
String |
GenericWrapperElement.getSequenceName() |
ArrayList |
GenericWrapperElement.getSubordinateReferences()
Finds XFTSuperiorReferences where this element is subordinate.
|
ArrayList |
GenericWrapperElement.getSuperiorReferences()
Finds XFTSuperiorReferences where this element is superior.
|
String |
GenericWrapperElement.getTableAndFieldGrandSQLForExtendedFieldSQLName(String subElementName,
String sqlName)
Gets the SQL select-grand name for the referenced field as a sub item of
this element.
|
Object[] |
GenericWrapperElement.getTableAndFieldGrandSQLForXMLPath(String fieldXMLPath)
Parses XML Dot Syntax to find field's select-grand name.
|
Object[] |
GenericWrapperElement.getTableAndFieldGrandSQLForXMLPath(String s,
String header,
String correctedXMLPath)
Parses XML Dot Syntax to find field's select-grand name.
|
static List<String> |
GenericWrapperUtils.GetTextOutputFunctions(GenericWrapperElement input) |
ArrayList<GenericWrapperField> |
GenericWrapperElement.getUndefinedReferences()
Gets referenced items which are not specifically defined in the schema.
|
static ArrayList |
GenericWrapperUtils.GetUpdateFunctions(GenericWrapperElement input) |
static String |
GenericWrapperElement.GetVerifiedXMLPath(String s)
Returns the validated dot-syntax reference.
|
static Object[] |
GenericWrapperElement.GetViewBasedGrandColumnNameForXMLPath(String s)
Parses XML Dot Syntax to find field's select-grand name.
|
XFTReferenceI |
GenericWrapperField.getXFTReference()
If this field is a reference, then the field's XFTReferenceI is returned.
|
GenericWrapperElement |
GenericWrapperElement.ignoreHistory() |
void |
GenericWrapperElement.initializeExtendedField()
If the element is an extension of another element, then its extension is true and the
extended elements XMLType is stored in the exstensionType element.
|
String[] |
GenericWrapperElement.translateXMLPathToTables(String s)
Translates a XML Dot Syntax name into the matching table element names (separated by periods).
|
boolean |
GenericWrapperElement.validateID(String name) |
Modifier and Type | Method and Description |
---|---|
static Document |
XMLWriter.ItemToDOM(XFTItem item,
boolean allowSchemaLocation,
boolean limited)
Method used to translate an XFTItem to an XML DOM Document.
|
static Document |
XMLWriter.ItemToDOM(XFTItem item,
boolean allowSchemaLocation,
String location,
boolean limited)
Method used to translate an XFTItem to an XML DOM Document.
|
static int |
XMLWriter.StoreXFTItemListToXMLFile(ArrayList al,
String destinationDir,
boolean limited,
boolean pp)
Translates the XFTItems in the ArrayList into a XML DOM Documents and writes them to files
in the destinationDir using the XFTItem's proper name and its pk value to determine the
file name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryOrganizer.addDirectField(String xmlPath) |
void |
QueryOrganizerI.addField(String xmlPath) |
void |
QueryOrganizer.addField(String xmlPath) |
String |
QueryOrganizer.getFilterField(String elementName) |
ItemCollection |
ItemSearch.populateItems(GenericWrapperElement element,
XFTTable table,
QueryOrganizer qo,
boolean extend,
boolean allowMultiples)
translates a XFTTable into a list of items with all available sub-items populated.
|
void |
ItemSearch.setElement(String elementName) |
void |
SearchCriteria.setFieldWXMLPath(String s)
Uses an XMLName Dot-Syntax to specify what field within an element is to be searched on.
|
Constructor and Description |
---|
ItemSearch(UserI u,
String elementName)
Instanciate object with a user and the search element.
|
ItemSearch(UserI u,
String elementName,
CriteriaCollection cc)
Instanciate object with a user, the search element, and a collection of search criteria.
|
QueryOrganizer(String elementName,
UserI u,
String level) |
Modifier and Type | Method and Description |
---|---|
static GenericWrapperElement |
StringUtils.GetRootElement(String fullString) |
Modifier and Type | Method and Description |
---|---|
static GenericWrapperField |
ValidationResults.GetField(String xmlPath) |
static ArrayList |
XFTValidator.GetPossibleValues(String element,
String field)
Gets the possible values for the specified field (sql_name) in the specified element.
|
static ValidationResults |
XFTValidator.Validate(ItemI item)
Validates the content of this item and its sub-items using the specifications in
the XFTSchema.
|
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.