|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Policy
Class Policy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openmdx.security.authorization1.cci2.Policy |
|---|
Policy.Identity |
| Method Summary | ||
|---|---|---|
void |
addPrivilege(Privilege newValue)
|
|
void |
addPrivilege(String id,
Privilege newValue)
|
|
void |
addRole(Role newValue)
|
|
void |
addRole(String name,
Role newValue)
|
|
Policy |
getParent()
Retrieves the value for the reference parent. |
|
|
getPrivilege(PrivilegeQuery query)
Retrieves the value for the reference privilege for the
specified query. |
|
|
getRole(RoleQuery query)
Retrieves the value for the reference role for the
specified query. |
|
|
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
|
void |
removeParent()
Removes the value for the optional reference parent. |
|
void |
removePrivilege(String id)
|
|
void |
removeRole(String name)
|
|
void |
setParent(Policy parent)
Sets a new value for the reference parent. |
|
void |
setSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
setSegment(Segment segment,
boolean idIsPersistent,
String id)
Set the object's composite association org:openmdx:security:authorization1:SegmentContainsPolicy. |
|
| 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 |
| 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.openmdx.security.realm1.cci2.Policy |
|---|
getDescription, getName, getPrivilege, getRole, setDescription |
| Method Detail |
|---|
<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
view for the
specified query.
query - predicate which is applied to the set of referenced objects.
true.Policy getParent()
parent.
null – value for this reference.void setParent(Policy parent)
parent.
parent - The non-null new value for this reference.void removeParent()
parent.
<T extends Privilege> List<T> getPrivilege(PrivilegeQuery query)
privilege for the
specified query.
query - predicate which is applied to the set of referenced objects.
true.
void addPrivilege(String id,
Privilege newValue)
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.void addPrivilege(Privilege newValue)
newValue - The element to be appended.void removePrivilege(String id)
<T extends Role> List<T> getRole(RoleQuery query)
role for the
specified query.
query - predicate which is applied to the set of referenced objects.
true.
void addRole(String name,
Role newValue)
name - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.void addRole(Role newValue)
newValue - The element to be appended.void removeRole(String name)
void setSegment(Segment segment)
segment.
segment - The non-null new value for this reference.
void setSegment(Segment segment,
boolean idIsPersistent,
String id)
org:openmdx:security:authorization1:SegmentContainsPolicy.
segment - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||