Autopsy  4.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.TimeLineController Class Reference

Classes

class  AutopsyCaseListener
 
class  AutopsyIngestJobListener
 
class  AutopsyIngestModuleListener
 

Public Member Functions

 TimeLineController (Case autoCase) throws IOException
 
synchronized void advance ()
 
void applyDefaultFilters ()
 
ReadOnlyBooleanProperty eventsDBStaleProperty ()
 
Case getAutopsyCase ()
 
synchronized ReadOnlyBooleanProperty getCanAdvance ()
 
synchronized ReadOnlyBooleanProperty getCanRetreat ()
 
FilteredEventsModel getEventsModel ()
 
ObservableList< DescriptionFiltergetQuickHideFilters ()
 
synchronized ObservableList< Long > getSelectedEventIDs ()
 
synchronized ReadOnlyObjectProperty< Interval > getSelectedTimeRange ()
 
ReadOnlyStringProperty getStatusProperty ()
 
synchronized ReadOnlyListProperty< Task<?> > getTasks ()
 
boolean isEventsDBStale ()
 
synchronized void monitorTask (final Task<?> task)
 
synchronized void pushDescrLOD (DescriptionLoD newLOD)
 
synchronized void pushEventTypeZoom (EventTypeZoomLevel typeZoomeLevel)
 
synchronized void pushFilters (RootFilter filter)
 
synchronized void pushPeriod (ReadablePeriod period)
 
synchronized void pushTimeAndType (Interval timeRange, EventTypeZoomLevel typeZoom)
 
synchronized boolean pushTimeRange (Interval timeRange)
 
synchronized void pushZoomInTime ()
 
synchronized void pushZoomOutTime ()
 
synchronized void retreat ()
 
void selectEventIDs (Collection< Long > events)
 
void selectTimeAndType (Interval interval, EventType type)
 
void setStatus (String string)
 
synchronized void setViewMode (VisualizationMode visualizationMode)
 
void showFullRange ()
 
void shutDownTimeLine ()
 
synchronized ReadOnlyStringProperty taskMessageProperty ()
 
synchronized ReadOnlyDoubleProperty taskProgressProperty ()
 
synchronized ReadOnlyStringProperty taskTitleProperty ()
 
synchronized ReadOnlyObjectProperty< VisualizationModeviewModeProperty ()
 
void zoomOutToActivity ()
 

Static Public Member Functions

static DateTimeZone getJodaTimeZone ()
 
static ReadOnlyObjectProperty< TimeZone > getTimeZone ()
 
static ZoneId getTimeZoneID ()
 
static DateTimeFormatter getZonedFormatter ()
 
static synchronized void setTimeZone (TimeZone timeZone)
 

Private Member Functions

synchronized void advance (ZoomParams newState)
 
boolean checkAndPromptForRebuild ()
 
void closeTimelineWindow ()
 
void confirmOutOfDateRebuildIfWindowOpen () throws MissingResourceException, HeadlessException
 
ArrayList< String > getRebuildReasons ()
 
boolean isWindowOpen ()
 
void rebuildRepoHelper (Function< Consumer< Worker.State >, CancellationProgressTask<?>> repoBuilder)
 
void setEventsDBStale (final Boolean stale)
 
void setIngestRunning (boolean ingestRunning)
 
synchronized void showWindow ()
 

Private Attributes

final Case autoCase
 
final PropertyChangeListener caseListener = new AutopsyCaseListener()
 
final ReadOnlyObjectWrapper< ZoomParamscurrentParams = new ReadOnlyObjectWrapper<>()
 
final ReadOnlyBooleanWrapper eventsDBStale = new ReadOnlyBooleanWrapper(true)
 
final EventsRepository eventsRepository
 
final ExecutorService executor = Executors.newSingleThreadExecutor()
 
final FilteredEventsModel filteredEvents
 
final History< ZoomParamshistoryManager = new History<>()
 
final PropertyChangeListener ingestJobListener = new AutopsyIngestJobListener()
 
final PropertyChangeListener ingestModuleListener = new AutopsyIngestModuleListener()
 
final ZoomParams InitialZoomState
 
boolean listeningToAutopsy = false
 
TimeLineTopComponent mainFrame
 
final PerCaseTimelineProperties perCaseTimelineProperties
 
final PromptDialogManager promptDialogManager = new PromptDialogManager(this)
 
final ObservableList< DescriptionFilterquickHideFilters = FXCollections.observableArrayList()
 
final ObservableList< Long > selectedEventIDs = FXCollections.<Long>synchronizedObservableList(FXCollections.<Long>observableArrayList())
 
final ReadOnlyObjectWrapper< Interval > selectedTimeRange = new ReadOnlyObjectWrapper<>()
 
final ReadOnlyStringWrapper status = new ReadOnlyStringWrapper()
 
final ReadOnlyStringWrapper taskMessage = new ReadOnlyStringWrapper()
 
final ReadOnlyDoubleWrapper taskProgress = new ReadOnlyDoubleWrapper(-1)
 
final ReadOnlyListWrapper< Task<?> > tasks = new ReadOnlyListWrapper<>(FXCollections.observableArrayList())
 
final ReadOnlyStringWrapper taskTitle = new ReadOnlyStringWrapper()
 
final ReadOnlyObjectWrapper< VisualizationModeviewMode = new ReadOnlyObjectWrapper<>(VisualizationMode.COUNTS)
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(TimeLineController.class.getName())
 
static final ReadOnlyObjectWrapper< TimeZone > timeZone = new ReadOnlyObjectWrapper<>(TimeZone.getDefault())
 

Detailed Description

Controller in the MVC design along with model = FilteredEventsModel and views = TimeLineView. Forwards interpreted user gestures form views to model. Provides model to view. Is entry point for timeline module.

Concurrency Policy:

Definition at line 104 of file TimeLineController.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.TimeLineController.TimeLineController ( Case  autoCase) throws IOException

Member Function Documentation

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.advance ( )
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.advance ( ZoomParams  newState)
private

Definition at line 599 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.applyDefaultFilters ( )
boolean org.sleuthkit.autopsy.timeline.TimeLineController.checkAndPromptForRebuild ( )
private

Definition at line 409 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.closeTimelineWindow ( )
private

Definition at line 343 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.confirmOutOfDateRebuildIfWindowOpen ( ) throws MissingResourceException, HeadlessException
private

prompt the user to rebuild the db because the db is out of date and doesn't include things from subsequent ingests ONLY IF THE TIMELINE WINDOW IS OPEN

Returns
true if they agree to rebuild

Definition at line 715 of file TimeLineController.java.

ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.TimeLineController.eventsDBStaleProperty ( )

Definition at line 237 of file TimeLineController.java.

Case org.sleuthkit.autopsy.timeline.TimeLineController.getAutopsyCase ( )
synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.TimeLineController.getCanAdvance ( )
synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.TimeLineController.getCanRetreat ( )
FilteredEventsModel org.sleuthkit.autopsy.timeline.TimeLineController.getEventsModel ( )
static DateTimeZone org.sleuthkit.autopsy.timeline.TimeLineController.getJodaTimeZone ( )
static
ObservableList<DescriptionFilter> org.sleuthkit.autopsy.timeline.TimeLineController.getQuickHideFilters ( )
ArrayList<String> org.sleuthkit.autopsy.timeline.TimeLineController.getRebuildReasons ( )
private
synchronized ObservableList<Long> org.sleuthkit.autopsy.timeline.TimeLineController.getSelectedEventIDs ( )
synchronized ReadOnlyObjectProperty<Interval> org.sleuthkit.autopsy.timeline.TimeLineController.getSelectedTimeRange ( )
Returns
a read only view of the selected interval.

Definition at line 233 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.TimeLineResultView.getSummaryString().

ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.getStatusProperty ( )

status is a string that will be displayed in the status bar as a kind of user hint/information when it is not empty

Returns
the status property

Definition at line 144 of file TimeLineController.java.

synchronized ReadOnlyListProperty<Task<?> > org.sleuthkit.autopsy.timeline.TimeLineController.getTasks ( )

Definition at line 168 of file TimeLineController.java.

static ReadOnlyObjectProperty<TimeZone> org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZone ( )
static
static ZoneId org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID ( )
static
static DateTimeFormatter org.sleuthkit.autopsy.timeline.TimeLineController.getZonedFormatter ( )
static
boolean org.sleuthkit.autopsy.timeline.TimeLineController.isEventsDBStale ( )

is the events db out of date

Returns
true if the events db is out of date , false otherwise

Definition at line 727 of file TimeLineController.java.

boolean org.sleuthkit.autopsy.timeline.TimeLineController.isWindowOpen ( )
private

is the timeline window open.

Returns
true if the timeline window is open

Definition at line 703 of file TimeLineController.java.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.monitorTask ( final Task<?>  task)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushDescrLOD ( DescriptionLoD  newLOD)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushEventTypeZoom ( EventTypeZoomLevel  typeZoomeLevel)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushFilters ( RootFilter  filter)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushPeriod ( ReadablePeriod  period)

request a time range the same length as the given period and centered around the middle of the currently selected range

Parameters
period

Definition at line 465 of file TimeLineController.java.

References org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAround(), and org.sleuthkit.autopsy.timeline.utils.IntervalUtils.middleOf().

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeAndType ( Interval  timeRange,
EventTypeZoomLevel  typeZoom 
)
synchronized boolean org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeRange ( Interval  timeRange)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushZoomInTime ( )
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushZoomOutTime ( )
void org.sleuthkit.autopsy.timeline.TimeLineController.rebuildRepoHelper ( Function< Consumer< Worker.State >, CancellationProgressTask<?>>  repoBuilder)
private
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.retreat ( )
void org.sleuthkit.autopsy.timeline.TimeLineController.selectEventIDs ( Collection< Long >  events)
void org.sleuthkit.autopsy.timeline.TimeLineController.selectTimeAndType ( Interval  interval,
EventType  type 
)
void org.sleuthkit.autopsy.timeline.TimeLineController.setEventsDBStale ( final Boolean  stale)
private
Parameters
stalethe value of stale

Definition at line 735 of file TimeLineController.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error().

void org.sleuthkit.autopsy.timeline.TimeLineController.setIngestRunning ( boolean  ingestRunning)
private
void org.sleuthkit.autopsy.timeline.TimeLineController.setStatus ( String  string)

Definition at line 148 of file TimeLineController.java.

static synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.setTimeZone ( TimeZone  timeZone)
static
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.setViewMode ( VisualizationMode  visualizationMode)

Definition at line 488 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.showFullRange ( )
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.showWindow ( )
private

private method to build gui if necessary and make it visible.

Definition at line 523 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.shutDownTimeLine ( )
synchronized ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskMessageProperty ( )

Definition at line 176 of file TimeLineController.java.

synchronized ReadOnlyDoubleProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskProgressProperty ( )

Definition at line 172 of file TimeLineController.java.

synchronized ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskTitleProperty ( )

Definition at line 180 of file TimeLineController.java.

synchronized ReadOnlyObjectProperty<VisualizationMode> org.sleuthkit.autopsy.timeline.TimeLineController.viewModeProperty ( )
void org.sleuthkit.autopsy.timeline.TimeLineController.zoomOutToActivity ( )

Member Data Documentation

final Case org.sleuthkit.autopsy.timeline.TimeLineController.autoCase
private

Definition at line 151 of file TimeLineController.java.

final PropertyChangeListener org.sleuthkit.autopsy.timeline.TimeLineController.caseListener = new AutopsyCaseListener()
private

Definition at line 191 of file TimeLineController.java.

final ReadOnlyObjectWrapper<ZoomParams> org.sleuthkit.autopsy.timeline.TimeLineController.currentParams = new ReadOnlyObjectWrapper<>()
private

Definition at line 214 of file TimeLineController.java.

final ReadOnlyBooleanWrapper org.sleuthkit.autopsy.timeline.TimeLineController.eventsDBStale = new ReadOnlyBooleanWrapper(true)
private

Definition at line 248 of file TimeLineController.java.

final EventsRepository org.sleuthkit.autopsy.timeline.TimeLineController.eventsRepository
private

Definition at line 205 of file TimeLineController.java.

final ExecutorService org.sleuthkit.autopsy.timeline.TimeLineController.executor = Executors.newSingleThreadExecutor()
private

Definition at line 126 of file TimeLineController.java.

final FilteredEventsModel org.sleuthkit.autopsy.timeline.TimeLineController.filteredEvents
private

Definition at line 203 of file TimeLineController.java.

final History<ZoomParams> org.sleuthkit.autopsy.timeline.TimeLineController.historyManager = new History<>()
private

Definition at line 211 of file TimeLineController.java.

final PropertyChangeListener org.sleuthkit.autopsy.timeline.TimeLineController.ingestJobListener = new AutopsyIngestJobListener()
private

Definition at line 192 of file TimeLineController.java.

final PropertyChangeListener org.sleuthkit.autopsy.timeline.TimeLineController.ingestModuleListener = new AutopsyIngestModuleListener()
private

Definition at line 193 of file TimeLineController.java.

final ZoomParams org.sleuthkit.autopsy.timeline.TimeLineController.InitialZoomState
private

Definition at line 208 of file TimeLineController.java.

boolean org.sleuthkit.autopsy.timeline.TimeLineController.listeningToAutopsy = false
private

Definition at line 189 of file TimeLineController.java.

final Logger org.sleuthkit.autopsy.timeline.TimeLineController.LOGGER = Logger.getLogger(TimeLineController.class.getName())
staticprivate

Definition at line 106 of file TimeLineController.java.

TimeLineTopComponent org.sleuthkit.autopsy.timeline.TimeLineController.mainFrame
private

Definition at line 185 of file TimeLineController.java.

final PerCaseTimelineProperties org.sleuthkit.autopsy.timeline.TimeLineController.perCaseTimelineProperties
private

Definition at line 152 of file TimeLineController.java.

final PromptDialogManager org.sleuthkit.autopsy.timeline.TimeLineController.promptDialogManager = new PromptDialogManager(this)
private

Definition at line 250 of file TimeLineController.java.

final ObservableList<DescriptionFilter> org.sleuthkit.autopsy.timeline.TimeLineController.quickHideFilters = FXCollections.observableArrayList()
private

Definition at line 155 of file TimeLineController.java.

final ObservableList<Long> org.sleuthkit.autopsy.timeline.TimeLineController.selectedEventIDs = FXCollections.<Long>synchronizedObservableList(FXCollections.<Long>observableArrayList())
private

Definition at line 218 of file TimeLineController.java.

final ReadOnlyObjectWrapper<Interval> org.sleuthkit.autopsy.timeline.TimeLineController.selectedTimeRange = new ReadOnlyObjectWrapper<>()
private

Definition at line 228 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.status = new ReadOnlyStringWrapper()
private

Definition at line 136 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskMessage = new ReadOnlyStringWrapper()
private

Definition at line 132 of file TimeLineController.java.

final ReadOnlyDoubleWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskProgress = new ReadOnlyDoubleWrapper(-1)
private

Definition at line 130 of file TimeLineController.java.

final ReadOnlyListWrapper<Task<?> > org.sleuthkit.autopsy.timeline.TimeLineController.tasks = new ReadOnlyListWrapper<>(FXCollections.observableArrayList())
private

Definition at line 128 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskTitle = new ReadOnlyStringWrapper()
private

Definition at line 134 of file TimeLineController.java.

final ReadOnlyObjectWrapper<TimeZone> org.sleuthkit.autopsy.timeline.TimeLineController.timeZone = new ReadOnlyObjectWrapper<>(TimeZone.getDefault())
staticprivate
final ReadOnlyObjectWrapper<VisualizationMode> org.sleuthkit.autopsy.timeline.TimeLineController.viewMode = new ReadOnlyObjectWrapper<>(VisualizationMode.COUNTS)
private

Definition at line 196 of file TimeLineController.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.