|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISecRightsAdmin
The interface for checking non-admin rights. Extends IBatch to allow for batched modification operations.
The methods defined here corresponds to administrative security requests through which a logged on user tries to modify certain security content that only users with adiministrative rights are allowed to perform.
| Method Summary | |
|---|---|
int |
removeLimit(RightDescriptor limit,
int principalID,
int objectID)
Removes a limit |
int |
removeLimits(int principalID,
int objectID)
Removes all the limits associated with a principal on an object |
int |
removeRight(RightDescriptor right,
int principalID,
int objectID)
Removes a right |
int |
removeRights(int principalID,
int objectID)
Removes all the rights associated with a principal on an object |
int |
removeRole(int roleID,
int principalID,
int objectID)
Removes a role |
int |
removeRoles(int principalID,
int objectID)
Removes all the roles associated with a principal on an object |
int |
setGlobalFolderInheritance(int objectID,
boolean inherit)
Sets the global folder inheritance for the given object, so that when the inheritance is turned off, no principal should have folder inheritance on the object. |
int |
setInheritFoldersForPrincipal(int objectID,
int principalID,
boolean inherit)
Sets whether the principal can inherit security info from an object's parents |
int |
setInheritGroupsForPrincipal(int objectID,
int principalID,
boolean inherit)
Sets whether the principal can inherit security info from its group principals |
int |
setLimit(RightDescriptor limit,
int principalID,
int objectID,
int Value)
Sets a limit |
int |
setRight(RightDescriptor right,
int principalID,
int objectID,
boolean Value)
Sets a boolean right |
int |
setRole(int roleID,
int principalID,
int objectID)
Sets a role |
| Methods inherited from interface com.crystaldecisions.sdk.occa.security.ISecRightsQueryAdmin |
|---|
checkLimit, checkRight, checkRight, getExplicitLimits, getExplicitPrincipals, getExplicitRights, getExplicitRoles, getKnownLimits, getKnownRights, getKnownRightsByPlugin, getKnownRoles, getPrincipals, getSecurityInfo, getSecurityInfo |
| Methods inherited from interface com.crystaldecisions.sdk.occa.security.IBatch |
|---|
batch, batch, batch, commit, rollback |
| Method Detail |
|---|
int removeRight(RightDescriptor right,
int principalID,
int objectID)
throws SDKException
right - RightDescriptor structure that defines a right being removedprincipalID - Principal the right is assigned toobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
int removeLimit(RightDescriptor limit,
int principalID,
int objectID)
throws SDKException
limit - RightDescriptor structure that defines a limit being removedprincipalID - Principal the limit is assigned toobjectID - Object the limit applies to
ISecurityResult indicating the status of the security request
SDKException
int removeRights(int principalID,
int objectID)
throws SDKException
principalID - Principal whose rights are to be removedobjectID - Object the rights apply to
ISecurityResult indicating the status of the security request
SDKException
int removeLimits(int principalID,
int objectID)
throws SDKException
principalID - Principal whose limits are to be removedobjectID - Object the limits apply to
ISecurityResult indicating the status of the security request
SDKException
int removeRoles(int principalID,
int objectID)
throws SDKException
principalID - Principal whose roles are to be removedobjectID - Object the roles apply to
ISecurityResult indicating the status of the security request
SDKException
int removeRole(int roleID,
int principalID,
int objectID)
throws SDKException
roleID - Role being removedprincipalID - Principal the role applies to on the objectobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
int setRight(RightDescriptor right,
int principalID,
int objectID,
boolean Value)
throws SDKException
right - RightDescriptor structure that defines a right being setprincipalID - Principal the right is assigned toobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
int setLimit(RightDescriptor limit,
int principalID,
int objectID,
int Value)
throws SDKException
limit - RightDescriptor structure that defines a limit being setprincipalID - Principal the limit is assigned toobjectID - Object the limit applies to
ISecurityResult indicating the status of the security request
SDKException
int setRole(int roleID,
int principalID,
int objectID)
throws SDKException
roleID - Role being setprincipalID - Principal the right applies to on the objectobjectID - Object the right applies to
ISecurityResult indicating the status of the security request
SDKException
int setInheritFoldersForPrincipal(int objectID,
int principalID,
boolean inherit)
throws SDKException
objectID - Integer ID of an objectprincipalID - Integer ID of a principalinherit - Value of inheritance. True if principal inherits from parent objects, false otherwise
ISecurityResult indicating the status of the security request
SDKException
int setInheritGroupsForPrincipal(int objectID,
int principalID,
boolean inherit)
throws SDKException
objectID - Integer ID of an objectprincipalID - Integer ID of a principalinherit - Value of inheritance. True if principal inherits from parent groups, false otherwise
ISecurityResult indicating the status of the security request
SDKException
int setGlobalFolderInheritance(int objectID,
boolean inherit)
throws SDKException
objectID - Integer ID of an objectinherit - Value of inheritance. True if principal inherits from parent objects, false otherwise
ISecurityResult indicating the status of the security request
SDKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||