Package com.sas.lsaf.security.acl
Class AclOwner
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.security.acl.AclOwner
- All Implemented Interfaces:
Identifiable,Principal,Serializable
A data object that represents the owner ACL. For every
RepositoryItem, there is one AclOwner entry that
designates the owner permissions for that object. Note read and admin permissions cannot be taken away from the
AclOwner.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicate whether another object is equal to this one.Gets the principal identifier of the ACL owner.Gets the principal name of the ACL owner.inthashCode()Returns a hash code value for the object.Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId, toStringMethods 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
-
AclOwner
AclOwner constructor.- Parameters:
principalId- The pricipalId of the ACL owner.
-
-
Method Details
-
getPrincipalName
Gets the principal name of the ACL owner.- Specified by:
getPrincipalNamein interfacePrincipal- Returns:
- The principal name of the ACL owner.
-
getPrincipalId
Gets the principal identifier of the ACL owner.- Specified by:
getPrincipalIdin interfacePrincipal- Returns:
- The principal identifier of the ACL owner.
-
hashCode
public int hashCode()Returns a hash code value for the object.- Specified by:
hashCodein interfacePrincipal- Overrides:
hashCodein classAbstractIdentifiable- See Also:
-
equals
Indicate whether another object is equal to this one.- Specified by:
equalsin interfacePrincipal- Overrides:
equalsin classAbstractIdentifiable- See Also:
-