org.pentaho.platform.engine.security
Class SimplePermissionMask

java.lang.Object
  extended by org.pentaho.platform.engine.security.SimplePermissionMask
All Implemented Interfaces:
IPermissionMask

public class SimplePermissionMask
extends Object
implements IPermissionMask


Constructor Summary
SimplePermissionMask()
           
SimplePermissionMask(int permissionMask)
           
 
Method Summary
 void addPermission(int permissionMask)
           
 void addPermissions(int[] permissionMasks)
           
 void deletePermission(int permissionMask)
           
 void deletePermissions(int[] permissionMasks)
           
 boolean equals(Object obj)
           
 int getMask()
           
 int hashCode()
           
 void setPermissionMask(int permissionMask)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimplePermissionMask

public SimplePermissionMask()

SimplePermissionMask

public SimplePermissionMask(int permissionMask)
Method Detail

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