|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefObject_1
org.openmdx.security.realm1.cci.PolicyImpl
public class PolicyImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary |
|---|
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Constructor Summary | |
|---|---|
PolicyImpl(Object_1_0 object,
RefClass refClass)
|
|
| 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. |
protected String |
getName(int index)
|
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. |
protected void |
setName(int index,
String newValue)
|
protected void |
setName(String newValue)
|
void |
setPrivilege(List newValue)
|
void |
setPrivilege(Privilege[] newValue)
|
void |
setRole(List newValue)
|
void |
setRole(Role[] newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public PolicyImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
public String getDescription()
getDescription in interface Policydescription.public void setDescription(String newValue)
Policydescription.
setDescription in interface PolicynewValue - The possibly null new value for attribute description.public String getName()
Policyname.
getName in interface Policyname.protected String getName(int index)
protected void setName(String newValue)
protected void setName(int index,
String newValue)
public void setPrivilege(List newValue)
public void setPrivilege(Privilege[] newValue)
public Privilege getPrivilege(String id)
Policyprivilege for the
specified qualifier attribute value.
getPrivilege in interface Policyid - The value for the qualifier attribute that qualifies this reference.
public Collection getPrivilege()
Policyprivilege.
getPrivilege in interface Policypublic List getPrivilege(PrivilegeFilter filter)
Policyprivilege for the
specified filter.
getPrivilege in interface Policyfilter - filter which is applied to the set of referenced objects.
public List getPrivilege(PrivilegeQuery query)
Policyprivilege for the
specified query.
getPrivilege in interface Policy
public void addPrivilege(String id,
Privilege newValue)
addPrivilege in interface Policyid - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addPrivilege(Privilege newValue)
addPrivilege in interface PolicynewValue - The element to be appended.public void removePrivilege(String id)
removePrivilege in interface Policypublic void setRole(List newValue)
public void setRole(Role[] newValue)
public Role getRole(String name)
Policyrole for the
specified qualifier attribute value.
getRole in interface Policyname - The value for the qualifier attribute that qualifies this reference.
public Collection getRole()
Policyrole.
getRole in interface Policypublic List getRole(RoleFilter filter)
Policyrole for the
specified filter.
getRole in interface Policyfilter - filter which is applied to the set of referenced objects.
public List getRole(RoleQuery query)
Policyrole for the
specified query.
getRole in interface Policy
public void addRole(String name,
Role newValue)
addRole in interface Policyname - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addRole(Role newValue)
addRole in interface PolicynewValue - The element to be appended.public void removeRole(String name)
removeRole in interface Policy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||