com.irisel.dummy
Class PermTest
java.lang.Object
com.irisel.dummy.PermTest
public class PermTest
- extends java.lang.Object
Method Summary |
static int |
clearPerm(int perm,
int usertype,
int permtype)
|
static int |
getPerm(int usertype,
int permtype)
|
static boolean |
hasPerms(int perm,
int usertype,
int permtype)
|
static void |
main(java.lang.String[] args)
|
static int |
setPerm(int perm,
int usertype,
int permtype)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USERTYPE_OWNER
public static final byte USERTYPE_OWNER
- See Also:
- Constant Field Values
USERTYPE_GROUP
public static final byte USERTYPE_GROUP
- See Also:
- Constant Field Values
USERTYPE_OTHER
public static final byte USERTYPE_OTHER
- See Also:
- Constant Field Values
PERMTYPE_READ
public static final byte PERMTYPE_READ
- See Also:
- Constant Field Values
PERMTYPE_WRITE
public static final byte PERMTYPE_WRITE
- See Also:
- Constant Field Values
PERMTYPE_OTHER
public static final byte PERMTYPE_OTHER
- See Also:
- Constant Field Values
PermTest
public PermTest()
main
public static void main(java.lang.String[] args)
hasPerms
public static boolean hasPerms(int perm,
int usertype,
int permtype)
setPerm
public static int setPerm(int perm,
int usertype,
int permtype)
clearPerm
public static int clearPerm(int perm,
int usertype,
int permtype)
getPerm
public static int getPerm(int usertype,
int permtype)