All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.holunda.camunda.taskpool.api.business.BusinessCommands.kt Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package io.holunda.camunda.taskpool.api.business

import org.axonframework.modelling.command.TargetAggregateIdentifier

/**
 * Create or update data entry command.
 */
data class CreateOrUpdateDataEntryCommand(
  val dataEntry: DataEntry,
  @TargetAggregateIdentifier
  val dataIdentity: String = dataIdentityString(entryType = dataEntry.entryType, entryId = dataEntry.entryId)
)

/**
 * Internal command to create the aggregate.
 */
data class CreateDataEntryCommand(
  val dataEntry: DataEntry,
  @TargetAggregateIdentifier
  val dataIdentity: String = dataIdentityString(entryType = dataEntry.entryType, entryId = dataEntry.entryId)
)

/**
 * Internal command to update the aggregate.
 */
data class UpdateDataEntryCommand(
  val dataEntry: DataEntry,
  @TargetAggregateIdentifier
  val dataIdentity: String = dataIdentityString(entryType = dataEntry.entryType, entryId = dataEntry.entryId)
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy