|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Policy
| Method Summary | |
|---|---|
void |
addPrivilege(Privilege newValue)
|
void |
addPrivilege(String id,
Privilege newValue)
|
void |
addRole(Role newValue)
|
void |
addRole(String name,
Role newValue)
|
String |
getDescription()
|
String |
getName()
Retrieves the value for the attribute name. |
Collection |
getPrivilege()
Retrieves a collection containing all the elements for the reference privilege. |
List |
getPrivilege(PrivilegeFilter filter)
Retrieves the value for the reference privilege for the
specified filter. |
List |
getPrivilege(PrivilegeQuery query)
Retrieves the value for the reference privilege for the
specified query. |
Privilege |
getPrivilege(String id)
Retrieves the value for the reference privilege for the
specified qualifier attribute value. |
Collection |
getRole()
Retrieves a collection containing all the elements for the reference role. |
List |
getRole(RoleFilter filter)
Retrieves the value for the reference role for the
specified filter. |
List |
getRole(RoleQuery query)
Retrieves the value for the reference role for the
specified query. |
Role |
getRole(String name)
Retrieves the value for the reference role for the
specified qualifier attribute value. |
void |
removePrivilege(String id)
|
void |
removeRole(String name)
|
void |
setDescription(String newValue)
Sets a new value for the attribute description. |
| 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 |
|---|
String getDescription()
description.
JmiException - If the value cannot be retrieved for some reason.void setDescription(String newValue)
description.
newValue - The possibly null new value for attribute description.
JmiException - If the value cannot be set for some reason.String getName()
name.
name.
JmiException - If the value cannot be retrieved for some reason.Privilege getPrivilege(String id)
privilege for the
specified qualifier attribute value.
id - The value for the qualifier attribute that qualifies this reference.
JmiException - If the value cannot be retrieved for some reason.Collection getPrivilege()
privilege.
JmiException - If the values cannot be retrieved for some reason.List getPrivilege(PrivilegeFilter filter)
privilege for the
specified filter.
filter - filter which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.List getPrivilege(PrivilegeQuery query)
privilege for the
specified query.
predicate - predicate which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.
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.
JmiException - If the value cannot be appended for some reason.void addPrivilege(Privilege newValue)
newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void removePrivilege(String id)
JmiException - If the value cannot be removed for some reason.Role getRole(String name)
role for the
specified qualifier attribute value.
name - The value for the qualifier attribute that qualifies this reference.
JmiException - If the value cannot be retrieved for some reason.Collection getRole()
role.
JmiException - If the values cannot be retrieved for some reason.List getRole(RoleFilter filter)
role for the
specified filter.
filter - filter which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.List getRole(RoleQuery query)
role for the
specified query.
predicate - predicate which is applied to the set of referenced objects.
JmiException - If the value cannot be retrieved for some reason.
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.
JmiException - If the value cannot be appended for some reason.void addRole(Role newValue)
newValue - The element to be appended.
JmiException - If the value cannot be appended for some reason.void removeRole(String name)
JmiException - If the value cannot be removed for some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||