Add get cm handles by modules names - persistence layer
[cps.git] / cps-service / src / main / java / org / onap / cps / spi / CpsAdminPersistenceService.java
index b05385f..f29735f 100755 (executable)
@@ -58,6 +58,15 @@ public interface CpsAdminPersistenceService {
     @NonNull
     Collection<Anchor> getAnchors(@NonNull String dataspaceName);
 
+    /**
+     * Get anchors for the given dataspace name and collection of module names.
+     *
+     * @param dataspaceName dataspace name
+     * @param moduleNames a collection of module names
+     * @return a collection of anchors
+     */
+    Collection<Anchor> getAnchors(String dataspaceName, Collection<String> moduleNames);
+
     /**
      * Get an anchor in the given dataspace using the anchor name.
      *