1 package de.dlr.shepard.context.references;
2
3 import de.dlr.shepard.context.references.basicreference.entities.BasicReference;
4 import de.dlr.shepard.context.references.basicreference.io.BasicReferenceIO;
5 import java.util.List;
6 import java.util.UUID;
7
8 public interface IReferenceService<T extends BasicReference, S extends BasicReferenceIO> {
9 List<T> getAllReferencesByDataObjectId(long collectionShepardId, long dataObjectShepardId, UUID versionUID);
10
11 T getReference(long collectionShepardId, long shepardDataObjectId, long shepardId, UUID versionUID);
12
13 T createReference(long collectionShepardId, long dataObjectShepardId, S referenceIO);
14
15 void deleteReference(long collectionShepardId, long dataObjectShepardId, long shepardId);
16 }