Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
b6dd6df6
Unverified
Commit
b6dd6df6
authored
6 years ago
by
Richard Cordovano
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1464 from kellykelly3/1213-com-view-image-report
1213 communications snapshot report
parents
556e7865
0ac7b43c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/java/src/org/sleuthkit/datamodel/CommunicationsFilter.java
+37
-2
37 additions, 2 deletions
...ava/src/org/sleuthkit/datamodel/CommunicationsFilter.java
with
37 additions
and
2 deletions
bindings/java/src/org/sleuthkit/datamodel/CommunicationsFilter.java
+
37
−
2
View file @
b6dd6df6
...
@@ -57,7 +57,7 @@ public CommunicationsFilter() {
...
@@ -57,7 +57,7 @@ public CommunicationsFilter() {
*
*
* @return An unmodifiable list of the filter.
* @return An unmodifiable list of the filter.
*/
*/
List
<
SubFilter
>
getAndFilters
()
{
public
List
<
SubFilter
>
getAndFilters
()
{
return
Collections
.
unmodifiableList
(
andFilters
);
return
Collections
.
unmodifiableList
(
andFilters
);
}
}
...
@@ -74,7 +74,7 @@ public void addAndFilter(SubFilter subFilter) {
...
@@ -74,7 +74,7 @@ public void addAndFilter(SubFilter subFilter) {
/**
/**
* Unit level filter.
* Unit level filter.
*/
*/
static
abstract
class
SubFilter
{
public
static
abstract
class
SubFilter
{
/**
/**
* Returns a string description of the filter.
* Returns a string description of the filter.
...
@@ -161,6 +161,23 @@ public DateRangeFilter(long startDate, long endDate) {
...
@@ -161,6 +161,23 @@ public DateRangeFilter(long startDate, long endDate) {
this
.
endDate
=
endDate
;
this
.
endDate
=
endDate
;
}
}
}
}
/**
* Get the start date.
*
* @return Seconds from java epoch or zero if no value was set
*/
public
long
getStartDate
()
{
return
startDate
;
}
/**
* Get the end date.
* @return Seconds from java epoch or zero if no value was set
*/
public
long
getEndDate
()
{
return
endDate
;
}
@Override
@Override
public
String
getDescription
()
{
public
String
getDescription
()
{
...
@@ -210,6 +227,15 @@ public AccountTypeFilter(Collection<Account.Type> accountTypes) {
...
@@ -210,6 +227,15 @@ public AccountTypeFilter(Collection<Account.Type> accountTypes) {
super
();
super
();
this
.
accountTypes
=
new
HashSet
<
Account
.
Type
>(
accountTypes
);
this
.
accountTypes
=
new
HashSet
<
Account
.
Type
>(
accountTypes
);
}
}
/**
* Get the selected Account Types.
*
* @return A Set of Type values
*/
public
Set
<
Account
.
Type
>
getAccountTypes
()
{
return
accountTypes
;
}
@Override
@Override
public
String
getDescription
()
{
public
String
getDescription
()
{
...
@@ -260,6 +286,15 @@ public DeviceFilter(Collection<String> deviceIds) {
...
@@ -260,6 +286,15 @@ public DeviceFilter(Collection<String> deviceIds) {
public
String
getDescription
()
{
public
String
getDescription
()
{
return
"Filters accounts and relationships by device id."
;
return
"Filters accounts and relationships by device id."
;
}
}
/**
* Gets a set of device ids
*
* @return Collection of device ids
*/
public
Collection
<
String
>
getDevices
()
{
return
deviceIds
;
}
/**
/**
* Get the SQL string for the filter.
* Get the SQL string for the filter.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment