Skip to content
Snippets Groups Projects
Commit 0d1e799b authored by Raman's avatar Raman
Browse files

937: Accounts sub-trees do not refresh their contents after being initial viewed

parent 2adff138
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