KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > home1 > cci > Segment


1 // ----------------------------------------------------------------------------
2
// Instance/IntfBegin
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.home1.cci;
14
15 public interface Segment
16   extends
17  org.opencrx.kernel.base.cci.SecureObject,
18  org.openmdx.base.cci.Segment {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfOperation
21
// ----------------------------------------------------------------------------
22

23   public org.opencrx.kernel.home1.cci.CreateUserResult createUser(
24       org.opencrx.kernel.home1.cci.CreateUserParams params
25   ) throws javax.jmi.reflect.RefException ;
26
27   /**
28    */

29   public org.opencrx.kernel.home1.cci.CreateUserResult createUser(
30       org.opencrx.kernel.account1.cci.Contact contact
31     , String JavaDoc initialPassword
32     , String JavaDoc initialPasswordVerification
33     , org.opencrx.security.realm1.cci.PrincipalGroup primaryUserGroup
34     , String JavaDoc principalName
35   ) throws javax.jmi.reflect.RefException ;
36
37 // ----------------------------------------------------------------------------
38
// Instance/IntfOperation
39
// ----------------------------------------------------------------------------
40

41   public org.opencrx.kernel.home1.cci.ImportUsersResult importUsers(
42       org.opencrx.kernel.home1.cci.ImportUsersParams params
43   ) throws javax.jmi.reflect.RefException ;
44
45   /**
46    */

47   public org.opencrx.kernel.home1.cci.ImportUsersResult importUsers(
48       byte[] item
49     , String JavaDoc itemMimeType
50     , String JavaDoc itemName
51   ) throws javax.jmi.reflect.RefException ;
52
53 // ----------------------------------------------------------------------------
54
// Instance/IntfReferenceGet1_1WithQualifier
55
// ----------------------------------------------------------------------------
56
/**
57    * Retrieves the value for the optional reference <code>userHome</code>
58    * for the specified qualifier attribute value.
59    * @param principalId The value for the qualifier attribute that qualifies this reference.
60    * @return The non-null value for this reference.
61    * @exception JmiException If the value cannot be retrieved for some reason.
62    */

63   public org.opencrx.kernel.home1.cci.UserHome getUserHome(
64     String JavaDoc principalId
65   );
66
67 // ----------------------------------------------------------------------------
68
// Instance/IntfReferenceGet0_nWithFilter
69
// ----------------------------------------------------------------------------
70
/**
71    * Retrieves a collection containing all the elements for the reference
72    * <code>userHome</code>.
73    * @return A collection containing all the elements for this reference.
74    * @exception JmiException If the values cannot be retrieved for some reason.
75    */

76   public java.util.Collection JavaDoc getUserHome(
77   );
78
79   /**
80    * Retrieves the value for the reference <code>userHome</code> for the
81    * specified filter.
82    * @param filter filter which is applied to the set of referenced objects.
83    * @return The filtered collection of referenced objects.
84    * @exception JmiException If the value cannot be retrieved for some reason.
85    */

86   public java.util.List JavaDoc getUserHome(
87     org.opencrx.kernel.home1.cci.UserHomeFilter filter
88   );
89
90 // ----------------------------------------------------------------------------
91
// Instance/IntfReferenceAddWithQualifier
92
// ----------------------------------------------------------------------------
93
/**
94    * @param principalId The qualifier attribute value that qualifies the reference to get the element to be appended.
95    * @param newValue The element to be appended.
96    * @exception JmiException If the value cannot be appended for some reason.
97    */

98   public void addUserHome (
99     String JavaDoc principalId,
100     org.opencrx.kernel.home1.cci.UserHome newValue
101   );
102
103 // ----------------------------------------------------------------------------
104
// Instance/IntfReferenceAddWithoutQualifier
105
// ----------------------------------------------------------------------------
106
/**
107    * @param newValue The element to be appended.
108    * @exception JmiException If the value cannot be appended for some reason.
109    */

110   public void addUserHome (
111     org.opencrx.kernel.home1.cci.UserHome newValue
112   );
113
114 // ----------------------------------------------------------------------------
115
// Instance/IntfReferenceRemoveWithQualifier
116
// ----------------------------------------------------------------------------
117
/**
118    * @exception JmiException If the value cannot be removed for some reason.
119    */

120   public void removeUserHome (
121     String JavaDoc principalId
122   );
123 // ----------------------------------------------------------------------------
124
// Instance/IntfEnd.vm
125
// ----------------------------------------------------------------------------
126
}
127
Popular Tags