org.openmdx.security.realm1.cci
Interface Role
- All Superinterfaces:
- BasicObject, ContextCapable, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, ViewCapable
- All Known Implementing Classes:
- RoleImpl
public interface Role
- extends BasicObject
| 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 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 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 |
getDescription
String getDescription()
- Returns:
- The possibly null value for attribute
description.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDescription
void setDescription(String newValue)
- Sets a new value for the attribute
description.
- Parameters:
newValue - The possibly null new value for attribute description.
- Throws:
JmiException - If the value cannot be set for some reason.
isDisabled
boolean isDisabled()
- Retrieves the value for the attribute
disabled.
- Returns:
- The non-null value for attribute
disabled.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
setDisabled
void setDisabled(boolean newValue)
- Sets a new value for the attribute
disabled.
- Parameters:
newValue - The non-null new value for attribute disabled.
- Throws:
JmiException - If the value cannot be set for some reason.
getName
String getName()
- Retrieves the value for the attribute
name.
- Returns:
- The non-null value for attribute
name.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getPermission
Permission getPermission(String id)
- Retrieves the value for the reference
permission for the
specified qualifier attribute value.
- Parameters:
id - 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.
getPermission
Collection getPermission()
- Retrieves a collection containing all the elements for the reference
permission.
- Returns:
- A collection containing all the elements for this reference.
- Throws:
JmiException - If the values cannot be retrieved for some reason.
getPermission
List getPermission(PermissionFilter filter)
- Retrieves the value for the reference
permission for the
specified filter.
- Parameters:
filter - filter which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
getPermission
List getPermission(PermissionQuery query)
- Retrieves the value for the reference
permission for the
specified query.
- Parameters:
predicate - predicate which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
addPermission
void addPermission(String id,
Permission newValue)
- Parameters:
id - 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.
addPermission
void addPermission(Permission newValue)
- Parameters:
newValue - The element to be appended.
- Throws:
JmiException - If the value cannot be appended for some reason.
removePermission
void removePermission(String id)
- Throws:
JmiException - If the value cannot be removed for some reason.
getPolicy
Policy getPolicy()
- Retrieves the value for the reference
policy.
- Returns:
- The non-null value for this reference.
- Throws:
JmiException - If the value cannot be retrieved for some reason.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.