Skip to content
Snippets Groups Projects
Unverified Commit 8eeb63a4 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #1059 from raman-bt/custom-release-2.11.0

937: Accounts sub-trees do not refresh their contents after being ini…
parents b24bd676 b27abe0c
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ public class BlackboardArtifact implements Content { ...@@ -53,7 +53,7 @@ public class BlackboardArtifact implements Content {
private final int artifactTypeId; private final int artifactTypeId;
private final String artifactTypeName; private final String artifactTypeName;
private final String displayName; private final String displayName;
private final ReviewStatus reviewStatus; private ReviewStatus reviewStatus;
private final SleuthkitCase sleuthkitCase; private final SleuthkitCase sleuthkitCase;
private final List<BlackboardAttribute> attrsCache = new ArrayList<BlackboardAttribute>(); private final List<BlackboardAttribute> attrsCache = new ArrayList<BlackboardAttribute>();
private boolean loadedCacheFromDb = false; private boolean loadedCacheFromDb = false;
...@@ -285,6 +285,19 @@ public ReviewStatus getReviewStatus() { ...@@ -285,6 +285,19 @@ public ReviewStatus getReviewStatus() {
return reviewStatus; return reviewStatus;
} }
/**
* Sets the review status of this artifact, i.e., whether it has been
* approved, rejected, or is still waiting for a decision from the user.
*
* @param newStatus new status of the artifact
*
* @throws TskCoreException If an error occurs
*/
public void setReviewStatus(ReviewStatus newStatus) throws TskCoreException {
getSleuthkitCase().setReviewStatus(this, newStatus);
reviewStatus = newStatus;
}
/** /**
* Adds an attribute to this artifact. * Adds an attribute to this artifact.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment