|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
public interface IObjectPrincipals
This interface contains all of the object principals (users, groups) that have
explicit as well as inherited rights to a particular object. To determine whether
a right is inherited or explicit, use the IObjectPrincipal object's
isInherited() method.
| Method Summary | |
|---|---|
IObjectPrincipal |
add(int id)
Deprecated. Since 12.0, IObjectPrincipals has been replaced by IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface |
IObjectPrincipal |
get(int id)
Deprecated. Since 12.0, IObjectPrincipals has been replaced by IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface |
java.util.Iterator |
iterator()
Deprecated. Since 12.0, IObjectPrincipals has been replaced by IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface |
void |
remove(int id)
Deprecated. Since 12.0, IObjectPrincipals has been replaced by IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface |
int |
size()
Deprecated. Since 12.0, IObjectPrincipals has been replaced by IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface |
| Method Detail |
|---|
IObjectPrincipal add(int id)
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
Adds a new principal to the set.
id - The ID of the new principal to be added.
IObjectPrincipal get(int id)
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
Returns the principal with the given ID.
Note: Ensure that the ObjectPrinicipal object is added to the collection before committing changes to the CMS repository. Otherwise these new rights or limits will not be enforced.
id - The principal's ID.
id, or null if no such principal exists.java.util.Iterator iterator()
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
Returns an iterator for all of the principals in the set.
void remove(int id)
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
Removes a principal from the set.
id - The ID of the principal to remove.int size()
IExplicitPrincipals and IEffectivePrincipals accessible through ISecurityInfo2 interface
Returns the number of principals in the set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||