com.ibm.portal.ac
Interface ManagedProtectedResource

All Superinterfaces:
Identifiable, ProtectedResource
All Known Subinterfaces:
ManagedProtectedResourceController

public interface ManagedProtectedResource
extends ProtectedResource

A ManagedProtectedResource represents any resource that is individually managed by Portal Access Control, e.g. portlets, pages, groups. It provides the access control related information, such as the owner of the resource and the role type blocks set for the resource. See RoleData for information about role mappings.

Since:
6.1.0.3
See Also:
AccessControlHome, ManagedProtectedResourceModel

Method Summary
 java.util.SortedSet<RoleType> getInheritanceBlockedRoleTypes()
          Returns those role types the resource blocks for inheritance (i.e.
 Principal getOwner()
          Returns the owner of the resource.
 java.util.SortedSet<RoleType> getPropagationBlockedRoleTypes()
          Returns those role types the resource blocks for propagation (i.e.
 boolean isExternalized()
          Indicates whether the resource has been externalized to an external security manager in order to manage access control by this external component.
 boolean isPrivate()
          Returns the information whether the resource is private (i.e.
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

getOwner

Principal getOwner()
Returns the owner of the resource.

Returns:
The owner of the resource or null if it has no owner.

isPrivate

boolean isPrivate()
Returns the information whether the resource is private (i.e. should be accessible by its owner only) or shared (i.e. is accessible for all users that have appropriate permissions).

Returns:
true if the resource is private, false if the resource is shared.

isExternalized

boolean isExternalized()
Indicates whether the resource has been externalized to an external security manager in order to manage access control by this external component.

Returns:
true if the resource is externalized, false otherwise.

getPropagationBlockedRoleTypes

java.util.SortedSet<RoleType> getPropagationBlockedRoleTypes()
Returns those role types the resource blocks for propagation (i.e. child resources will not inherit these role types).

Returns:
Read-only List of RoleType objects representing the role types blocked for propagation, never null.

getInheritanceBlockedRoleTypes

java.util.SortedSet<RoleType> getInheritanceBlockedRoleTypes()
Returns those role types the resource blocks for inheritance (i.e. the resource will not inherit these role types from a parent resource).

Returns:
Read-only List of RoleType objects representing the role types blocked for inheritance, never null.