|
Content Manager OnDemand V8.5 WEK APIs |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.edms.od.ODCriteria
public class ODCriteria
A class representing a OnDemand folder criteria.
The criteria class contains methods to set a search operator and
search values.
(c) Copyright IBM Corp. 1993, 2003. All Rights Reserved
| Method Summary | |
|---|---|
java.lang.String[] |
getApplicationGroupNames()
Get the application group names that this criteria has mappings to. |
boolean |
getAscending()
Get the search type of the current criteria. |
java.lang.String[] |
getDBFieldNames(java.lang.String agName)
Get the database field name(s) for this folder criteria. |
java.util.Hashtable |
getDBFixedValuesMapping(java.lang.String agName)
This API will return the possible values that can be used to update an InputTypeChoice (#ODConstant.InputTypeChoice) field. |
java.lang.String |
getDefaultFmt()
Get the default format for this criteria. |
char |
getDefaultFmtQual()
Get the default format qualifier for this criteria. |
java.lang.String |
getDescription()
Get the description of the criteria. |
java.lang.String |
getDisplayFmt()
Get the display format for this criteria. |
char |
getDisplayFmtQual()
Get the display format qualifier for this criteria. |
char |
getFieldQualifier()
Get the criteria qualifier. |
java.lang.String[] |
getFixedValues()
Get the valid search values for this criteria. |
int |
getMaxDisplayChars()
Get the maximum display characters. |
int |
getMaxEntryChars()
Get the maximum entry characters. |
java.lang.String |
getMaxSearchValue()
Get the Maximum Search Value. |
java.lang.String |
getMinSearchValue()
Get the Minimum Search Value. |
java.lang.String |
getName()
Get the name of the criteria. |
int |
getOperator()
Get the current search operator. |
java.lang.String[] |
getSearchValues()
Get the current search values. |
int |
getSortOrder()
Get the search sort value for the current criteria. |
char |
getSubType()
Get the subtype of the criteria. |
char |
getType()
Get the type of criteria. |
int[] |
getValidOperators()
Get the valid operators. |
boolean |
isDefaultValueAvailable()
Determine whether a default value is available for this criteria. |
boolean |
isDefaultValueFixed()
Determine whether the default value for this criteria is fixed (cannot be changed). |
boolean |
isDisplayable()
Determine whether this criteria is Displayable. |
boolean |
isQueryable()
Determine whether this criteria is Queryable. |
boolean |
isRequired()
Determine whether a value is required for this criteria when searching the folder. |
boolean |
isUpdateable(java.lang.String agName,
java.lang.String agFldName)
Verify that this field can be updated. |
void |
setAscending(boolean value)
Set the search type for the current criteria. |
void |
setOperator(int op)
Set the current search operator. |
void |
setSearchValue(java.lang.String v)
Set this criteria's search value. |
void |
setSearchValues(java.lang.String v1,
java.lang.String v2)
Set this criteria's search values. |
void |
setSortOrder(int value)
Set the search sort value for the current criteria. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setSortOrder(int value)
ODFolder.setSortLocation(char)public int getSortOrder()
public void setAscending(boolean value)
public boolean getAscending()
public java.lang.String getName()
public java.lang.String getDescription()
public char getType()
ODConstant.
ODConstant.InputTypeNormal,
ODConstant.InputTypeChoice,
ODConstant.InputTypeSegment,
ODConstant.InputTypeTextSearch,
ODConstant.InputTypeNoteTextSearch,
ODConstant.InputTypeNoteColorpublic char getSubType()
ODConstant.
ODConstant.OD_FLD_ANN_TEXT_SEARCH,
ODConstant.OD_FLD_BIGINT,
ODConstant.OD_FLD_ANN_COLOR_SEARCH,
ODConstant.OD_FLD_DECIMAL,
ODConstant.OD_FLD_APPLGRP,
ODConstant.OD_FLD_INTEGER,
ODConstant.OD_FLD_SMALLINT,
ODConstant.OD_FLD_SEGMENT,
ODConstant.OD_FLD_STRING,
ODConstant.OD_FLD_TEXT_SEARCH,
ODConstant.OD_FLD_VOIDpublic char getFieldQualifier()
ODConstant.
ODConstant.OD_FLDQ_BASE,
ODConstant.OD_FLDQ_DATETIME,
ODConstant.OD_FLDQ_DATE,
ODConstant.OD_FLDQ_TIME,
ODConstant.OD_FLDQ_TZ_DATETIMEpublic java.lang.String getMinSearchValue()
public java.lang.String getMaxSearchValue()
public int[] getValidOperators()
ODConstant.
ODConstant.OPEqual,
ODConstant.OPNotEqual,
ODConstant.OPLessThan,
ODConstant.OPLessThanEqual,
ODConstant.OPGreaterThan,
ODConstant.OPGreaterThanEqual,
ODConstant.OPIn,
ODConstant.OPNotIn,
ODConstant.OPLike,
ODConstant.OPNotLike,
ODConstant.OPBetween,
ODConstant.OPNotBetweenpublic int getOperator()
ODConstant.
ODConstant.OPEqual,
ODConstant.OPNotEqual,
ODConstant.OPLessThan,
ODConstant.OPLessThanEqual,
ODConstant.OPGreaterThan,
ODConstant.OPGreaterThanEqual,
ODConstant.OPIn,
ODConstant.OPNotIn,
ODConstant.OPLike,
ODConstant.OPNotLike,
ODConstant.OPBetween,
ODConstant.OPNotBetween
public void setOperator(int op)
throws ODException
ODConstant.
op - Operand to use for this criteria when performing a search.
ODExceptionODConstant.OPEqual,
ODConstant.OPNotEqual,
ODConstant.OPLessThan,
ODConstant.OPLessThanEqual,
ODConstant.OPGreaterThan,
ODConstant.OPGreaterThanEqual,
ODConstant.OPIn,
ODConstant.OPNotIn,
ODConstant.OPLike,
ODConstant.OPNotLike,
ODConstant.OPBetween,
ODConstant.OPNotBetweenpublic java.lang.String[] getSearchValues()
public void setSearchValue(java.lang.String v)
throws ODException
v - Search value.
ODException
public void setSearchValues(java.lang.String v1,
java.lang.String v2)
throws ODException
v1 - Search value number one.v2 - Search value number two.
ODExceptionpublic java.lang.String[] getFixedValues()
public java.lang.String getDisplayFmt()
public char getDisplayFmtQual()
public java.lang.String getDefaultFmt()
DefaultTimeFormat = "%H:%M:%S"
DefaultDateFormat = "%m/%d/%y"
DefaultDateTimeFormat = "%m/%d/%y %H:%M:%S"
public char getDefaultFmtQual()
public boolean isRequired()
public boolean isDisplayable()
public boolean isQueryable()
public boolean isDefaultValueAvailable()
public boolean isDefaultValueFixed()
public int getMaxEntryChars()
public int getMaxDisplayChars()
public java.lang.String[] getDBFieldNames(java.lang.String agName)
agName - The application group for which the db fields are required.
public java.lang.String[] getApplicationGroupNames()
ODCriteria.getDBFieldNames(String)
to determine the field names within the application group that this criteria
is mapped to.
public java.util.Hashtable getDBFixedValuesMapping(java.lang.String agName)
String - AGName The Application Group Name from the ODHit that will be updated.
ODHit.getApplGrpName(),
ODCriteria.isUpdateable(java.lang.String, java.lang.String)
public boolean isUpdateable(java.lang.String agName,
java.lang.String agFldName)
throws ODException
ODHit.hasPermToUpdateDoc() to determine permissions for updating field info for a document/hit.
agName - The Application Group name for the specific ODHit you are attempting to update.agFldName - The Application Group Field Name that you are attempting to update.
ODExceptionODHit.getApplGrpName(),
ODCriteria.getDBFieldNames(java.lang.String),
ODHit.hasPermToUpdateDoc()
|
CM OnDemand V8.5 WEK Java APIs | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||