intradoc.shared
Class MetaFieldData
java.lang.Object
|
+--intradoc.data.DataResultSet
|
+--intradoc.shared.MetaFieldData
- All Implemented Interfaces:
- ResultSet
- public class MetaFieldData
- extends DataResultSet
|
Method Summary |
void |
addExtraFields()
|
static boolean |
allowOptionList(java.lang.String type)
|
boolean |
createDiffList(ResultSet metaResultSet,
java.util.Vector add,
java.util.Vector change,
java.util.Vector delete)
|
static FieldInfo |
createFieldInfo(java.lang.String name,
java.lang.String type)
|
java.lang.String |
getDefaultValue()
|
boolean |
getIsEnabled()
|
boolean |
getIsRequired()
|
boolean |
getIsSearchable()
|
static java.lang.String[] |
getMetaFieldTypes()
|
java.lang.String |
getName()
|
java.lang.String |
getTableName()
|
boolean |
hasAllowableValueInOptionLists(java.lang.String name,
java.lang.String value,
java.lang.String[] replacementValue,
DataBinder binder,
Workspace workspace,
ExecutionContext cxt)
|
void |
init(ResultSet rset)
|
protected void |
initIndexes()
|
void |
initShallow(DataResultSet rset)
Makes a shallow copy of one data result set into another. |
static boolean |
isTextField(java.lang.String type)
|
boolean |
isValueInOptionList(java.lang.String optionListKey,
java.lang.String value)
|
boolean |
isValueInOptionListEx(java.lang.String optionListKey,
java.lang.String value,
java.lang.String[] foundVal)
|
DataResultSet |
shallowClone()
Creates a shallow clone of the result set. |
void |
validate(DataBinder binder,
Workspace workspace,
ExecutionContext cxt)
|
| Methods inherited from class intradoc.data.DataResultSet |
addRow, appendFields, closeInternals, copy, copy, copyEx, copyFieldInfo, copyFiltered, copyFilteredEx, copySimpleFiltered, createEmptyRow, createMaxNumResultSetFilter, createRow, createSimpleResultSetFilter, deleteCurrentRow, deleteRow, findRow, first, getCurrentRow, getCurrentRowProps, getCurrentRowValues, getDateFormat, getDateValue, getFieldInfo, getFieldName, getIndexFieldInfo, getNumFields, getNumRows, getResultSetValues, getResultSetValuesEx, getRowValues, getStringValue, getWorkspace, hasRawObjects, init, init, initEx, insertRowAt, isCopyAborted, isEmpty, isMutable, isRowPresent, last, merge, mergeDelete, mergeFields, next, previous, readHeader, readSimple, removeAll, removeFields, renameField, reset, setCurrentRow, setCurrentValue, setDateFormat, setRowValues, skip, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_tableName
public static final java.lang.String m_tableName
- See Also:
- Constant Field Values
m_queryName
public static final java.lang.String m_queryName
- See Also:
- Constant Field Values
m_extraFields
public static final java.lang.String[] m_extraFields
TEXT_INDEX
public static final short TEXT_INDEX
- See Also:
- Constant Field Values
BIGTEXT_INDEX
public static final short BIGTEXT_INDEX
- See Also:
- Constant Field Values
DATE_INDEX
public static final short DATE_INDEX
- See Also:
- Constant Field Values
MEMO_INDEX
public static final short MEMO_INDEX
- See Also:
- Constant Field Values
m_nameIndex
public int m_nameIndex
m_typeIndex
public int m_typeIndex
m_isRequiredIndex
public int m_isRequiredIndex
m_isEnabledIndex
public int m_isEnabledIndex
m_isSearchIndex
public int m_isSearchIndex
m_defaultIndex
public int m_defaultIndex
m_captionIndex
public int m_captionIndex
m_isOptionListIndex
public int m_isOptionListIndex
m_optionsListKeyIndex
public int m_optionsListKeyIndex
m_optionListTypeIndex
public int m_optionListTypeIndex
m_fieldTypes
protected static final java.lang.String[] m_fieldTypes
m_schHelper
protected intradoc.shared.schema.SchemaHelper m_schHelper
- m_schHelper isn't a fully initialized SchemaHelper
object. It's just here so we call some of the non-stateful
methods that don't require initialization.
MetaFieldData
public MetaFieldData()
init
public void init(ResultSet rset)
throws DataException,
ServiceException
DataException
ServiceException
addExtraFields
public void addExtraFields()
shallowClone
public DataResultSet shallowClone()
- Description copied from class:
DataResultSet
- Creates a shallow clone of the result set.
- Overrides:
shallowClone in class DataResultSet
initShallow
public void initShallow(DataResultSet rset)
- Description copied from class:
DataResultSet
- Makes a shallow copy of one data result set into another. In particular,
this result set can have an independent iterator and can be independently
sorted. But field listings and actual values should will changed the
values of the shared copy.
- Overrides:
initShallow in class DataResultSet
getTableName
public java.lang.String getTableName()
getMetaFieldTypes
public static java.lang.String[] getMetaFieldTypes()
initIndexes
protected void initIndexes()
throws DataException
DataException
validate
public void validate(DataBinder binder,
Workspace workspace,
ExecutionContext cxt)
throws ServiceException
ServiceException
hasAllowableValueInOptionLists
public boolean hasAllowableValueInOptionLists(java.lang.String name,
java.lang.String value,
java.lang.String[] replacementValue,
DataBinder binder,
Workspace workspace,
ExecutionContext cxt)
throws DataException,
ServiceException
DataException
ServiceException
getIsRequired
public boolean getIsRequired()
getIsEnabled
public boolean getIsEnabled()
getIsSearchable
public boolean getIsSearchable()
getName
public java.lang.String getName()
getDefaultValue
public java.lang.String getDefaultValue()
isValueInOptionList
public boolean isValueInOptionList(java.lang.String optionListKey,
java.lang.String value)
throws ServiceException
ServiceException
isValueInOptionListEx
public boolean isValueInOptionListEx(java.lang.String optionListKey,
java.lang.String value,
java.lang.String[] foundVal)
throws ServiceException
ServiceException
createDiffList
public boolean createDiffList(ResultSet metaResultSet,
java.util.Vector add,
java.util.Vector change,
java.util.Vector delete)
createFieldInfo
public static FieldInfo createFieldInfo(java.lang.String name,
java.lang.String type)
isTextField
public static boolean isTextField(java.lang.String type)
allowOptionList
public static boolean allowOptionList(java.lang.String type)
- Parameters:
type - the data type of the field
- Returns:
- true if the field can be an option list
(c) 1996-2005 All rights reserved. Stellent, Inc. |