-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new event subclasses and improve auditing APIs
Add two abstract event types to easily identify events that affect the needs attention and troubled flags. Add new APIs for retrieving all the auditables that have an event of a given type. Use generic types.
- Loading branch information
Showing
18 changed files
with
376 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
.../java/ubic/gemma/model/common/auditAndSecurity/eventType/NeedsAttentionAlteringEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package ubic.gemma.model.common.auditAndSecurity.eventType; | ||
|
||
import ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails; | ||
|
||
/** | ||
* Base class for events altering {@link CurationDetails#getNeedsAttention()}. | ||
*/ | ||
public abstract class NeedsAttentionAlteringEvent extends CurationDetailsEvent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...a/ubic/gemma/model/common/auditAndSecurity/eventType/TroubledStatusFlagAlteringEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package ubic.gemma.model.common.auditAndSecurity.eventType; | ||
|
||
import ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails; | ||
|
||
/** | ||
* Base class for events that alter the {@link CurationDetails#getTroubled()} flag. | ||
* @author poirigui | ||
*/ | ||
public abstract class TroubledStatusFlagAlteringEvent extends CurationDetailsEvent { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.