Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2014-01-06 22:35:04 +0000
committerRoberto E. Escobar2014-03-04 19:42:04 +0000
commit0401edd3537d9bc1617b2027f5ecf7f62db6ee4f (patch)
treeed49d5cc450df09492b3aaee14c02f68530e0d91 /plugins/org.eclipse.osee.orcs
parent59073390e0a37cebc611d195ad018419b953da2c (diff)
downloadorg.eclipse.osee-0401edd3537d9bc1617b2027f5ecf7f62db6ee4f.tar.gz
org.eclipse.osee-0401edd3537d9bc1617b2027f5ecf7f62db6ee4f.tar.xz
org.eclipse.osee-0401edd3537d9bc1617b2027f5ecf7f62db6ee4f.zip
feature[ats_AZTD3]: Add additional relation searching
Diffstat (limited to 'plugins/org.eclipse.osee.orcs')
-rw-r--r--plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/search/QueryBuilder.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/search/QueryBuilder.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/search/QueryBuilder.java
index 64473f799e6..651ba20618f 100644
--- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/search/QueryBuilder.java
+++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/search/QueryBuilder.java
@@ -131,6 +131,27 @@ public interface QueryBuilder {
QueryBuilder andExists(IRelationType relationType) throws OseeCoreException;
/**
+ * Search criteria that checks for non-existence of a relation type
+ *
+ * @param relationTypeSide the type to check for non-existence
+ */
+ QueryBuilder andNotExists(IRelationTypeSide relationTypeSide) throws OseeCoreException;
+
+ /**
+ * Search criteria that follows the relation link ending on the given side
+ *
+ * @param relationTypeSide the type to start following the link from
+ */
+ QueryBuilder andExists(IRelationTypeSide relationTypeSide) throws OseeCoreException;
+
+ /**
+ * Search criteria that checks for non-existence of a relation type
+ *
+ * @param relationType the type to check for non-existence
+ */
+ QueryBuilder andNotExists(IRelationType relationType) throws OseeCoreException;
+
+ /**
* Artifact name equals value
*/
QueryBuilder andNameEquals(String artifactName) throws OseeCoreException;

Back to the top