Package com.sas.lsaf.security.privilege
Class ScopedPrivilege
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.security.privilege.ScopedPrivilege
- All Implemented Interfaces:
Identifiable,Privilege,Serializable
A scoped privilege represents a capability to perform some scoped function or action in the repository hierarchy.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionScopedPrivilege(String id, String name) Constructor specifying the unique identifier and name of this scoped privilege. -
Method Summary
Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sas.lsaf.core.Identifiable
getId, getTypeId
-
Constructor Details
-
ScopedPrivilege
Constructor specifying the unique identifier and name of this scoped privilege.- Parameters:
id- the unique identifier for this scoped privilege.name- the display name for this privilege.
-
-
Method Details
-
getName
Gets the name of this scoped privilege. -
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-