|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Role
Class Role
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openmdx.security.realm1.cci2.Role |
|---|
Role.Identity |
| Method Summary | ||
|---|---|---|
void |
addPermission(Permission newValue)
|
|
void |
addPermission(String id,
Permission newValue)
|
|
|
getPermission(PermissionQuery query)
Retrieves the value for the reference permission for the
specified query. |
|
Policy |
getPolicy()
Retrieves the value for the reference policy. |
|
|
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
|
void |
removePermission(String id)
|
|
void |
setPolicy(Policy policy)
Sets a new value for the reference policy. |
|
void |
setPolicy(Policy policy,
boolean nameIsPersistent,
String name)
Set the object's composite association org:openmdx:security:realm1:RoleBelongsToPolicy. |
|
| Methods inherited from interface org.openmdx.security.realm1.cci2.Role |
|---|
getDescription, getName, getPermission, isDisabled, setDescription, setDisabled |
| 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 |
| 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.<T extends Permission> List<T> getPermission(PermissionQuery query)
permission for the
specified query.
query - predicate which is applied to the set of referenced objects.
true.
void addPermission(String id,
Permission newValue)
id - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.void addPermission(Permission newValue)
newValue - The element to be appended.void removePermission(String id)
Policy getPolicy()
policy.
getPolicy in interface Rolenull value for this reference.void setPolicy(Policy policy)
policy.
setPolicy in interface Rolepolicy - The non-null new value for this reference.
void setPolicy(Policy policy,
boolean nameIsPersistent,
String name)
org:openmdx:security:realm1:RoleBelongsToPolicy.
setPolicy in interface Rolepolicy - The non-null new value for this object's composite owner.nameIsPersistent - Defines whether the name is persistent.name - 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 | |||||||||