package org.dbxml.core.corba.db;

import org.omg.PortableServer.POA;
/**
 *	Generated from IDL definition of interface "CollectionManager"
 *	@author JacORB IDL compiler 
 */

public class CollectionManagerPOATie
	extends CollectionManagerPOA
{
	private CollectionManagerOperations _delegate;

	private POA _poa;
	public CollectionManagerPOATie(CollectionManagerOperations delegate)
	{
		_delegate = delegate;
	}
	public CollectionManagerPOATie(CollectionManagerOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public org.dbxml.core.corba.db.CollectionManager _this()
	{
		return org.dbxml.core.corba.db.CollectionManagerHelper.narrow(_this_object());
	}
	public org.dbxml.core.corba.db.CollectionManager _this(org.omg.CORBA.ORB orb)
	{
		return org.dbxml.core.corba.db.CollectionManagerHelper.narrow(_this_object(orb));
	}
	public CollectionManagerOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(CollectionManagerOperations delegate)
	{
		_delegate = delegate;
	}
	public void createXMLObject(org.dbxml.core.corba.db.EncodedBuffer config) throws org.dbxml.core.corba.db.APIException
	{
_delegate.createXMLObject(config);
	}

	public void dropIndexer(java.lang.String nam) throws org.dbxml.core.corba.db.APIException
	{
_delegate.dropIndexer(nam);
	}

	public void createIndexer(org.dbxml.core.corba.db.EncodedBuffer config) throws org.dbxml.core.corba.db.APIException
	{
_delegate.createIndexer(config);
	}

	public org.dbxml.core.corba.db.Collection createCollection(java.lang.String path, org.dbxml.core.corba.db.EncodedBuffer config) throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.createCollection(path,config);
	}

	public void dropCollection(java.lang.String path) throws org.dbxml.core.corba.db.APIException
	{
_delegate.dropCollection(path);
	}

	public void remove()
	{
_delegate.remove();
	}

	public java.lang.String getName() throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.getName();
	}

	public java.lang.String getCanonicalName() throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.getCanonicalName();
	}

	public java.lang.String[] listXMLObjects() throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.listXMLObjects();
	}

	public void dropXMLObject(java.lang.String nam) throws org.dbxml.core.corba.db.APIException
	{
_delegate.dropXMLObject(nam);
	}

	public java.lang.String[] listIndexers() throws org.dbxml.core.corba.db.APIException
	{
		return _delegate.listIndexers();
	}

}
