org.openmdx.security.realm1.jmi1
Interface Privilege
- All Superinterfaces:
- org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, Privilege, RefBaseObject, RefFeatured, RefObject, org.openmdx.compatibility.view1.cci2.ViewCapable
- All Known Subinterfaces:
- ModelClassPrivilege, ModelElementPrivilege, ModelReferencePrivilege, Privilege, ResourcePrivilege
public interface Privilege
- extends Privilege, org.openmdx.base.jmi1.BasicObject
Abstract class Privilege
|
Method Summary |
Set<String> |
getAction()
|
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T> |
|
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
void |
setAction(Set<String> action)
This method is equivalent to |
void |
setPolicy(Policy policy)
Sets a new value for the reference policy. |
void |
setPolicy(Policy policy,
boolean idIsPersistent,
String id)
Set the object's composite association
org:openmdx:security:realm1:PrivilegeBelongsToPolicy. |
| Methods inherited from interface org.openmdx.base.jmi1.BasicObject |
getCreatedBy, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
getCreatedAt, getModifiedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
getView |
getView
<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
- Retrieves the value for the reference
view for the
specified query.
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getAction
Set<String> getAction()
- Specified by:
getAction in interface Privilege
- Returns:
- A set containing all elements for this attribute.
setAction
void setAction(Set<String> action)
This method is equivalent to
set.clear();
set.addAll(action);
- Parameters:
action - collection to be copied.
setPolicy
void setPolicy(Policy policy)
- Sets a new value for the reference
policy.
- Specified by:
setPolicy in interface Privilege
- Parameters:
policy - The non-null new value for this reference.
setPolicy
void setPolicy(Policy policy,
boolean idIsPersistent,
String id)
- Set the object's composite association
org:openmdx:security:realm1:PrivilegeBelongsToPolicy.
- Specified by:
setPolicy in interface Privilege
- Parameters:
policy - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.