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
 void addUserHome(boolean principalIdIsPersistent, String principalId, UserHome userHome)
          Adds the specified element to the set of the values for the reference userHome.
 CreateUserResult 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.
 ImportUsersResult importUsers(byte[] item, String itemMimeType, String itemName)
           
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 

Method Detail

createUser

CreateUserResult createUser(Contact contact,
                            String initialPassword,
                            String initialPasswordVerification,
                            PrincipalGroup primaryUserGroup,
                            String principalName)

importUsers

ImportUsersResult importUsers(byte[] item,
                              String itemMimeType,
                              String itemName)

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.

addUserHome

void addUserHome(boolean principalIdIsPersistent,
                 String principalId,
                 UserHome userHome)
Adds the specified element to the set of the values for the reference userHome.

Note: This is an extension to the JMI 1 standard.

Parameters:
principalIdIsPersistent - true if principalId is persistent
principalId - The qualifier attribute value that qualifies the reference to get the element to be appended.
userHome - The element to be appended.


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