Class Ticket
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.AbstractDescribable
ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
ubic.gemma.model.common.auditAndSecurity.curation.Ticket
- All Implemented Interfaces:
Securable, Auditable, Securable, Describable, Identifiable
A curation ticket targeting one or more entities (initially
TicketTargetType.EXPRESSION_EXPERIMENT and
TicketTargetType.ARRAY_DESIGN). Replaces the legacy
CurationDetails 1:1 model — see Decision 1 of
AUDIT_AS_WORKFLOW_RECCE.md.
Tickets are themselves Auditable,
so two log streams coexist (Decision 6):
TicketEvents — domain workflow facts (state transitions, comments, assignments).- Audit events on the inherited audit trail — governance who-touched- this-row facts.
The name property (inherited from
AbstractDescribable) holds the ticket title.
- Author:
- paul
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: The name should be compared in a case-insensitive manner.getBody()Curator-facing instructions text — what the reporter writes when filing the ticket, what the detail page renders as multi-line body and the dashboard clamps to 2 lines.getMode()getState()getTitle()The ticket title.getType()inthashCode()The default hash code for a describable is based on its name, ignoring case.booleanvoidsetAcceptsTargets(boolean acceptsTargets) voidsetAssignee(Contact assignee) voidvoidsetCreatedAt(Date createdAt) voidsetDueDate(Date dueDate) voidsetEvents(List<TicketEvent> events) voidsetExternalIssueSyncState(ExternalIssueSyncState externalIssueSyncState) voidsetExternalIssueUrl(String externalIssueUrl) voidsetMode(TicketMode mode) voidsetPayload(String payload) voidsetPayloadSchemaVersion(Integer payloadSchemaVersion) voidsetPriority(TicketPriority priority) voidsetReporter(Contact reporter) voidsetState(TicketState state) voidsetTargets(Set<TicketTarget> targets) voidvoidsetType(TicketType type) voidsetUpdatedAt(Date updatedAt) Methods inherited from class AbstractAuditable
getAuditTrail, setAuditTrailMethods inherited from class AbstractDescribable
getDescription, getName, setDescription, setName, toStringMethods inherited from class AbstractIdentifiable
getId, setIdMethods inherited from interface Identifiable
getId
-
Constructor Details
-
Ticket
public Ticket()
-
-
Method Details
-
getType
-
setType
-
getState
-
setState
-
getPriority
-
setPriority
-
getDueDate
-
setDueDate
-
getTitle
The ticket title. Stored in the inheritedNAMEcolumn. -
setTitle
-
getBody
Curator-facing instructions text — what the reporter writes when filing the ticket, what the detail page renders as multi-line body and the dashboard clamps to 2 lines. Stored in the inheritedDESCRIPTIONcolumn; this is a convenience alias parallel togetTitle()/setTitle(String). -
setBody
-
getMode
-
isAcceptsTargets
public boolean isAcceptsTargets() -
setAcceptsTargets
public void setAcceptsTargets(boolean acceptsTargets) -
setMode
-
getReporter
-
setReporter
-
getAssignee
-
setAssignee
-
getCreatedAt
-
setCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
getExternalIssueUrl
-
setExternalIssueUrl
-
getExternalIssueSyncState
-
setExternalIssueSyncState
-
getTargets
-
setTargets
-
getEvents
-
setEvents
-
hashCode
public int hashCode()Description copied from class:AbstractDescribableThe default hash code for a describable is based on its name, ignoring case.Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.
- Overrides:
hashCodein classAbstractDescribable
-
equals
Description copied from class:AbstractDescribableImportant note: The name should be compared in a case-insensitive manner. You can useDescribableUtils.equalsByName(Describable, Describable)to get the correct behavior.Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
- Specified by:
equalsin classAbstractDescribable
-
getPayload
-
setPayload
-
getPayloadSchemaVersion
-
setPayloadSchemaVersion
-