KickJava   Java API By Example, From Geeks To Geeks.

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


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.base.cci;
14
15 public interface SecureObject
16   extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0
17  {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfAttributeGet1_1
20
// ----------------------------------------------------------------------------
21
/**
22    * Retrieves the value for the attribute <code>accessLevelBrowse</code>.
23    * @return The non-null value for attribute <code>accessLevelBrowse</code>.
24    * @exception JmiException If the value cannot be retrieved for some reason.
25    */

26   public short getAccessLevelBrowse(
27   );
28
29 // ----------------------------------------------------------------------------
30
// Instance/IntfAttributeSet1_1
31
// ----------------------------------------------------------------------------
32
/**
33    * Sets a new value for the attribute <code>accessLevelBrowse</code>.
34    * @param newValue The non-null new value for attribute <code>accessLevelBrowse</code>.
35    * @exception JmiException If the value cannot be set for some reason.
36    */

37   public void setAccessLevelBrowse(
38     short newValue
39   );
40
41 // ----------------------------------------------------------------------------
42
// Instance/IntfAttributeGet1_1
43
// ----------------------------------------------------------------------------
44
/**
45    * Retrieves the value for the attribute <code>accessLevelDelete</code>.
46    * @return The non-null value for attribute <code>accessLevelDelete</code>.
47    * @exception JmiException If the value cannot be retrieved for some reason.
48    */

49   public short getAccessLevelDelete(
50   );
51
52 // ----------------------------------------------------------------------------
53
// Instance/IntfAttributeSet1_1
54
// ----------------------------------------------------------------------------
55
/**
56    * Sets a new value for the attribute <code>accessLevelDelete</code>.
57    * @param newValue The non-null new value for attribute <code>accessLevelDelete</code>.
58    * @exception JmiException If the value cannot be set for some reason.
59    */

60   public void setAccessLevelDelete(
61     short newValue
62   );
63
64 // ----------------------------------------------------------------------------
65
// Instance/IntfAttributeGet1_1
66
// ----------------------------------------------------------------------------
67
/**
68    * Retrieves the value for the attribute <code>accessLevelUpdate</code>.
69    * @return The non-null value for attribute <code>accessLevelUpdate</code>.
70    * @exception JmiException If the value cannot be retrieved for some reason.
71    */

72   public short getAccessLevelUpdate(
73   );
74
75 // ----------------------------------------------------------------------------
76
// Instance/IntfAttributeSet1_1
77
// ----------------------------------------------------------------------------
78
/**
79    * Sets a new value for the attribute <code>accessLevelUpdate</code>.
80    * @param newValue The non-null new value for attribute <code>accessLevelUpdate</code>.
81    * @exception JmiException If the value cannot be set for some reason.
82    */

83   public void setAccessLevelUpdate(
84     short newValue
85   );
86
87 // ----------------------------------------------------------------------------
88
// Instance/IntfOperation
89
// ----------------------------------------------------------------------------
90

91   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
92       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
93   ) throws javax.jmi.reflect.RefException ;
94
95   /**
96    */

97   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
98       org.opencrx.security.realm1.cci.PrincipalGroup group
99     , short mode
100   ) throws javax.jmi.reflect.RefException ;
101
102 // ----------------------------------------------------------------------------
103
// Instance/IntfAttributeGetList
104
// ----------------------------------------------------------------------------
105
/**
106    * @return A list containing all elements for this attribute.
107    * @exception JmiException If the values cannot be retrieved for some reason.
108    */

109   public java.util.List JavaDoc getOwner(
110   );
111
112   /**
113    * @param index The index of the element to return.
114    * @return The element at the specified position in the list of all values for this attribute.
115    * @exception JmiException If the value cannot be retrieved for some reason.
116    */

117   public String JavaDoc getOwner(
118     int index
119   );
120
121 // ----------------------------------------------------------------------------
122
// Instance/IntfReferenceGet0_1WithQualifier
123
// ----------------------------------------------------------------------------
124
/**
125    * Retrieves the value for the reference <code>owningGroup</code> for the
126    * specified qualifier attribute value.
127    * @param index The value for the qualifier attribute that qualifies this reference.
128    * @return The possibly null value for this reference.
129    * @exception JmiException If the value cannot be retrieved for some reason.
130    */

131   public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup(
132     int index
133   );
134
135 // ----------------------------------------------------------------------------
136
// Instance/IntfReferenceGet0_nNoFilter
137
// ----------------------------------------------------------------------------
138
/**
139    * Retrieves the objects referenced by <code>owningGroup</code>.
140    * @return The collection of referenced objects.
141    * @exception JmiException If the value cannot be retrieved for some reason.
142    */

143   public java.util.Collection JavaDoc getOwningGroup(
144   );
145
146 // ----------------------------------------------------------------------------
147
// Instance/IntfReferenceAddWithQualifier
148
// ----------------------------------------------------------------------------
149
/**
150    * @param index The qualifier attribute value that qualifies the reference to get the element to be appended.
151    * @param newValue The element to be appended.
152    * @exception JmiException If the value cannot be appended for some reason.
153    */

154   public void addOwningGroup (
155     int index,
156     org.opencrx.security.realm1.cci.PrincipalGroup newValue
157   );
158
159 // ----------------------------------------------------------------------------
160
// Instance/IntfReferenceAddWithoutQualifier
161
// ----------------------------------------------------------------------------
162
/**
163    * @param newValue The element to be appended.
164    * @exception JmiException If the value cannot be appended for some reason.
165    */

166   public void addOwningGroup (
167     org.opencrx.security.realm1.cci.PrincipalGroup newValue
168   );
169
170 // ----------------------------------------------------------------------------
171
// Instance/IntfReferenceRemoveWithQualifier
172
// ----------------------------------------------------------------------------
173
/**
174    * @exception JmiException If the value cannot be removed for some reason.
175    */

176   public void removeOwningGroup (
177     int index
178   );
179 // ----------------------------------------------------------------------------
180
// Instance/IntfReferenceGet0_1NoQualifier
181
// ----------------------------------------------------------------------------
182
/**
183    * Retrieves the value for the optional reference <code>owningUser</code>.
184    * @return The possibly null value for this reference.
185    * @exception JmiException If the value cannot be retrieved for some reason.
186    */

187   public org.opencrx.security.realm1.cci.User getOwningUser(
188   );
189
190 // ----------------------------------------------------------------------------
191
// Instance/IntfReferenceSetNoQualifier
192
// ----------------------------------------------------------------------------
193
/**
194    * Sets a new value for the reference <code>owningUser</code>.
195    * @param newValue The non-null new value for this reference.
196    * @exception JmiException If the value cannot be set for some reason.
197    */

198   public void setOwningUser(
199     org.opencrx.security.realm1.cci.User newValue
200   );
201
202 // ----------------------------------------------------------------------------
203
// Instance/IntfReferenceRemoveOptional
204
// ----------------------------------------------------------------------------
205
/**
206    * Removes the value for the optional reference <code>owningUser</code>.
207    * @exception JmiException If the value cannot be removed for some reason.
208    */

209   public void removeOwningUser (
210   );
211
212 // ----------------------------------------------------------------------------
213
// Instance/IntfOperation
214
// ----------------------------------------------------------------------------
215

216   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
217       org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params
218   ) throws javax.jmi.reflect.RefException ;
219
220   /**
221    */

222   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
223       short mode
224   ) throws javax.jmi.reflect.RefException ;
225
226 // ----------------------------------------------------------------------------
227
// Instance/IntfOperation
228
// ----------------------------------------------------------------------------
229

230   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
231       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
232   ) throws javax.jmi.reflect.RefException ;
233
234   /**
235    */

236   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
237       org.opencrx.security.realm1.cci.PrincipalGroup group
238     , short mode
239   ) throws javax.jmi.reflect.RefException ;
240
241 // ----------------------------------------------------------------------------
242
// Instance/IntfOperation
243
// ----------------------------------------------------------------------------
244

245   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
246       org.opencrx.kernel.base.cci.SetAccessLevelParams params
247   ) throws javax.jmi.reflect.RefException ;
248
249   /**
250    */

251   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
252       short accessLevelBrowse
253     , short accessLevelDelete
254     , short accessLevelUpdate
255     , short mode
256   ) throws javax.jmi.reflect.RefException ;
257
258 // ----------------------------------------------------------------------------
259
// Instance/IntfOperation
260
// ----------------------------------------------------------------------------
261

262   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
263       org.opencrx.kernel.base.cci.SetOwningUserParams params
264   ) throws javax.jmi.reflect.RefException ;
265
266   /**
267    */

268   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
269       short mode
270     , org.opencrx.security.realm1.cci.User user
271   ) throws javax.jmi.reflect.RefException ;
272
273 // ----------------------------------------------------------------------------
274
// Instance/IntfEnd.vm
275
// ----------------------------------------------------------------------------
276
}
277
Popular Tags