1 package com.ca.directory.jxplorer; 2 3 import com.ca.commons.naming.*; 4 import com.ca.commons.jndi.SchemaOps; 5 import com.ca.directory.jxplorer.broker.Broker; 6 7 import javax.naming.directory.DirContext ; 8 9 17 18 public interface DataSource 19 { 20 28 public DataQuery getChildren(DN nodeDN); 29 30 38 39 public DataQuery getEntry(DN nodeDN); 40 41 48 49 public DataQuery exists(DN nodeDN); 50 51 57 59 66 67 public DataQuery getRecommendedObjectClasses(DN dn); 68 69 72 73 public SchemaOps getSchemaOps(); 74 75 79 80 public boolean isActive(); 81 82 83 84 85 87 97 98 public DataQuery modifyEntry(DXEntry oldEntry, DXEntry newEntry); 99 100 101 107 108 109 public DataQuery copyTree(DN oldNodeDN, DN newNodeDN); 111 112 120 121 public DataQuery search(DN nodeDN, String filter, int searchLevel, String [] returnAttrs); 122 123 124 133 134 public boolean isModifiable(); 135 136 141 142 public DirContext getDirContext(); 143 144 149 150 public Broker getBroker(); 151 152 165 166 public void addDataListener(DataListener l); 167 168 169 173 174 public void removeDataListener(DataListener l); 175 176 183 184 public DataQuery extendedRequest(DataQuery query); 185 } | Popular Tags |