@Component
@Transactional(propagation = Propagation.REQUIRES_NEW)
class MiscMutations(val legalInformationService: LegalInformationService) : Mutation

Contains all misc mutations

Constructors

Link copied to clipboard
constructor(legalInformationService: LegalInformationService)

Properties

Functions

Link copied to clipboard
@AutoPayloadType(description = "The created LegalInformation")
suspend fun createLegalInformation(input: CreateLegalInformationInput, dfe: DataFetchingEnvironment): LegalInformation

Creates a new LegalInformation, requires admin

Link copied to clipboard
suspend fun deleteLegalInformation(input: DeleteNodeInput, dfe: DataFetchingEnvironment): DeleteNodePayload

Deletes the specified LegalInformation, requires admin

Link copied to clipboard
@AutoPayloadType(description = "The updated LegalInformation")
suspend fun updateLegalInformation(input: UpdateLegalInformationInput, dfe: DataFetchingEnvironment): LegalInformation

Updates the specified LegalInformation, requires admin