com.mizar.trinidad.components.faces
Class SessionLogTable
java.lang.Object
com.mizar.persistence.jpa.facade.JPAFacade
com.mizar.faces.jpa.facade.FacesCollection
com.mizar.trinidad.components.TrinidadCollection<RowInterface>
com.mizar.trinidad.components.TrinidadTable
com.mizar.trinidad.components.faces.SessionLogTable
public class SessionLogTable
- extends TrinidadTable
Fields inherited from class com.mizar.trinidad.components.TrinidadTable |
detach, displayedRows, endRow, filterVisible, freeze, lastQueryDescription, model, panelCollectionFeaturesOff, selectionModel, startRow, whereClause, wrap |
Methods inherited from class com.mizar.trinidad.components.TrinidadTable |
addRow, addRowUniquely, addRowUniquely, attributeChangeListener, buildEl, clearLastQueryDescription, clearList, decrementPosition, finalize, getDisplayedRows, getEndRow, getLastQueryDescription, getPanelCollectionFeaturesOff, getSelectedRow, getSelectionModel, getStartRow, getTable, getWhereClause, incrementPosition, isDetach, isEnableAllDetails, isFilterVisible, isFreeze, isInitialized, isPanelCollectionWanted, isShowOneOnly, isWrap, rangeChangeListener, redrawTable, redrawTable, refreshBean, refreshList, removeRow, removeRow, selectionListener, setCurrentRow, setDetach, setDisplayedRows, setEnableAllDetails, setEndRow, setFilterVisible, setFreeze, setLastQueryDescription, setLastQueryDescription, setList, setList, setPanelCollectionFeaturesOff, setPanelCollectionFeaturesOff, setPanelCollectionWanted, setSelectedRow, setSelectedRow, setShowOneOnly, setStartRow, setTable, setWhereClause, setWrap, sortListener, toggleCollectionTools, toggleFilterVisibility |
Methods inherited from class com.mizar.trinidad.components.TrinidadCollection |
accept, addTrinidadCollectionListener, cancel, cancelEditing, clearList, dirtyDependentTables, downloadCSV, downloadPDF, downloadXLS, downloadXML, exportToDbaseFile, fireCurrentRowValueChanged, getDependentTables, getDisclosedRowKeys, getPersistenceUnitName, getPkeyMask, getPostUpdateListMethod, getRedrawComponentId, getSelectedRowKeys, getTableName, getUpdateListReason, isEditable, isExceptionThrown, isNewRowEditing, mergeBean, persistBean, persistBean, redrawCollection, removeBean, removeRow, resetGoToDashboard, resetGoToDashboard, setDisclosedRowKeys, setExceptionThrown, setList, setNewRowEditing, setPkeyMask, setPostUpdateListMethod, setPostUpdateListMethod, setRedrawComponentId, setSelectedRowKeys, setUpdateListReason, startEditing, startEditingNew |
Methods inherited from class com.mizar.faces.jpa.facade.FacesCollection |
closeEm, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, decrementPosition, downloadFile, exportToExcel, find, getBean, getBeanClass, getBeanFromRow, getBeanList, getClassNameRoot, getCurrentMutableRow, getCurrentRow, getEm, getEmScope, getExportName, getGeom, getListSize, getManagedBeanName, getMaxDownloadSize, getMaxResults, getReference, getResultList, getRowClass, getRowConstructor, getRowSQL, getSelectionList, getSingleResult, getTrackedQuery, getTruncatedList, getValue, incrementPosition, isDefaultRowConstructor, isFileDownloadable, isListDirty, isSelectionListDirty, maxResultsOff, maxResultsOff, maxResultsOn, refresh, resetCurrentRow, selectRows, selectRows, selectRowsExpression, selectRowsExpression, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsJPQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, selectRowsSQL, setBeanClass, setCurrentRow, setCurrentRow, setCurrentRow, setDefaultRowConstructor, setEmScope, setExportName, setListDirty, setManagedBeanName, setMaxDownloadSize, setMaxResults, setRowClass, setRowConstructor, setSelectionList, setSelectionListDirty, setTrackedQuery |
Methods inherited from class com.mizar.persistence.jpa.facade.JPAFacade |
closeEm, closeEmf, executeDDL, executeNativeUpdate, executeNativeUpdate, executeUpdate, getClosableConnectionAccessor, getConnection, getConnection, getEm, getEmf, getEmf, getLogger, getPassword, getPassword, getSchemaName, getSequencesValidated, getSid, getSilent, getTableName, getToleratedErrorCodes, getUrl, getUser, getVerbose, mergeBean, persist, persistBean, printAnyBean, queryTester, queryTester, refreshBean, remove, removeBean, removeBean, setEmf, setPersistenceUnitName, setSilent, setToleratedErrorCodes, setVerbose, validateSequences |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionLogTable
public SessionLogTable()
getCurrentInstance
public static SessionLogTable getCurrentInstance()
newRow
public RowInterface newRow()
- Description copied from class:
FacesCollection
- This method is called indirectly by
SessionConstants.getEmf()
as per a RowFactory
so that GenericBeans
are wrapped in their associated RowInterface classes.
This provides the ability to associate Faces methods with the GenericBeans while isolating the
GenericBeans from the presentation layer.
- Overrides:
newRow
in class FacesCollection
- Returns:
- a RowInteface wrapper for a GenericBean
- See Also:
SessionConstants.getBeanTableMap()
,
SessionConstants.getEmf()
,
RowFactory
newRow
public RowInterface newRow(java.lang.Object bean)
- Description copied from class:
FacesCollection
- Currently this only supports creating a new RowInterface instance from an
Entity bean that is a direct superclass of the RowInterface, thus RowInterfaces
cannot be extended. This should be corrected.
- Overrides:
newRow
in class FacesCollection
- Returns:
getSessionLogs
public SessionLogs getSessionLogs()
getList
public java.util.List<RowInterface> getList()
- Overrides:
getList
in class FacesCollection
getModel
public org.apache.myfaces.trinidad.model.SortableModel getModel()
- Overrides:
getModel
in class TrinidadTable
getMaxPollInterval
public long getMaxPollInterval()
pollListener
public void pollListener(org.apache.myfaces.trinidad.event.PollEvent event)
setUseSessionLogs
public void setUseSessionLogs(boolean useSessionLogs)
- Parameters:
useSessionLogs
- if true do not query database, but take list directly from the SessionLogs application scoped bean
isUseSessionLogs
public boolean isUseSessionLogs()
setPollInterval
public void setPollInterval(java.lang.Long pollInterval)
getPollInterval
public java.lang.Long getPollInterval()