1 package org.opencrx.kernel.base.cci; 14 15 public class ImporterImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements Importer { 18 19 public ImporterImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public org.opencrx.kernel.base.cci.ImportResult importItem( 30 org.opencrx.kernel.base.cci.ImportParams params 31 ) throws javax.jmi.reflect.RefException { 32 java.util.List args = new java.util.ArrayList (); 33 args.add(params); 34 return (org.opencrx.kernel.base.cci.ImportResult)refInvokeOperation( 35 "org:opencrx:kernel:base:Importer:importItem", 36 args 37 ); 38 } 39 40 public org.opencrx.kernel.base.cci.ImportResult importItem( 41 byte[] item 42 , String itemMimeType 43 , String itemName 44 , short locale 45 ) throws javax.jmi.reflect.RefException { 46 return importItem( 47 ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createImportParams( 48 item 49 , itemMimeType 50 , itemName 51 , locale 52 ) 53 ); 54 } 55 56 } 60 | Popular Tags |