package com.vci.server.omd.typeindex; import com.vci.corba.common.VCIError; import com.vci.corba.omd.tim.TypeIndexDef; import com.vci.corba.omd.tim.TypeIndexService; import com.vci.server.omd.typeindex.delegate.TypeIndexDelegate; import com.zeroc.Ice.Current; public class TypeIndexServiceImpl implements TypeIndexService { @Override public TypeIndexDef[] getBTIndexDefs(String btName, Current current) throws VCIError { return TypeIndexDelegate.getInstance().getBTIndexDefs(btName); } @Override public TypeIndexDef[] getLTIndexDefs(String ltName, Current current) throws VCIError { return TypeIndexDelegate.getInstance().getLTIndexDefs(ltName); } @Override public void saveIndexDef(TypeIndexDef def, Current current) throws VCIError { TypeIndexDelegate.getInstance().saveIndexDef(def); } @Override public void saveIndexDefs(TypeIndexDef[] defs, Current current) throws VCIError { TypeIndexDelegate.getInstance().saveIndexDefs(defs); } @Override public void updateIndexDef(TypeIndexDef def, Current current) throws VCIError { TypeIndexDelegate.getInstance().updateIndexDef(def); } @Override public void updateIndexDefs(TypeIndexDef[] defs, Current current) throws VCIError { TypeIndexDelegate.getInstance().updateIndexDefs(defs); } @Override public void delIndexDef(String oid, Current current) throws VCIError { TypeIndexDelegate.getInstance().delIndexDef(oid); } @Override public void delIndexDefs(String[] oids, Current current) throws VCIError { TypeIndexDelegate.getInstance().delIndexDefs(oids); } }