L
- left link typeR
- right link typeT
- link typeH
- public class LinkHistoryManager<L extends Indexed,R extends Indexed,T extends IndexedLinkManager.Link<L,R>,H extends HistoryFactory.HistoryRecord<T>> extends HistoryFactory<T,H> implements LinkHistoryHandler<L,R,T>
HistoryFactory.HistoryFilter, HistoryFactory.HistoryRecord<P extends DataObject>, HistoryFactory.Mapper, HistoryFactory.PeerIterator
DataObjectFactory.AbstractDataObjectInput, DataObjectFactory.AbstractFinder<X>, DataObjectFactory.DataObjectAcceptFilter, DataObjectFactory.DataObjectInput, DataObjectFactory.DataObjectIntegerInput, DataObjectFactory.DestAcceptFilter<T extends DataObject>, DataObjectFactory.FilterAdapter, DataObjectFactory.FilterCounter, DataObjectFactory.FilterExists, DataObjectFactory.FilterIterator, DataObjectFactory.FilterSelector, DataObjectFactory.FilterSet, DataObjectFactory.Finder, DataObjectFactory.MakeRemoteFilterVisitor<R extends DataObject>, DataObjectFactory.MatchFilter, DataObjectFactory.ReferencedAdapter<I extends Indexed>, DataObjectFactory.ReferenceIterator<I extends Indexed>, DataObjectFactory.SortingDataObjectInput, DataObjectFactory.TimeAcceptFilter<T extends DataObject>, DataObjectFactory.TimeFilter
END_TIME_FIELD, ENDTIME, HISTORY_CACHE_FEATURE, HISTORY_STATUS_FEATURE, START_TIME_FIELD
AUTO_CREATE_TABLES_FEATURE, COMPOSITES_SUFFIX, REJECT_MULTIPLE_RESULT_FEATURE, res
Modifier | Constructor and Description |
---|---|
protected |
LinkHistoryManager(IndexedLinkManager<T,L,R> fac) |
|
LinkHistoryManager(IndexedLinkManager<T,L,R> fac,
java.lang.String table) |
Modifier and Type | Method and Description |
---|---|
boolean |
canLeftJoin() |
boolean |
canRightJoin() |
TableSpecification |
getDefaultTableSpecification(AppContext c,
java.lang.String homeTable)
Get the default table specification if the table is to be created.
|
SQLFilter<H> |
getHistoryFilter(L left,
R right,
java.util.Date start,
java.util.Date end) |
IndexedLinkManager<T,L,R> |
getLinkManager() |
addChart, addChart, closeGaps, expireTime, find, find, fixSeries, fixSeries, getIterator, getIterator, getIterator, getOrder, getPeerFactory, getPeerName, getPeerProducer, getPeerReference, getTarget, isPeerType, makeBDO, makeHistory, postCreateTableSetup, purge, purgeOldData, resetStructure, setPeerFactory, skipUpdate, terminate, update, wipe
all, allowPreSelect, canCreate, canUpdate, checkComposite, convertToDestinationFilter, customiseForm, equals, exists, find, find, find, find, find, getAllIterator, getComposite, getComposites, getComposites, getConfigTag, getContext, getCount, getDefaultRelationshipFilter, getDefaults, getDestFilter, getExcludeFilter, getFieldConstraints, getFieldHelp, getFilter, getFilter, getFilter, getFinalSelectFilter, getFinalTableSpecification, getFindFilter, getFormCreator, getFormUpdate, getID, getIndex, getInput, getInput, getInput, getLogger, getMaxIdentifierLength, getNullable, getOptional, getProperty, getReferenced, getReferenceFieldType, getReferenceFieldType, getRemoteFilter, getRemoteSQLFilter, getResult, getResult, getSelectFilter, getSelector, getSelector, getSelectors, getSupress, getTableSpecification, getTableStructureContributers, getTag, getTranslations, getUniqueIdName, hasComposite, hashCode, isMine, isMine, isMyReference, isValid, makeBDO, makeObject, makeRecord, makeReference, makeReference, matches, narrowSelector, narrowSelector, observeComposite, OrderBy, postSetContext, release, restrictDefaultInput, setComposites, setContext, setContext, setContextWithMake, setProperty, toString, updateTable
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isValid
getContext
find, getIterator, getIterator, getIterator, getPeerName, isPeerType, purge, terminate, update
protected LinkHistoryManager(IndexedLinkManager<T,L,R> fac)
public LinkHistoryManager(IndexedLinkManager<T,L,R> fac, java.lang.String table)
public TableSpecification getDefaultTableSpecification(AppContext c, java.lang.String homeTable)
DataObjectFactory
getDefaultTableSpecification
in class HistoryFactory<T extends IndexedLinkManager.Link<L,R>,H extends HistoryFactory.HistoryRecord<T>>
c
- AppContexthomeTable
- String table name.public IndexedLinkManager<T,L,R> getLinkManager()
getLinkManager
in interface LinkHistoryHandler<L extends Indexed,R extends Indexed,T extends IndexedLinkManager.Link<L,R>>
public SQLFilter<H> getHistoryFilter(L left, R right, java.util.Date start, java.util.Date end) throws DataException
getHistoryFilter
in interface LinkHistoryHandler<L extends Indexed,R extends Indexed,T extends IndexedLinkManager.Link<L,R>>
DataException
public boolean canLeftJoin()
canLeftJoin
in interface LinkHistoryHandler<L extends Indexed,R extends Indexed,T extends IndexedLinkManager.Link<L,R>>
public boolean canRightJoin()
canRightJoin
in interface LinkHistoryHandler<L extends Indexed,R extends Indexed,T extends IndexedLinkManager.Link<L,R>>