+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.ac.data
Interface Permission

public interface Permission

A Permission is a privilege that allows to perform a specific operation on a specific resource, e.g. to view a specific page.

This class models the concept of a permission for the purpose of querying if a principal has a permission or a set of permissions. New permission objects can be created using the AccessControlEnvironment and then be used in a hasPermission query on AccessControlGlobalRuntimeModel.

Since:
6.1.0.3
See Also:
AccessControlEnvironment, AccessControlGlobalRuntimeModel

Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if this Permission is equal to the given object.
 int hashCode()
          Return the hash code of this permission.
 

Method Detail

hashCode

int hashCode()
Returns the hash code of this permission.

Overrides:
hashCode in class java.lang.Object
Returns:
an int representing the hash code of this permission

equals

boolean equals(java.lang.Object obj)
Returns true if this Permission is equal to the given object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object for the equals check with this Permission.
Returns:
true if this Permission is equal to the given object
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD