summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/c2kernel/lookup')
-rw-r--r--src/main/java/com/c2kernel/lookup/Lookup.java19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/main/java/com/c2kernel/lookup/Lookup.java b/src/main/java/com/c2kernel/lookup/Lookup.java
index d71034f..1c7c6c7 100644
--- a/src/main/java/com/c2kernel/lookup/Lookup.java
+++ b/src/main/java/com/c2kernel/lookup/Lookup.java
@@ -7,6 +7,7 @@ import com.c2kernel.common.ObjectAlreadyExistsException;
import com.c2kernel.common.ObjectCannotBeUpdated;
import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.process.auth.Authenticator;
+import com.c2kernel.property.Property;
import com.c2kernel.property.PropertyDescriptionList;
/**
@@ -115,7 +116,7 @@ public interface Lookup {
* @param propvalue The property value to search for
* @return An Iterator of matching Paths
*/
- public Iterator<Path> search(Path start, String propname, String propvalue);
+ public Iterator<Path> search(Path start, Property... props);
/**
* Search for Items of a particular type, based on its PropertyDescription outcome
@@ -124,22 +125,6 @@ public interface Lookup {
* @return An Iterator of matching Paths
*/
public Iterator<Path> search(Path start, PropertyDescriptionList props);
-
- /**
- * Find all ItemPaths in a given subtree of the directory.
- *
- * @param start Search root
- * @return An Iterator of matching Paths
- */
- public Iterator<Path> searchEntities(Path start);
-
- /**
- * Find all DomainPaths in a given subtree of the directory
- *
- * @param start Search root
- * @return An Iterator of matching Paths
- */
- public Iterator<Path> searchAliases(DomainPath start);
/**
* Find all DomainPaths that are aliases for a particular Item or Agent