Modifier and Type | Method and Description |
---|---|
void |
Authorizer.authorize(String action,
XFTItem item,
UserI user) |
void |
AuthorizerI.authorizeDelete(XFTItem e,
UserI user) |
void |
Authorizer.authorizeDelete(XFTItem e,
UserI user) |
void |
AuthorizerI.authorizeRead(XFTItem e,
UserI user) |
void |
Authorizer.authorizeRead(XFTItem e,
UserI user) |
void |
AuthorizerI.authorizeSave(XFTItem e,
UserI user) |
void |
Authorizer.authorizeSave(XFTItem e,
UserI user) |
Modifier and Type | Method and Description |
---|---|
void |
SecureAction.displayProjectEditError(org.apache.turbine.util.RunData data,
XFTItem item) |
void |
SecureAction.displayProjectEditError(String msg,
org.apache.turbine.util.RunData data,
XFTItem item) |
void |
ModifyItem.handleException(org.apache.turbine.util.RunData data,
XFTItem first,
Throwable error) |
void |
SecureAction.handleException(org.apache.turbine.util.RunData data,
XFTItem first,
Throwable error,
String itemIdentifier) |
void |
XMLUpload.postProcessing(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyStoredSearch.postProcessing(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyItem.postProcessing(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyItem.preProcess(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyStoredSearch.preSave(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyItem.preSave(XFTItem item,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context) |
void |
ModifyItem.save(XFTItem first,
org.apache.turbine.util.RunData data,
org.apache.velocity.context.Context context,
EventMetaI c) |
Modifier and Type | Method and Description |
---|---|
int |
XDATScreen_email.nameComparator.compare(XFTItem object1,
XFTItem object2) |
Modifier and Type | Method and Description |
---|---|
XFTItem |
PopulateItem.getItem() |
static XFTItem |
TurbineUtils.GetItemBySearch(org.apache.turbine.util.RunData data) |
Modifier and Type | Method and Description |
---|---|
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,
XFTItem newItem)
If throwException=true, then encountered errors will be thrown when they are encountered and additional properties
will not be loaded.
|
void |
PopulateItem.setItem(XFTItem item) |
Constructor and Description |
---|
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 |
---|---|
XFTItem |
XFTItem.copy()
Copies an XFTItem and its children.
|
XFTItem |
XFTItem.getCurrentDBVersion() |
XFTItem |
ItemWrapper.getCurrentDBVersion() |
XFTItem |
ItemI.getCurrentDBVersion()
Returns a new XFTItem which contains the current version of this item's data from the database.
|
XFTItem |
XFTItem.getCurrentDBVersion(boolean allowMultiples) |
XFTItem |
ItemWrapper.getCurrentDBVersion(boolean withChildren) |
XFTItem |
ItemI.getCurrentDBVersion(boolean withChildren)
Returns a new XFTItem which contains the current version of this item's data from the database.
|
XFTItem |
XFTItem.getCurrentDBVersion(boolean allowMultiples,
boolean allowExtension) |
XFTItem |
XFTItem.getExtensionItem() |
XFTItem |
XFTItem.getExtensionItem(String extensionName) |
XFTItem |
XFTItem.getFirstHistory() |
XFTItem |
XFTMetaItem.getFullItem() |
XFTItem |
XFTItem.getItem() |
XFTItem |
ItemWrapper.getItem() |
XFTItem |
ItemI.getItem() |
XFTItem |
XFTMetaItem.getSmallItem() |
static XFTItem |
XFTItem.NewEmptyItem(UserI user) |
static XFTItem |
XFTItem.NewItem(GenericWrapperElement e,
Map hash,
boolean throwException,
UserI user) |
static XFTItem |
XFTItem.NewItem(GenericWrapperElement e,
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.NewMetaDataElement(UserI user,
String name,
boolean quarantine,
Date insert_date,
Object xft_version) |
static XFTItem |
XFTItem.NewPrePopulatedItem(String name,
UserI user) |
static XFTItem |
XFTItem.PopulateItemFromFlatString(String s,
UserI user) |
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.
|
static XFTItem |
XFTItem.SelectItemByIds(GenericWrapperElement element,
Object[] ids,
UserI user,
boolean allowMultiples,
boolean preventLoop) |
Modifier and Type | Method and Description |
---|---|
ArrayList<XFTItem> |
GenericItemObject.getChildItems() |
ArrayList<XFTItem> |
XFTItem.getChildItems(String id) |
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) |
List<XFTItem> |
XFTItem.getChildrenOfType(String xsiType) |
List<XFTItem> |
XFTItem.getChildrenOfType(String xsiType,
boolean preventLoop) |
Hashtable<String,XFTItem> |
XFTItem.getChildrenOfTypeWithPaths(String xsiType) |
Hashtable<String,XFTItem> |
XFTItem.getChildrenOfTypeWithPaths(String xsiType,
boolean preventLoop) |
ArrayList<XFTItem> |
XFTItem.getParents(String xsiType) |
Modifier and Type | Method and Description |
---|---|
void |
XFTItem.addHistoryItem(XFTItem history) |
static boolean |
XFTItem.CompareItemsByPKs(XFTItem newI,
XFTItem oldI)
Returns true if all pk values in the two items match.
|
static boolean |
XFTItem.CompareItemsByPKs(XFTItem newI,
XFTItem oldI,
boolean allowNewNull,
boolean checkExtensions) |
static boolean |
XFTItem.CompareItemsByUniques(XFTItem newI,
XFTItem oldI) |
static boolean |
XFTItem.CompareItemsByUniques(XFTItem newI,
XFTItem oldI,
boolean checkExtensions) |
boolean |
XFTItem.equals(XFTItem item2,
boolean ignorePK)
Compares all properties including primary keys (if ignorePK=false) else compares all non
primary key properties.
|
static String |
XFTItem.identity(XFTItem i) |
void |
XFTItem.importNonItemFields(XFTItem temp,
boolean onlyMetaFields) |
void |
XFTItem.importPK(XFTItem temp) |
static XFTItem |
XFTItem.ReconcileItems(XFTItem primary,
XFTItem secondary,
boolean allowMultiples)
This item compares the reference items of each item.
|
void |
XFTItem.removeChildFromDB(String xmlPath,
XFTItem child,
UserI user,
EventMetaI c) |
void |
XFTItem.removeItem(XFTItem child) |
Constructor and Description |
---|
XFTMetaItem(XFTItem item) |
Modifier and Type | Method and Description |
---|---|
XFTItem |
ItemCollection.getItem(String xmlPath,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
ItemTrackingCollection.AddItem(XFTItem x) |
boolean |
ItemTrackingCollection.contains(XFTItem x) |
Modifier and Type | Method and Description |
---|---|
int |
ItemComparator.compare(XFTItem oldTI,
XFTItem newTI) |
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 | Field and Description |
---|---|
protected XFTItem |
DBItemCache.PostModificationActionAbst.item |
Modifier and Type | Method and Description |
---|---|
static XFTItem |
DBAction.CheckMetaData(XFTItem item,
UserI user,
boolean quarantine) |
static XFTItem |
DBAction.InsertItem(XFTItem item,
String login,
DBItemCache cache,
boolean allowInvalidValues) |
static XFTItem |
DBAction.SelectItemByID(String query,
String functionName,
GenericWrapperElement element,
UserI user,
boolean allowMultiples) |
static XFTItem |
DBAction.SelectItemByIDs(GenericWrapperElement element,
Object[] ids,
UserI user,
boolean allowMultiples,
boolean preventLoop) |
Modifier and Type | Method and Description |
---|---|
static XFTItem |
DBAction.CheckMetaData(XFTItem item,
UserI user,
boolean quarantine) |
static void |
DBAction.CleanDeleteItem(XFTItem item,
UserI user,
EventMetaI c) |
static void |
DBAction.DeleteItem(XFTItem item,
UserI user,
EventMetaI c) |
void |
DBItemCache.handlePostModificationAction(XFTItem item,
String action) |
static XFTItem |
DBAction.InsertItem(XFTItem item,
String login,
DBItemCache cache,
boolean allowInvalidValues) |
static void |
PoolDBUtils.PerformUpdateTrigger(XFTItem item,
String login) |
static void |
DBAction.RemoveItemReference(XFTItem item,
String xmlPath,
XFTItem toRemove,
UserI user,
EventMetaI c) |
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.
|
Constructor and Description |
---|
XFTItemDBLoader(XFTItem i,
XFTItemDBLoader.ItemCache cache) |
Modifier and Type | Method and Description |
---|---|
static PersistentWorkflowI |
PersistentWorkflowUtils.buildOpenWorkflow(XDATUser user,
XFTItem expt,
EventDetails event) |
static void |
PersistentWorkflowUtils.confirmID(XFTItem item,
PersistentWorkflowI wrk) |
static String |
PersistentWorkflowUtils.getID(XFTItem item) |
static PersistentWorkflowI |
PersistentWorkflowUtils.getOrCreateWorkflowData(Integer eventId,
XDATUser user,
XFTItem expt,
EventDetails event) |
Modifier and Type | Method and Description |
---|---|
static List<FlattenedItemI> |
ItemPropBuilder.build(XFTItem i,
FlattenedItemA.HistoryConfigI includeHistory,
List<? extends FlattenedItem.FlattenedItemModifierI> modifiers) |
static org.json.JSONObject |
ItemJSONBuilder.buildJSON(XFTItem item,
FlattenedItemA.HistoryConfigI includeHistory,
boolean includeHeaders) |
org.json.JSONObject |
ItemJSONBuilder.call(XFTItem i,
FlattenedItemA.HistoryConfigI includeHistory,
boolean includeHeaders) |
List<FlattenedItemI> |
ItemPropBuilder.call(XFTItem i,
FlattenedItemA.HistoryConfigI includeHistory,
List<? extends FlattenedItem.FlattenedItemModifierI> modifiers) |
void |
FlattenedItem.FlattenedItemModifierI.modify(XFTItem i,
FlattenedItemA.HistoryConfigI includeHistory,
Callable<Integer> idGenerator,
FlattenedItemA.FilterI filter,
XMLWrapperElement root,
List<FlattenedItemA.ItemObject> parents,
FlattenedItemI fi) |
Constructor and Description |
---|
FlattenedItem(XFTItem i,
FlattenedItemA.HistoryConfigI includeHistory,
Callable<Integer> idGenerator,
FlattenedItemA.FilterI filter,
XMLWrapperElement root,
String refName,
List<FlattenedItemA.ItemObject> parents,
List<? extends FlattenedItem.FlattenedItemModifierI> injectors,
XFTItemDBLoader.ItemCache cache) |
Modifier and Type | Method and Description |
---|---|
static Integer |
XFTReferenceManager.NumberOfReferences(XFTItem item) |
Modifier and Type | Method and Description |
---|---|
XFTItem |
SAXReader.getItem() |
XFTItem |
SAXReader.SAXReaderObject.getItem() |
XFTItem |
SAXReader.getTemplate() |
XFTItem |
SAXReader.parse(File data) |
XFTItem |
SAXReader.parse(File data,
String stopAtXMLPath)
Stops loading document after specified tag is reached.
|
XFTItem |
SAXReader.parse(InputSource data) |
XFTItem |
SAXReader.parse(InputStream data) |
XFTItem |
SAXReader.parse(Reader data) |
XFTItem |
SAXReader.parse(String file_path) |
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) |
String |
SAXWriter.getRootName(XMLWrapperElement element,
XFTItem item) |
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 |
SAXReader.setTemplate(XFTItem template) |
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) |
Constructor and Description |
---|
SAXReader.SAXReaderObject(XFTItem i) |
SAXReader.SAXReaderObject(XFTItem i,
SAXReader.SAXReaderObject p) |
Modifier and Type | Method and Description |
---|---|
static XFTItem |
ItemSearch.GetItem(String xmlPath,
Object v,
UserI user,
boolean preLoad)
Pass in a String identifying the XML field which you are searching by: ex.
|
Modifier and Type | Method and Description |
---|---|
static void |
SaveItemHelper.authorizedDelete(XFTItem i,
UserI user,
EventDetails c)
Delete resource without additional security precautions.
|
static void |
SaveItemHelper.authorizedDelete(XFTItem i,
UserI user,
EventMetaI c)
Delete resource without additional security precautions.
|
static void |
SaveItemHelper.unauthorizedDelete(XFTItem i,
UserI user,
EventDetails c)
Delete resource with additional security precautions.
|
static void |
SaveItemHelper.unauthorizedDelete(XFTItem i,
UserI user,
EventMetaI c)
Delete resource with additional security precautions.
|
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.