1 22 23 package org.xquark.xml.xdbc; 24 25 import java.util.List ; 26 27 33 public interface XMLCollection extends Configurable 34 { 35 36 37 38 39 40 41 42 43 44 45 46 51 public void close() throws XMLDBCException; 52 53 54 55 56 57 62 public String getName() throws XMLDBCException; 63 64 69 public String getDescription() throws XMLDBCException; 70 71 76 public void setDescription(String description) throws XMLDBCException; 77 78 83 public long getDocumentCount() throws XMLDBCException; 84 85 90 public boolean isReadOnly() throws XMLDBCException; 91 92 97 public void setReadOnly(boolean readOnly) throws XMLDBCException; 98 99 104 public XMLConnection getConnection() throws XMLDBCException; 105 106 107 108 109 110 121 public XMLDocumentFiler getDocumentFiler() throws XMLDBCException; 122 123 132 public XMLDocument getDocument(String documentID) throws XMLDBCException; 133 134 140 public boolean removeDocument(String documentID) throws XMLDBCException; 141 142 147 public int removeAllDocuments() throws XMLDBCException; 148 149 155 public boolean containsDocument(String documentID) throws XMLDBCException; 156 157 164 public boolean renameDocument(String oldID, String newID) throws XMLDBCException; 165 166 174 public List getIdentifierList() throws XMLDBCException; 175 } 176 | Popular Tags |