Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2013-07-08 16:01:47 +0000
committerjmisinco2013-07-09 20:37:52 +0000
commit0f3f0522e0f9991fa9aae37f9bbe22c6abf55957 (patch)
treefc24cf862a90a45ee7c271f5b046c263bdc4c72a /plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java
parent788466fcb13267248f4fbdd725ab319ccf62ea48 (diff)
downloadorg.eclipse.osee-0f3f0522e0f9991fa9aae37f9bbe22c6abf55957.tar.gz
org.eclipse.osee-0f3f0522e0f9991fa9aae37f9bbe22c6abf55957.tar.xz
org.eclipse.osee-0f3f0522e0f9991fa9aae37f9bbe22c6abf55957.zip
feature[ats_SF2V6]: Use OrcsTypes in OrcsDataStore
OrcsDataStore needs OrcsTypes which are created in the orcs.core bundle. The orcs.core bundle needs the OrcsDataStore in order to create the OrcsTypes. Once the data store is up, orcs api can come up, create the orcs types and pass them down to the data store. The datastore needs these types in order to set the data proxy on the attributes. Change-Id: Ie208abba6c4c73d81ebbd3b2e07e6fe6dd4cbb85
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java')
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java
index 9546df95ca1..2001b7a2508 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/ds/OrcsTypesDataStore.java
@@ -15,6 +15,7 @@ import java.util.concurrent.Callable;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.data.IAttributeType;
import org.eclipse.osee.framework.core.data.IRelationType;
+import org.eclipse.osee.framework.core.data.Identity;
import org.eclipse.osee.framework.resource.management.IResource;
/**
@@ -24,9 +25,12 @@ public interface OrcsTypesDataStore {
Callable<IResource> getOrcsTypesLoader(String sessionId);
- Callable<?> purgeArtifactsByArtifactType(String sessionId, Collection<? extends IArtifactType> artifactTypes);
+ Callable<Void> purgeArtifactsByArtifactType(String sessionId, Collection<? extends IArtifactType> artifactTypes);
- Callable<?> purgeAttributesByAttributeType(String sessionId, Collection<? extends IAttributeType> attributeTypes);
+ Callable<Void> purgeAttributesByAttributeType(String sessionId, Collection<? extends IAttributeType> attributeTypes);
+
+ Callable<Void> purgeRelationsByRelationType(String sessionId, Collection<? extends IRelationType> relationTypes);
+
+ Callable<Void> persistTypeIdentities(String sessionId, Collection<Identity<Long>> types);
- Callable<?> purgeRelationsByRelationType(String sessionId, Collection<? extends IRelationType> relationTypes);
}

Back to the top