uk.ac.kcl.cch.jb.pliny.model
Class NoteLucened
java.lang.Object
uk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
uk.ac.kcl.cch.rdb2java.dynData.BaseObject
uk.ac.kcl.cch.jb.pliny.model.Resource
uk.ac.kcl.cch.jb.pliny.model.Note
uk.ac.kcl.cch.jb.pliny.model.NoteLucened
- All Implemented Interfaces:
- IAuthorityListItem, ILoadableFromResultSet, INamedObject, IPropertyChangeObject
- public class NoteLucened
- extends Note
an extension of the {link Note} class generated by rdb2java and managing
the DB storage of data to support the simultaneous storing of Note
text by Lucene.
The Lucene index is only set up and operational in each Pliny session after
the first time the user uses the Note Search view. Thus, each take
the name or content fields are changed, or a recorded added or deleted
the code here first checks to see if the Lucene index is set up, and if
it is, asks it to update its material at the same time.
- Author:
- John Bradley
Fields inherited from class uk.ac.kcl.cch.jb.pliny.model.Resource |
ATTRIBUTES_PROP, FAVOURITES_PROP, FULLNAME_PROP, IDENTIFIER_PROP, IDSTART_PROP, INITCHAR_PROP, MYDISPLAYEDITEMS_PROP, MYSOURCEROLES_PROP, MYSURROGATES_PROP, MYTARGETROLES_PROP, NAME_PROP, OBJECTTYPEKEY_PROP, resourceKey |
Methods inherited from class uk.ac.kcl.cch.jb.pliny.model.Note |
doInsert, getALID, getALItem, getContent, getIdentifier, getKeyName, getMyConnection, getNoteItem, getNoteObjectType, getSashPosition, getSelectEntities, getSQLFrom, getTableJoins, getTableName, getTStamp, loadFromResultSet, openEditor, returnMyConnection, setEmpty, setSashPosition, setTStamp, toString |
Methods inherited from class uk.ac.kcl.cch.jb.pliny.model.Resource |
assignMyReferencesTo, assignMyReferencesTo, closeMyEditor, EditorInput2idString, find, find, getAttributes, getCurrentPage, getFavourites, getFullName, getIdStart, getInitChar, getInitChar, getItem, getMyDisplayedItems, getMyPagedDisplayedItems, getMySourceRoles, getMySurrogates, getMyTargetRoles, getName, getObjectType, getObjectTypeKey, getResourceKey, getUrl, idString2EditorInput, isDeletable, isFavourite, openEditor, setAttributes, setCurrentPage, setFullName, setIdentifier, setIdentifiers, setIdentifiers, setIdStart, setInitChar, setObjectType, signalChangeFavourites, signalChangeMyDisplayedItems, signalChangeMySourceRoles, signalChangeMySurrogates, signalChangeMyTargetRoles, updateDBName |
Methods inherited from class uk.ac.kcl.cch.rdb2java.dynData.BaseObject |
doSQL, getSavedID, makeWhere, updateDBboolean, updateDBboolean, updateDBint, updateDBint, updateDBString, updateDBString, updateDBTimestamp, updateDBTimestamp |
NoteLucened
public NoteLucened(boolean realEmpty)
NoteLucened
public NoteLucened()
getNoteLucenedItem
public static NoteLucened getNoteLucenedItem(int key)
setContent
public void setContent(String parm)
- Overrides:
setContent
in class Note
setName
public void setName(String parm)
- Specified by:
setName
in interface INamedObject
- Overrides:
setName
in class Resource
deleteMe
public void deleteMe()
- Overrides:
deleteMe
in class Note
reIntroduceMe
public void reIntroduceMe()
- Overrides:
reIntroduceMe
in class Note