Package org.pentaho.platform.api.engine
Interface IAclHolder
-
- All Known Subinterfaces:
IAclSolutionFile
@Deprecated public interface IAclHolder
Deprecated.TODO mlowery List type should probably not be a concrete class (PentahoAclEntry).
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_TYPE_ADMIN
Deprecated.static int
ACCESS_TYPE_DELETE
Deprecated.static int
ACCESS_TYPE_READ
Deprecated.static int
ACCESS_TYPE_UPDATE
Deprecated.static int
ACCESS_TYPE_WRITE
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<IPentahoAclEntry>
getAccessControls()
Deprecated.Returns the ACLs on the existing object.List<IPentahoAclEntry>
getEffectiveAccessControls()
Deprecated.Examines whether the existing object has ACLs.void
resetAccessControls(List<IPentahoAclEntry> acls)
Deprecated.Replaces existing access controls with a new list of access controls.void
setAccessControls(List<IPentahoAclEntry> acls)
Deprecated.Sets the access controls on this specific object.
-
-
-
Field Detail
-
ACCESS_TYPE_READ
static final int ACCESS_TYPE_READ
Deprecated.- See Also:
- Constant Field Values
-
ACCESS_TYPE_WRITE
static final int ACCESS_TYPE_WRITE
Deprecated.- See Also:
- Constant Field Values
-
ACCESS_TYPE_UPDATE
static final int ACCESS_TYPE_UPDATE
Deprecated.- See Also:
- Constant Field Values
-
ACCESS_TYPE_DELETE
static final int ACCESS_TYPE_DELETE
Deprecated.- See Also:
- Constant Field Values
-
ACCESS_TYPE_ADMIN
static final int ACCESS_TYPE_ADMIN
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAccessControls
List<IPentahoAclEntry> getAccessControls()
Deprecated.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.- Returns:
- List of ACLs for this object only.
-
setAccessControls
void setAccessControls(List<IPentahoAclEntry> acls)
Deprecated.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
-
-
resetAccessControls
void resetAccessControls(List<IPentahoAclEntry> acls)
Deprecated.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
-
-
getEffectiveAccessControls
List<IPentahoAclEntry> getEffectiveAccessControls()
Deprecated.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.- Returns:
- List containing all the AclEntry objects
-
-