public class AclOwner extends AbstractIdentifiable implements Principal
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.Constructor and Description |
---|
AclOwner(String principalId)
AclOwner constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether another object is equal to this one.
|
String |
getPrincipalId()
Gets the principal identifier of the ACL owner.
|
String |
getPrincipalName()
Gets the principal name of the ACL owner.
|
int |
hashCode()
Returns a hash code value for the object.
|
getId, getTypeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public AclOwner(String principalId)
principalId
- The pricipalId of the ACL owner.public String getPrincipalName()
getPrincipalName
in interface Principal
public String getPrincipalId()
getPrincipalId
in interface Principal
public int hashCode()
hashCode
in interface Principal
hashCode
in class AbstractIdentifiable
Object.hashCode()
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractIdentifiable
Object.equals(java.lang.Object)
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>