public abstract class AutoXdatStoredSearch extends BaseElement implements XdatStoredSearchI
ItemWrapper.FieldEmptyException
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
SCHEMA_ELEMENT_NAME |
allowXMLDBAccess
Constructor and Description |
---|
AutoXdatStoredSearch() |
AutoXdatStoredSearch(Hashtable properties,
UserI user) |
AutoXdatStoredSearch(ItemI item) |
AutoXdatStoredSearch(UserI user) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowDiffColumns() |
ArrayList<XdatStoredSearchGroupid> |
getAllowedGroups_groupid()
allowed_groups/groupID
|
ArrayList<XdatStoredSearchAllowedUser> |
getAllowedUser()
allowed_user
|
static ArrayList<XdatStoredSearch> |
getAllXdatStoredSearchs(UserI user,
boolean preLoad) |
String |
getBriefDescription() |
String |
getDescription() |
ArrayList<ResourceFile> |
getFileResources(String rootPath,
boolean preventLoop) |
String |
getId() |
String |
getLayeredsequence() |
String |
getRootElementName() |
String |
getSchemaElementName() |
ArrayList<XdatSearchField> |
getSearchField()
search_field
|
ArrayList<XdatCriteriaSet> |
getSearchWhere()
search_where
|
Boolean |
getSecure() |
String |
getSortBy_elementName() |
String |
getSortBy_fieldId() |
String |
getTag() |
static ArrayList<XdatStoredSearch> |
getXdatStoredSearchsByField(CriteriaCollection criteria,
UserI user,
boolean preLoad) |
static ArrayList<XdatStoredSearch> |
getXdatStoredSearchsByField(String xmlPath,
Object value,
UserI user,
boolean preLoad) |
static XdatStoredSearch |
getXdatStoredSearchsById(Object value,
UserI user,
boolean preLoad) |
void |
removeAllowedGroups_groupid(int index)
Removes the allowed_groups/groupID of the given index.
|
void |
removeAllowedUser(int index)
Removes the allowed_user of the given index.
|
void |
removeSearchField(int index)
Removes the search_field of the given index.
|
void |
removeSearchWhere(int index)
Removes the search_where of the given index.
|
void |
setAllowDiffColumns(Object v)
Sets the value for allow-diff-columns.
|
void |
setAllowedGroups_groupid(ItemI v)
Sets the value for allowed_groups/groupID.
|
void |
setAllowedUser(ItemI v)
Sets the value for allowed_user.
|
void |
setBriefDescription(String v)
Sets the value for brief-description.
|
void |
setDescription(String v)
Sets the value for description.
|
void |
setId(String v)
Sets the value for ID.
|
void |
setLayeredsequence(String v)
Sets the value for layeredSequence.
|
void |
setRootElementName(String v)
Sets the value for root_element_name.
|
void |
setSearchField(ItemI v)
Sets the value for search_field.
|
void |
setSearchWhere(ItemI v)
Sets the value for search_where.
|
void |
setSecure(Object v)
Sets the value for secure.
|
void |
setSortBy_elementName(String v)
Sets the value for sort_by/element_name.
|
void |
setSortBy_fieldId(String v)
Sets the value for sort_by/field_ID.
|
void |
setTag(String v)
Sets the value for tag.
|
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 AutoXdatStoredSearch(ItemI item)
public AutoXdatStoredSearch(UserI user)
public AutoXdatStoredSearch()
public String getSchemaElementName()
getSchemaElementName
in interface XdatStoredSearchI
getSchemaElementName
in class ItemWrapper
public String getRootElementName()
getRootElementName
in interface XdatStoredSearchI
public void setRootElementName(String v)
setRootElementName
in interface XdatStoredSearchI
v
- Value to Set.public ArrayList<XdatSearchField> getSearchField()
getSearchField
in interface XdatStoredSearchI
public void setSearchField(ItemI v) throws Exception
setSearchField
in interface XdatStoredSearchI
v
- Value to Set.Exception
public void removeSearchField(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatCriteriaSet> getSearchWhere()
getSearchWhere
in interface XdatStoredSearchI
public void setSearchWhere(ItemI v) throws Exception
setSearchWhere
in interface XdatStoredSearchI
v
- Value to Set.Exception
public void removeSearchWhere(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public String getSortBy_elementName()
getSortBy_elementName
in interface XdatStoredSearchI
public void setSortBy_elementName(String v)
setSortBy_elementName
in interface XdatStoredSearchI
v
- Value to Set.public String getSortBy_fieldId()
getSortBy_fieldId
in interface XdatStoredSearchI
public void setSortBy_fieldId(String v)
setSortBy_fieldId
in interface XdatStoredSearchI
v
- Value to Set.public ArrayList<XdatStoredSearchAllowedUser> getAllowedUser()
getAllowedUser
in interface XdatStoredSearchI
public void setAllowedUser(ItemI v) throws Exception
setAllowedUser
in interface XdatStoredSearchI
v
- Value to Set.Exception
public void removeAllowedUser(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatStoredSearchGroupid> getAllowedGroups_groupid()
public void setAllowedGroups_groupid(ItemI v) throws Exception
v
- Value to Set.Exception
public void removeAllowedGroups_groupid(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public String getId()
getId
in interface XdatStoredSearchI
public void setId(String v)
setId
in interface XdatStoredSearchI
v
- Value to Set.public String getDescription()
getDescription
in interface XdatStoredSearchI
public void setDescription(String v)
setDescription
in interface XdatStoredSearchI
v
- Value to Set.public String getLayeredsequence()
getLayeredsequence
in interface XdatStoredSearchI
public void setLayeredsequence(String v)
setLayeredsequence
in interface XdatStoredSearchI
v
- Value to Set.public Boolean getAllowDiffColumns()
getAllowDiffColumns
in interface XdatStoredSearchI
public void setAllowDiffColumns(Object v)
setAllowDiffColumns
in interface XdatStoredSearchI
v
- Value to Set.public Boolean getSecure()
getSecure
in interface XdatStoredSearchI
public void setSecure(Object v)
setSecure
in interface XdatStoredSearchI
v
- Value to Set.public String getBriefDescription()
getBriefDescription
in interface XdatStoredSearchI
public void setBriefDescription(String v)
setBriefDescription
in interface XdatStoredSearchI
v
- Value to Set.public String getTag()
public void setTag(String v)
v
- Value to Set.public static ArrayList<XdatStoredSearch> getAllXdatStoredSearchs(UserI user, boolean preLoad)
public static ArrayList<XdatStoredSearch> getXdatStoredSearchsByField(String xmlPath, Object value, UserI user, boolean preLoad)
public static ArrayList<XdatStoredSearch> getXdatStoredSearchsByField(CriteriaCollection criteria, UserI user, boolean preLoad)
public static XdatStoredSearch getXdatStoredSearchsById(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.