From 3f4cb880de2857fb6e527a53637b396be77d5be3 Mon Sep 17 00:00:00 2001 From: slewis Date: Tue, 20 May 2008 16:35:08 +0000 Subject: Additions to ContainerStore/ContainerEntry --- .../src/org/eclipse/ecf/storage/IContainerStore.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'framework/bundles') diff --git a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IContainerStore.java b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IContainerStore.java index 43f005d53..2e7ec904f 100644 --- a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IContainerStore.java +++ b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/storage/IContainerStore.java @@ -36,7 +36,19 @@ public interface IContainerStore extends IAdaptable { */ public IContainerEntry store(IStorableContainerAdapter containerAdapter); + /** + * Retrieve an IContainerEntry for a given container ID. + * + * @param containerID the containerID to retrieve. Must not be null. + * @return IContainerEntry found, or null if container with given ID not found. + */ public IContainerEntry retrieve(ID containerID); + /** + * Retrieve an IContainerEntry for a given {@link IIDEntry}. + * + * @param idEntry the idEntry to retrieve. Must not be null. + * @return IContainerEntry found, or null if container with given ID not found. + */ public IContainerEntry retrieve(IIDEntry idEntry); } -- cgit v1.2.3