org.pentaho.platform.engine.security
Class SimplePermissionMask
java.lang.Object
org.pentaho.platform.engine.security.SimplePermissionMask
- All Implemented Interfaces:
- IPermissionMask
public class SimplePermissionMask
- extends Object
- implements IPermissionMask
SimplePermissionMask
public SimplePermissionMask()
SimplePermissionMask
public SimplePermissionMask(int permissionMask)
setPermissionMask
public void setPermissionMask(int permissionMask)
getMask
public int getMask()
- Specified by:
getMask
in interface IPermissionMask
addPermission
public void addPermission(int permissionMask)
addPermissions
public void addPermissions(int[] permissionMasks)
deletePermission
public void deletePermission(int permissionMask)
deletePermissions
public void deletePermissions(int[] permissionMasks)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object