package org.dbxml.core.corba.db;

/**
 *	Generated from IDL definition of interface "Collection"
 *	@author JacORB IDL compiler 
 */

public interface CollectionOperations
	extends org.dbxml.core.corba.db.ServantManagementOperations
{
	java.lang.String getName() throws org.dbxml.core.corba.db.APIException;
	java.lang.String getCanonicalName() throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.CollectionManager getCollectionManager() throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.Collection getParentCollection() throws org.dbxml.core.corba.db.APIException;
	java.lang.String[] listCollections() throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.Collection getCollection(java.lang.String path) throws org.dbxml.core.corba.db.APIException;
	java.lang.String insertDocument(java.lang.String nam, org.dbxml.core.corba.db.EncodedBuffer doc) throws org.dbxml.core.corba.db.APIException;
	void removeDocument(java.lang.String id) throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.EncodedBuffer getDocument(java.lang.String id, long stamp) throws org.dbxml.core.corba.db.APIException;
	void setDocument(java.lang.String id, org.dbxml.core.corba.db.EncodedBuffer doc) throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.DocumentSet getDocuments() throws org.dbxml.core.corba.db.APIException;
	java.lang.String[] listDocuments() throws org.dbxml.core.corba.db.APIException;
	int getDocumentCount() throws org.dbxml.core.corba.db.APIException;
	java.lang.String createNewOID() throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.EncodedBuffer queryCollection(java.lang.String style, java.lang.String query, org.dbxml.core.corba.db.NamedVal[] namespaces, long stamp) throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.EncodedBuffer queryDocument(java.lang.String style, java.lang.String query, org.dbxml.core.corba.db.NamedVal[] namespaces, java.lang.String id, long stamp) throws org.dbxml.core.corba.db.APIException;
	org.dbxml.core.corba.db.EncodedBuffer invokeXMLObject(java.lang.String uri) throws org.dbxml.core.corba.db.APIException;
}
