|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRightSource
This interface defines the source of an effective right, i.e. where the effective right is explicit set. It specifies the object the right is set on, the principal it is assigned to, the type of objects it applies to, the scope of the right, and the custom access level the right is defined in if it's inherited from a custom access level. If the object ID equals to the current object, and the principal ID equals to the current principal, that means the effective right is the result of applying an explicit right assigned to the current principal on the current object.
| Method Summary | |
|---|---|
java.lang.String |
getApplicableKind()
Returns plugin kind the security item applies to. |
int |
getObjectID()
The ID of the object from which a security info is effectively inherited |
java.lang.String |
getObjectType()
Deprecated. Use getApplicableKind instead which has the same meaning but a more intuitive API name |
int |
getPrincipalID()
The ID of the principal from which a security info is effectively inherited |
java.lang.String |
getScope()
The scope a security right applies to |
int |
getSourceRole()
The id of role from which a security info is effectively derived |
boolean |
isFromRole()
Flag indicating that a security info is from a role definition |
boolean |
isInherited()
Returns true if the security info was inherited and not explicitly
set on the object for which this right source was retrieved. |
| Method Detail |
|---|
int getObjectID()
int getPrincipalID()
java.lang.String getObjectType()
java.lang.String getApplicableKind()
java.lang.String getScope()
CeSecurityOptions.RightScopeboolean isFromRole()
True if a security info is from a role definition; false otherwiseint getSourceRole()
boolean isInherited()
true if the security info was inherited and not explicitly
set on the object for which this right source was retrieved.
true if the security info was inherited and not explicitly
set on the object for which this right source was retrieved.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||