com.sri.emo.annotations
Class NodeTag
java.lang.Object
com.jcorporate.expresso.core.dataobjects.BaseDataObject
com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject
com.jcorporate.expresso.core.dbobj.DBObject
com.jcorporate.expresso.core.dbobj.SecuredDBObject
com.jcorporate.expresso.core.dbobj.SecurDBObject
com.sri.emo.annotations.NodeTag
- All Implemented Interfaces:
- Cacheable, ContextNested, DataObject, Securable, LookupInterface, Serializable
public class NodeTag
- extends SecurDBObject
Table of tags associated with the given nodes.
- Author:
- Michael Rimov
- See Also:
- Serialized Form
Fields inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
ATTRIBUTE_ERROR, ATTRIBUTE_ERROR_MESSAGE, ATTRIBUTE_PAGE_LIMIT, BIG_DECIMAL_ZERO, CACHE_LIMIT_PERCENT, CACHE_LIMIT_TTL, EMAIL_MASK, EVENT_ADD, EVENT_DELETE, EVENT_UPDATE, FLOAT_MASK, INT_MASK, IS_CHECK_RELATIONAL_INTEGRITY, IS_MUTABLE, sCacheStats, UPDATE_CHANGED_ONLY, WHERE_KEYWORD |
Fields inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
anyFieldsDistinct, anyFieldsToInput, anyFieldsToRetrieve, appendCustomWhere, caseSensitiveQuery, customWhereClause, dbKey, distinctFields, inputFields, localConnection, LONGBINARY_READ_DEFAULT_SIZE, maxRecords, myClassName, myUpdates, offsetRecord, recordSet, retrieveFields, sMetadataMap, sortKeys |
Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
add, canRequesterAdd, canRequesterDelete, canRequesterRead, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, delete, deleteAll, find, getRequestingUid, getRequestingUser, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, retrieve, search, searchAndRetrieveList, searchAndRetrieveList, setRequestingUid, setRequestingUser, update |
Methods inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
addDetail, addField, addField, addFieldError, addFoundKeys, addIfNeeded, addIndex, addKey, addMaster, addOrUpdate, addSortKey, addTransition, addVirtualField, addVirtualField, addVirtualField, addVirtualField, average, basicAdd, cacheIsChangedComparison, canUseRetrieve, checkAllReferredToBy, checkAllRefs, checkAllRefsPublic, checkDeleteDetailPerm, checkField, checkMutable, checkRef, checkRef, clear, clearDistinctFields, clearError, clearFieldsToInput, clearFieldsToRetrieve, clearSortKeys, clone, containsWildCards, copyAllFields, delete, deleteAll, deleteDetails, denotesRange, equals, fetchImmut, fetchImmutable, forKey, formatDateTime, get, getAllAttributes, getAttribute, getAttributesIterator, getBooleanFieldValue, getCacheSize, getCacheStatsMap, getCacheUtil, getCheckZeroUpdate, getCustomWhereClause, getDataContext, getDataField, getDataTransferObject, getDBName, getDetails, getDistinctFieldCount, getDistinctFields, getField, getFieldAttributesIterator, getFieldBigDecimal, getFieldBoolean, getFieldByte, getFieldByteArray, getFieldData, getFieldDate, getFieldDecimalFormatted, getFieldDouble, getFieldErrorMessage, getFieldFloat, getFieldInt, getFieldLong, getFieldMetaData, getFieldShort, getFieldsToInputCount, getFieldsToRetrieveCount, getFilterClass, getFoundCount, getFoundKeysArray, getIndexArray, getISOValuesDefault, getISOValuesDefault, getISOValuesDefault, getKey, getKeyFieldListIterator, getLength, getLengthInt, getLocale, getLogger, getLookupObject, getMax, getMax, getMaxRecords, getMyKeys, getMyUpdatesArray, getOffsetRecord, getPatternMatcher, getPrecision, getSerializedForm, getSizeEstimate, getStringFilter, getThisDBbj, getThisDBObj, getValidValueDescrip, getValidValues, getValidValuesList, getValues, getValuesDefault, getValuesDefault, getValuesDefault, hasError, hasErrors, haveAllKeys, initialize, isCached, isChanged, isDistinct, isEmpty, isFieldDistinct, isFieldNull, isFieldsToInput, isFieldsToRetrieve, isFieldToRetrieve, isMultiValued, isMutable, isMutable, isReadOnly, isSecret, isVirtual, loadFromConnection, logChange, max, min, newInstance, noNewLine, noQuotes, notifyListeners, populateDefaultValues, referredToBy, removeAttribute, removeFromCache, retrieveFromCache, saveBinaryField, search, set, setAttribute, setCacheLimit, setCacheLimit, setCacheLimitAsPercent, setCacheSize, setCharset, setCheckZeroUpdate, setConnection, setConnection, setCustomWhereClause, setCustomWhereClause, setDataContext, setDataField, setDataTransferObject, setDefaultValue, setDescription, setField, setField, setField, setField, setField, setField, setField, setField, setField, setField, setFieldData, setFieldData, setFieldDistinct, setFieldsToInput, setFieldsToRetrieve, setFilterClass, setFilterClass, setKey, setKeys, setLocale, setLookupField, setLookupObject, setMask, setMaxRecords, setMultiValued, setName, setOffsetRecord, setReadOnly, setSchema, setSecret, setSortKey, setStringFilter, setStringFiltersOnAll, setTargetDbSchema, setTargetTable, sqlAggrFunction, sum, toDebugString, update, updateAll, updateAll, updateIsChanged, verify |
Methods inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
addInParam, addOutParam, buildWhereClause, buildWhereClauseBuffer, checkZeroUpdate, constructNewMetaData, createAndExecuteSearch, createAndRunStoreProcedure, createSQLSelectStatement, createSQLSelectStatement, getConnectionPool, getCustomStringFieldValue, getDef, getDistinctFieldArrayList, getExecutor, getFieldsToInputIterator, getFieldsToRetrieveIterator, getJDBCMetaData, getJDBCUtil, getLocalConnection, getMappedDataContext, getMetaData, getQueryInterface, getSerialForm, loadFromConnection, makeLimitationStub, quoteIfNeeded, runStoredProcedure, runStoredProcedureAndRetrieveList, selectFieldString, setCaseSensitiveQuery, setDBConnectionPool, setDBName, setMappedDataContext, setOriginalDBName, setTargetStoreProcedure |
TAG_ID
public static final String TAG_ID
- See Also:
- Constant Field Values
TAG_PARENT_NODE
public static final String TAG_PARENT_NODE
- See Also:
- Constant Field Values
TAG_VALUE
public static final String TAG_VALUE
- See Also:
- Constant Field Values
TAG_ADDED_BY
public static final String TAG_ADDED_BY
- See Also:
- Constant Field Values
TAG_ADDED_ON
public static final String TAG_ADDED_ON
- See Also:
- Constant Field Values
TAGS_TABLE
public static final String TAGS_TABLE
- See Also:
- Constant Field Values
NodeTag
public NodeTag()
throws DBException
- Throws:
DBException
NodeTag
public NodeTag(DBConnection newConnection)
throws DBException
- Throws:
DBException
NodeTag
public NodeTag(DBConnection newConnection,
String setupTablesContext)
throws DBException
- Throws:
DBException
NodeTag
public NodeTag(ControllerRequest request)
throws DBException
- Throws:
DBException
NodeTag
public NodeTag(ReadOnlyUser readOnlyUser)
throws DBException
- Throws:
DBException
setupFields
protected void setupFields()
throws DBException
- Overrides:
setupFields
in class DBObject
- Throws:
DBException
setTagValue
public void setTagValue(String tagValue)
throws DataException
- Sets the value of the tag.
- Parameters:
tagValue
- String may be initially null, but may not be null once
added or updated.
- Throws:
DataException
setNodeId
public void setNodeId(Integer nodeId)
throws DataException
- Sets the parent node id.
- Parameters:
nodeId
- Integer
- Throws:
DataException
setNodeId
public void setNodeId(String nodeId)
throws DataException
- Throws:
DataException
setAddedBy
public void setAddedBy()
throws DBException
- Sets the current user for the 'added by' node value.
- Throws:
DBException
setAddedBy
public void setAddedBy(String addedBy)
throws DataException
- Set who it was added by.
- Parameters:
addedBy
- String
- Throws:
DataException
setAddedOn
public void setAddedOn()
throws DataException
- Sets the current date for the item.
- Throws:
DataException
setAddedOn
public void setAddedOn(Date addedOn)
throws DataException
- Throws:
DataException
getTagId
public Integer getTagId()
throws DBException
- Throws:
DBException
getTagValue
public String getTagValue()
throws DBException
- Throws:
DBException
getNodeId
public Integer getNodeId()
throws DBException
- Throws:
DBException
getAddedBy
public String getAddedBy()
throws DBException
- Throws:
DBException
getAddedOn
public Date getAddedOn()
throws DBException
- Throws:
DBException
add
public void add(String userId)
throws DBException
- Throws:
DBException
getTaggedNodes
public Node[] getTaggedNodes()
throws DBException
- Returns:
- array of nodes based on this tag, using value and 'addedby' IFF those
- Throws:
DBException
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.