| com.pentaho.security.acls.IAclHolder
All known Subclasses: org.pentaho.repository.cwm.CWMAclHolder,
IAclHolder | public interface IAclHolder (Code) | | |
ACCESS_TYPE_ADMIN | final public static int ACCESS_TYPE_ADMIN(Code) | | |
ACCESS_TYPE_DELETE | final public static int ACCESS_TYPE_DELETE(Code) | | |
ACCESS_TYPE_READ | final public static int ACCESS_TYPE_READ(Code) | | |
ACCESS_TYPE_UPDATE | final public static int ACCESS_TYPE_UPDATE(Code) | | |
ACCESS_TYPE_WRITE | final public static int ACCESS_TYPE_WRITE(Code) | | |
getAccessControls | public List getAccessControls()(Code) | | Returns the ACLs on the existing object. Never returns null. If you need
to get the effective access controls, you may need to call
getEffectiveAccessControls() which will chain up from this object if
necessary to find the ACLs that control this object.
List of ACLs for this object only. |
getEffectiveAccessControls | public List getEffectiveAccessControls()(Code) | | Examines whether the existing object has ACLs. If not, it will return the
parent's ACLs. All the way up to the top if necessary. This method should
never return null.
List containing all the AclEntry objects |
resetAccessControls | public void resetAccessControls(List acls)(Code) | | Replaces existing access controls with a new list of
access controls. This method should be used in favor
of setting the access controls with setAccessControls
when the object is being persisted.
Parameters: acls - |
setAccessControls | public void setAccessControls(List acls)(Code) | | Sets the access controls on this specific object. Currently doesn't check
whether the acls are the same as those assigned to the parent.
Parameters: acls - |
|
|