1 7 package org.jboss.cache.optimistic; 8 9 import org.jboss.cache.CacheSPI; 10 import org.jboss.cache.Fqn; 11 import org.jboss.cache.Node; 12 import org.jboss.cache.NodeSPI; 13 14 import java.util.Map ; 15 import java.util.Set ; 16 17 24 public interface WorkspaceNode extends Node 25 { 26 31 public Map <Object , NodeSPI> getMergedChildren(); 32 33 38 public DataVersion getVersion(); 39 40 45 public void setVersion(DataVersion version); 46 47 52 public Set <Object > getKeys(); 53 54 59 public boolean isDirty(); 60 61 66 public Map <Object , Object > getMergedData(); 67 68 73 public NodeSPI getNode(); 74 75 public Set <Object > getChildrenNames(); 76 77 83 public TransactionWorkspace getTransactionWorkspace(); 84 85 88 public boolean isCreated(); 89 90 93 public void markAsCreated(); 94 95 104 public NodeSPI createChild(Object child_name, NodeSPI parent, CacheSPI cache, DataVersion version); 105 106 112 boolean isVersioningImplicit(); 113 114 120 void setVersioningImplicit(boolean b); 121 122 125 boolean isDeleted(); 126 127 132 void markAsDeleted(boolean marker); 133 134 140 void markAsDeleted(boolean marker, boolean recursive); 141 142 148 NodeSPI getChild(Object o); 149 150 156 NodeSPI getChild(Fqn f); 157 } 158 | Popular Tags |