|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Permission
A permission is a collection of rights and can match paths. Defines various permission constants which can be used to build right bitsets.
Field Summary | |
---|---|
static long |
ADD
|
static long |
ALL
All permissions combined. |
static long |
EXECUTE
|
static long |
NONE
|
static String |
PERMISSION_NAME_ADD
|
static String |
PERMISSION_NAME_ALL
|
static String |
PERMISSION_NAME_EXECUTE
|
static String |
PERMISSION_NAME_READ
|
static String |
PERMISSION_NAME_REMOVE
|
static String |
PERMISSION_NAME_SET
|
static String |
PERMISSION_NAME_SYNDICATE
|
static String |
PERMISSION_NAME_WRITE
|
static long |
READ
|
static long |
REMOVE
|
static long |
SET
|
static long |
SYNDICATE
|
static long |
WRITE
All write permissions. |
Method Summary | |
---|---|
UrlPattern |
getPattern()
|
long |
getPermissions()
|
boolean |
match(String path)
True if this permission matches the path. |
void |
setPattern(UrlPattern value)
|
void |
setPermissions(long value)
|
Field Detail |
---|
static final long NONE
static final long ADD
static final long SET
static final long REMOVE
static final long READ
static final long EXECUTE
static final long SYNDICATE
static final String PERMISSION_NAME_ADD
static final String PERMISSION_NAME_SET
static final String PERMISSION_NAME_REMOVE
static final String PERMISSION_NAME_READ
static final String PERMISSION_NAME_EXECUTE
static final String PERMISSION_NAME_SYNDICATE
static final String PERMISSION_NAME_ALL
static final String PERMISSION_NAME_WRITE
static final long ALL
static final long WRITE
Method Detail |
---|
void setPattern(UrlPattern value)
UrlPattern getPattern()
void setPermissions(long value)
long getPermissions()
boolean match(String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |