|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedProtectedResourceController
The ManagedProtectedResourceController
provides write access to the
properties of a protected resource. Properties that can be modified are
propagation role blocks, inheritance role blocks and the owner of the
resource.
Method Summary | |
---|---|
void |
addInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Adds the given collection of role types to the set of role types that the resource blocks for inheritance (the resource will not inherit these role types from a parent resource). |
void |
addPropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Adds the given collection of role types to the set of role types that the resource blocks for propagation (child resources will not inherit these role types). |
void |
removeInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Removes the given collection of role types from the set of role types that the resource blocks for inheritance (the resource will then inherit these role types from a parent resource). |
void |
removePropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Removes the given collection of role types from the set of role types that the resource blocks for propagation (child resources will then inherit these role types). |
void |
setInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Set the list of role types that the resource blocks for inheritance (the resource will not inherit these role types from a parent resource). |
void |
setOwner(Principal newOwner)
Changes the owner of the resource. |
void |
setPropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes)
Set the list of role types that the resource blocks for propagation (child resources will not inherit these role types). Pass an empty collection for clearing role blocks. |
Methods inherited from interface com.ibm.portal.ac.ManagedProtectedResource |
---|
getInheritanceBlockedRoleTypes, getOwner, getPropagationBlockedRoleTypes, isExternalized, isPrivate |
Methods inherited from interface com.ibm.portal.Identifiable |
---|
getObjectID |
Method Detail |
---|
void addInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred during
the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid addPropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred
during the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid setInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred during
the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid setPropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred during
the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid removeInheritanceBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred during
the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid removePropagationBlockedRoleTypes(java.util.Collection<RoleType> roleTypes) throws AccessControlException, SystemException, MissingAccessRightsException
roleTypes
- Collection
of RoleType
objects, not null
AccessControlException
- will be thrown if any error occurred during
the operation
SystemException
- will be thrown if a system resource problem, e.g.
a database exception, occurs
MissingAccessRightsException
- will be thrown if the current user
does not have the necessary access rights to perform the
operationvoid setOwner(Principal newOwner) throws AccessControlException, SystemException, MissingAccessRightsException
MissingAccessRightsException
will be thrown.
newOwner
- A Principal
object representing the new owner,
can be null
if the resource should not have an owner.
AccessControlException
- thrown if the operation failed.
MissingAccessRightsException
- if the current user does not have
enough access rights to perform this action.
SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |