|
||||||||||
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 java.lang.String |
PERMISSION_NAME_ADD
|
static java.lang.String |
PERMISSION_NAME_ALL
|
static java.lang.String |
PERMISSION_NAME_EXECUTE
|
static java.lang.String |
PERMISSION_NAME_READ
|
static java.lang.String |
PERMISSION_NAME_REMOVE
|
static java.lang.String |
PERMISSION_NAME_SET
|
static java.lang.String |
PERMISSION_NAME_SYNDICATE
|
static java.lang.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(java.lang.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 java.lang.String PERMISSION_NAME_ADD
static final java.lang.String PERMISSION_NAME_SET
static final java.lang.String PERMISSION_NAME_REMOVE
static final java.lang.String PERMISSION_NAME_READ
static final java.lang.String PERMISSION_NAME_EXECUTE
static final java.lang.String PERMISSION_NAME_SYNDICATE
static final java.lang.String PERMISSION_NAME_ALL
static final java.lang.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(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |