@DomainNode(searchQueryName = "searchLabels")
@Authorization(name = "READ", allowFromRelated = ["trackables", "addedEvents", "removedEvents"] )
@Authorization(name = "MANAGE_LABELS", allowFromRelated = ["trackables"] )
@Authorization(name = "EXPORT_LABELS", allowFromRelated = ["trackables"] )
Label used to mark Issues with. A Label consists of a name, a description and a color. Issues may be synced to all IMSProjects of Trackables they are part of. READ is granted if READ is granted on any Trackable in `trackables`.
Constructors
Link copied to clipboard
constructor(createdAt: OffsetDateTime, lastModifiedAt: OffsetDateTime, name: String, description: String, color: String)
Properties
Link copied to clipboard
@NodeRelationship(type = "ADDED_LABEL", direction = Direction.INCOMING)
Link copied to clipboard
The DateTime this entity was created at.
Link copied to clipboard
The description of this entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The DateTime this entity was last modified at.
Link copied to clipboard
@NodeRelationship(type = "LAST_MODIFIED_BY", direction = Direction.OUTGOING)
@FilterProperty
The User who last modified this entity.
Link copied to clipboard
@ConvertWith(converter = LazyLoadingContextConverter::class)
Link copied to clipboard
Version used for optimistic locking
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NodeRelationship(type = "REMOVED_LABEL", direction = Direction.INCOMING)
Link copied to clipboard
@NodeRelationship(type = "LABEL", direction = Direction.INCOMING)
@FilterProperty
Trackables this Label is part of.
Functions
Link copied to clipboard
internal suspend fun getFromGraphQL(@Autowired nodeQueryParser: NodeQueryParser, dataFetchingEnvironment: DataFetchingEnvironment): Any?
Link copied to clipboard
Link copied to clipboard
internal suspend fun <T : Node?> loadNodesOfRelationship(property: KProperty1<*, *>, loader: LazyLoadingSubqueryGenerator<T>.() -> Unit?)
Link copied to clipboard
Link copied to clipboard
protected fun <T : Node> NodeSetProperty(): PropertyDelegateProvider<Node, NodeSetPropertyDelegate<T>>
Link copied to clipboard