Modifier and Type | Method and Description |
---|---|
void |
BaseElement.setProperty(String xmlPath,
Object value) |
Modifier and Type | Method and Description |
---|---|
String |
DisplayField.getSQLContent(QueryOrganizerI qo) |
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 |
---|---|
static SchemaField |
SchemaElement.GetSchemaField(String xmlPath) |
Constructor and Description |
---|
SchemaField(String xmlPath) |
Modifier and Type | Method and Description |
---|---|
String |
DisplaySearch.getSQLContent(DisplayField df2,
QueryOrganizer qo) |
static ArrayList |
DisplaySearch.SearchForItems(SchemaElementI e,
CriteriaCollection criteria) |
String |
QueryOrganizer.translateStandardizedPath(String xmlPath) |
String |
QueryOrganizer.translateXMLPath(String xmlPath) |
String |
QueryOrganizer.translateXMLPath(String xmlPath,
String tableAlias) |
Modifier and Type | Method and Description |
---|---|
String |
ElementAction.getDisplayName() |
String |
ElementSecurity.getElementName() |
String |
ElementAction.getImage() |
String |
ElementAction.getParameterString() |
List<PermissionItem> |
ElementSecurity.getPermissionItemsForTag(String tag) |
String |
ElementAction.getPopup() |
String |
ElementAction.getPopupHeight() |
String |
ElementAction.getPopupWidth() |
String |
ElementAction.getSecureAccess() |
String |
ElementAction.getSecureFeature() |
SecurityValues |
ElementSecurity.getSecurityValues(ItemI item) |
Integer |
ElementSecurity.getSequence() |
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 | Class and Description |
---|---|
class |
ItemWrapper.FieldEmptyException |
Modifier and Type | Method and Description |
---|---|
static String |
XFT.buildLogFileName(ItemI item) |
Boolean |
ItemWrapper.getBooleanProperty(String sql_name) |
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) |
XFTItem |
XFTItem.getExtensionItem() |
XFTItem |
XFTItem.getExtensionItem(String extensionName) |
ItemCollection |
XFTItem.getExtFieldsMatches(boolean includeParent) |
ItemCollection |
XFTItem.getFieldMatches(boolean extend)
Returns ArrayList of XFTItems where all fields match.
|
Float |
ItemWrapper.getFloatProperty(String xmlPath) |
ArrayList |
XFTItem.getHistoryItems() |
Integer |
ItemWrapper.getIntegerProperty(String xmlPath) |
ItemCollection |
XFTItem.getPkMatches(boolean extend)
Returns ArrayList of XFTItems with matching pks.
|
Map<String,Object> |
XFTItem.getPkValues()
Hashtable of primaryKeyName/value pairs
|
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) |
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) |
ItemCollection |
XFTItem.getUniqueMatches(boolean extend)
Returns ArrayList of XFTItems with matching unique fields.
|
boolean |
XFTItem.hasPK() |
boolean |
XFTItem.hasProperty(String id,
Object find) |
boolean |
ItemWrapper.hasProperty(String id,
Object find) |
boolean |
ItemI.hasProperty(String id,
Object find) |
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.NewPrePopulatedItem(String name,
UserI user) |
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.
|
void |
XFTItem.removeChild(String xmlPath,
int index) |
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) |
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 |
---|---|
Iterator |
ItemCollection.getItemIterator(String xmlPath) |
ArrayList<ItemI> |
ItemCollection.getItems(String sortBy)
Sorts items by the field specified (via XML stype dot-syntax).
|
ArrayList |
ItemCollection.getItems(String sortBy,
String sortOrder) |
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 XFTItem |
DBAction.InsertItem(XFTItem item,
String login,
DBItemCache cache,
boolean allowInvalidValues) |
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 ItemI |
XFTMetaManager.GetElementExtensionItemByID(Integer i)
Gets the element that matches this id.
|
Modifier and Type | Method and Description |
---|---|
String |
XFTRelationSpecification.getLocalXMLPath() |
Modifier and Type | Method and Description |
---|---|
GenericWrapperField |
GenericWrapperField.getDirectField(String name)
if this field has a direct child (level 1) with the specified xml name, it is returned.
|
GenericWrapperField |
GenericWrapperElement.getDirectField(String name) |
GenericWrapperField |
GenericWrapperElement.getExtensionField() |
String |
GenericWrapperElement.getExtensionXMLPathName(String subElementName,
String fieldName) |
String |
GenericWrapperElement.getExtensionXMLPathName(String subElementName,
String fieldName,
String xmlPath) |
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
|
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.
|
String[] |
GenericWrapperElement.translateXMLPathToTables(String s)
Translates a XML Dot Syntax name into the matching table element names (separated by periods).
|
static String[] |
GenericWrapperElement.TranslateXMLPathToTables(String s)
Translates a XML Dot Syntax name into the matching table element names (separated by periods).
|
Modifier and Type | Method and Description |
---|---|
void |
SAXWriter.addAttributes(XFTItem child,
org.xml.sax.helpers.AttributesImpl atts) |
void |
SAXWriter.addNoChildAttributes(XFTItem child,
ArrayList children,
org.xml.sax.helpers.AttributesImpl atts) |
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.
|
void |
SAXWriter.write(XFTItem item) |
void |
SAXWriter.write(XFTItem item,
boolean _allowClear) |
void |
SAXWriter.writeChildData(XFTItem child,
String parentNodeName) |
void |
SAXWriter.writeChildField(XFTItem item,
XMLWrapperField xmlField,
String parentNodeName,
boolean noChildParent) |
Modifier and Type | Method and Description |
---|---|
String |
QueryOrganizer.getFieldAlias(String xmlPath,
String tableAlias) |
String |
QueryOrganizer.getTableAndFieldSQL(String xmlPath) |
static String |
QueryOrganizer.GetTableAndFieldSQL(String tableAlias,
String xmlPath) |
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 |
SearchCriteria.setFieldWXMLPath(String s)
Uses an XMLName Dot-Syntax to specify what field within an element is to be searched on.
|
String |
QueryOrganizerI.translateStandardizedPath(String xmlPath) |
String |
QueryOrganizer.translateStandardizedPath(String xmlPath) |
String |
QueryOrganizerI.translateXMLPath(String xmlPath) |
String |
QueryOrganizer.translateXMLPath(String xmlPath) |
String |
QueryOrganizerI.translateXMLPath(String xmlPath,
String tableAlias) |
String |
QueryOrganizer.translateXMLPath(String xmlPath,
String tableAlias) |
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.