KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > base > cci > ImporterImpl


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:38:58 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
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 // ----------------------------------------------------------------------------
27
// Instance/ImplOperation
28
// ----------------------------------------------------------------------------
29
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 JavaDoc args = new java.util.ArrayList JavaDoc();
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 JavaDoc itemMimeType
43     , String JavaDoc 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 // ----------------------------------------------------------------------------
57
// Instance/ImplEnd
58
// ----------------------------------------------------------------------------
59
}
60
Popular Tags