public interface Permission extends Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
UrlPattern |
getPattern() |
long |
getPermissions() |
boolean |
match(String path)
True if this permission matches the path.
|
void |
setPattern(UrlPattern value) |
void |
setPermissions(long value) |
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
void setPattern(UrlPattern value)
UrlPattern getPattern()
void setPermissions(long value)
long getPermissions()
boolean match(String path)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.