org.opencrx.security.realm1.cci
Interface PrincipalGroup

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, Group, Principal, PrincipalGroup, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ViewCapable

public interface PrincipalGroup
extends PrincipalGroup, Group


Method Summary
 void addGrantedRole(int index, Role newValue)
           
 void addGrantedRole(Role newValue)
           
 Collection getGrantedRole()
          Retrieves the objects referenced by grantedRole.
 Role getGrantedRole(int index)
          Retrieves the value for the reference grantedRole for the specified qualifier attribute value.
 void removeGrantedRole(int index)
           
 
Methods inherited from interface org.openmdx.security.realm1.cci.Group
getMember, getMember, getMember
 
Methods inherited from interface org.openmdx.security.realm1.cci.Principal
addAuthCredential, addAuthCredential, addIsMemberOf, addIsMemberOf, getAuthCredential, getAuthCredential, getCredential, getDescription, getIsMemberOf, getIsMemberOf, getName, getRealm, getSubject, isDisabled, removeAuthCredential, removeCredential, removeIsMemberOf, setCredential, setDescription, setDisabled, setSubject
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, 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
 

Method Detail

getGrantedRole

Role getGrantedRole(int index)
Retrieves the value for the reference grantedRole for the specified qualifier attribute value.

Parameters:
index - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getGrantedRole

Collection getGrantedRole()
Retrieves the objects referenced by grantedRole.

Returns:
The collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addGrantedRole

void addGrantedRole(int index,
                    Role newValue)
Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addGrantedRole

void addGrantedRole(Role newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeGrantedRole

void removeGrantedRole(int index)
Throws:
JmiException - If the value cannot be removed for some reason.


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