public abstract class AutoXdatCriteriaSet extends BaseElement implements XdatCriteriaSetI
ItemWrapper.FieldEmptyException
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
SCHEMA_ELEMENT_NAME |
allowXMLDBAccess
Constructor and Description |
---|
AutoXdatCriteriaSet() |
AutoXdatCriteriaSet(Hashtable properties,
UserI user) |
AutoXdatCriteriaSet(ItemI item) |
AutoXdatCriteriaSet(UserI user) |
Modifier and Type | Method and Description |
---|---|
static ArrayList<XdatCriteriaSet> |
getAllXdatCriteriaSets(UserI user,
boolean preLoad) |
ArrayList<XdatCriteriaSet> |
getChildSet()
child_set
|
ArrayList<XdatCriteria> |
getCriteria()
criteria
|
ArrayList<ResourceFile> |
getFileResources(String rootPath,
boolean preventLoop) |
String |
getMethod() |
String |
getSchemaElementName() |
Integer |
getXdatCriteriaSetId() |
static ArrayList<XdatCriteriaSet> |
getXdatCriteriaSetsByField(CriteriaCollection criteria,
UserI user,
boolean preLoad) |
static ArrayList<XdatCriteriaSet> |
getXdatCriteriaSetsByField(String xmlPath,
Object value,
UserI user,
boolean preLoad) |
static XdatCriteriaSet |
getXdatCriteriaSetsByXdatCriteriaSetId(Object value,
UserI user,
boolean preLoad) |
void |
removeChildSet(int index)
Removes the child_set of the given index.
|
void |
removeCriteria(int index)
Removes the criteria of the given index.
|
void |
setChildSet(ItemI v)
Sets the value for child_set.
|
void |
setCriteria(ItemI v)
Sets the value for criteria.
|
void |
setMethod(String v)
Sets the value for method.
|
void |
setXdatCriteriaSetId(Integer v)
Sets the value for xdat_criteria_set_id.
|
static ArrayList |
wrapItems(ArrayList items) |
static ArrayList |
wrapItems(ItemCollection items) |
getDateDiff, getDisplayField, getDisplayField, getDisplayFields, getFileResources, GetGeneratedClass, GetGeneratedItem, getInsertDate, getInsertUser, getSchemaElement, getSecurityTags, loadDisplayFields, log, output, output, readExternal, setBooleanProperty, setBooleanProperty, setBooleanProperty, setBooleanProperty, setProperty, toJoinedXML, toString, WrapItems, writeExternal
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getDoubleProperty, getFloatProperty, getIntegerProperty, getItem, getLongCreateTime, getMetaCreatedBy, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, postSave, preSave, quarantine, save, save, setItem, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, toXML, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getItem, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, quarantine, save, save, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, validate
public static final org.apache.log4j.Logger logger
public static final String SCHEMA_ELEMENT_NAME
public AutoXdatCriteriaSet(ItemI item)
public AutoXdatCriteriaSet(UserI user)
public AutoXdatCriteriaSet()
public String getSchemaElementName()
getSchemaElementName
in interface XdatCriteriaSetI
getSchemaElementName
in class ItemWrapper
public ArrayList<XdatCriteria> getCriteria()
getCriteria
in interface XdatCriteriaSetI
public void setCriteria(ItemI v) throws Exception
setCriteria
in interface XdatCriteriaSetI
v
- Value to Set.Exception
public void removeCriteria(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatCriteriaSet> getChildSet()
getChildSet
in interface XdatCriteriaSetI
public void setChildSet(ItemI v) throws Exception
setChildSet
in interface XdatCriteriaSetI
v
- Value to Set.Exception
public void removeChildSet(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public String getMethod()
getMethod
in interface XdatCriteriaSetI
public void setMethod(String v)
setMethod
in interface XdatCriteriaSetI
v
- Value to Set.public Integer getXdatCriteriaSetId()
getXdatCriteriaSetId
in interface XdatCriteriaSetI
public void setXdatCriteriaSetId(Integer v)
setXdatCriteriaSetId
in interface XdatCriteriaSetI
v
- Value to Set.public static ArrayList<XdatCriteriaSet> getAllXdatCriteriaSets(UserI user, boolean preLoad)
public static ArrayList<XdatCriteriaSet> getXdatCriteriaSetsByField(String xmlPath, Object value, UserI user, boolean preLoad)
public static ArrayList<XdatCriteriaSet> getXdatCriteriaSetsByField(CriteriaCollection criteria, UserI user, boolean preLoad)
public static XdatCriteriaSet getXdatCriteriaSetsByXdatCriteriaSetId(Object value, UserI user, boolean preLoad)
public static ArrayList wrapItems(ItemCollection items)
public ArrayList<ResourceFile> getFileResources(String rootPath, boolean preventLoop)
getFileResources
in class BaseElement
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.