org.opencrx.kernel.home1.jmi1
Interface Segment

All Superinterfaces:
Auditee, org.openmdx.base.cci2.ContextCapable, Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable

public interface Segment
extends Segment, 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)
           
 CreateUserResult createUser(CreateUserParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
<T extends UserHome>
List<T>
getUserHome(UserHomeQuery query)
          Retrieves the value for the reference userHome for the specified query.
 ImportUsersResult importUsers(byte[] item, String itemMimeType, String itemName)
           
 ImportUsersResult importUsers(ImportUsersParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 
Methods inherited from interface org.opencrx.kernel.home1.cci2.Segment
addUserHome, getUserHome
 
Methods inherited from interface org.openmdx.base.jmi1.Segment
getExtent, getExtent, getExtent, getProvider
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.jmi1.ViewCapable
getView, getView, getView
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, addOwningGroup, checkPermissions, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevel, setOwningUser, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate
 

Method Detail

createUser

CreateUserResult createUser(CreateUserParams params)
                            throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

createUser

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

importUsers

ImportUsersResult importUsers(ImportUsersParams params)
                              throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

importUsers

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

getUserHome

<T extends UserHome> List<T> getUserHome(UserHomeQuery query)
Retrieves the value for the reference userHome for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

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.