Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2011-12-29 10:32:18 -0500
committerUwe Stieber2011-12-30 02:00:57 -0500
commitbf5444c63f70a5e104c5bc7c186be8c20fb25697 (patch)
treeabd11592326cbd366da2d9c8df4c70099e622ea3 /target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces
parent27f153c0570bcc14e18221ebec20ebdbbbdfdd71 (diff)
downloadorg.eclipse.tcf-bf5444c63f70a5e104c5bc7c186be8c20fb25697.tar.gz
org.eclipse.tcf-bf5444c63f70a5e104c5bc7c186be8c20fb25697.tar.xz
org.eclipse.tcf-bf5444c63f70a5e104c5bc7c186be8c20fb25697.zip
Target Explorer: Static peer nodes can be renamed via the new editor implementation
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces/IPersistenceService.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces/IPersistenceService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces/IPersistenceService.java
index 02d1419be..67b77254f 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces/IPersistenceService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/interfaces/IPersistenceService.java
@@ -10,6 +10,7 @@
package org.eclipse.tcf.te.runtime.persistence.interfaces;
import java.io.IOException;
+import java.net.URI;
import org.eclipse.tcf.te.runtime.services.interfaces.IService;
@@ -54,4 +55,14 @@ public interface IPersistenceService extends IService {
*/
public boolean delete(Object data) throws IOException;
+ /**
+ * Returns the persistence storage URI for the given data object. The persistence delegate to
+ * use will be determined by adapting the given data object to an {@link IPersistable}.
+ *
+ * @param data The data object. Must not be <code>null</code>.
+ * @return The URI or <code>null</code>.
+ *
+ * @throws IOException - if the operation fails
+ */
+ public URI getURI(Object data) throws IOException;
}

Back to the top