org.opencrx.kernel.home1.cci2
Interface Segment

All Superinterfaces:
Auditee, org.openmdx.base.cci2.ContextCapable, Indexed, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Segment

public interface Segment
extends Segment, Auditee, Indexed, SecureObject

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Method Summary
<T extends CreateUserResult>
T
createUser(Contact contact, String initialPassword, String initialPasswordVerification, PrincipalGroup primaryUserGroup, String principalName)
           
<T extends UserHome>
Collection<T>
getUserHome()
          Retrieves a set containing all the elements for the reference userHome.
<T extends UserHome>
T
getUserHome(String principalId)
          Retrieves the value for the optional reference userHome for the specified qualifier attribute value.
<T extends ImportUsersResult>
T
importUsers(byte[] item, String itemMimeType, String itemName)
           
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription, setProvider, setProvider
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 

Method Detail

createUser

<T extends CreateUserResult> T createUser(Contact contact,
                                          String initialPassword,
                                          String initialPasswordVerification,
                                          PrincipalGroup primaryUserGroup,
                                          String principalName)
                                      throws RefException
Throws:
RefException

importUsers

<T extends ImportUsersResult> T importUsers(byte[] item,
                                            String itemMimeType,
                                            String itemName)
                                        throws RefException
Throws:
RefException

getUserHome

<T extends UserHome> Collection<T> getUserHome()
Retrieves a set containing all the elements for the reference userHome.

Returns:
A set containing all the elements for this reference.

getUserHome

<T extends UserHome> T getUserHome(String principalId)
Retrieves the value for the optional reference userHome for the specified qualifier attribute value.

Parameters:
principalId - The value for the qualifier attribute that qualifies this reference.
Returns:
The non-null value for this reference.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.