InstanceService

@Service
class InstanceService(val modelService: ModelService, val fragmentRepository: FragmentRepository, val instanceRepository: InstanceRepository, val attributeInstanceRepository: AttributeInstanceRepository)

Constructors

Link copied to clipboard
constructor(modelService: ModelService, fragmentRepository: FragmentRepository, instanceRepository: InstanceRepository, attributeInstanceRepository: AttributeInstanceRepository)

Functions

Link copied to clipboard
fun addAssociation(associationInstance: AssociationInstance, fragmentDataID: Long)
Link copied to clipboard
Link copied to clipboard
fun createInstance(nodeURI: String, name: String, uri: String): Fragment?
Link copied to clipboard
Link copied to clipboard
fun deleteInstance(fragmentDataID: Long)
Link copied to clipboard
fun getAllInstances(typeNamePattern: String, variantID: String?, versionID: String?, limit: Int): List<Fragment>
Link copied to clipboard
fun getInstanceFragment(fragmentDataID: Long, fullType: Boolean = true, autowire: Boolean = false): Fragment?
Link copied to clipboard
fun removeAssociation(associationDataID: Long, fragmentDataID: Long)
Link copied to clipboard
fun setAttributes(vararg attributes: AttributeInstance)