public class AccessControl extends Object
Modifier and Type | Field and Description |
---|---|
static short |
TYPE_CANONICAL_USER |
static short |
TYPE_EMAIL |
static short |
TYPE_GROUP |
Constructor and Description |
---|
AccessControl() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getEmail() |
String |
getId() |
String |
getPermission() |
short |
getType() |
String |
getUri() |
static String |
groupToURI(Object oGroup) |
String |
hash() |
int |
hashCode() |
void |
setDisplayName(String displayName) |
void |
setEmail(String email) |
void |
setId(String id) |
void |
setPermission(String permission) |
void |
setType(short type) |
void |
setUri(String uri) |
static AccessControl |
toAccessControl(Struct sct) |
static List<AccessControl> |
toAccessControlList(Object objACL) |
static String |
toPermission(Object oPermission) |
String |
toString() |
static String |
toType(short type) |
static String |
toType(short type,
String defaultValue) |
static short |
toType(String type) |
static short |
toType(String type,
short defaultValue) |
public static final short TYPE_GROUP
public static final short TYPE_EMAIL
public static final short TYPE_CANONICAL_USER
public AccessControl()
public short getType()
public void setType(short type)
type
- the type to setpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the displayName to setpublic String getPermission()
public void setPermission(String permission)
public static List<AccessControl> toAccessControlList(Object objACL) throws S3Exception, PageException
S3Exception
PageException
public static AccessControl toAccessControl(Struct sct) throws S3Exception, PageException
S3Exception
PageException
public static String toPermission(Object oPermission) throws S3Exception
S3Exception
public static String groupToURI(Object oGroup) throws S3Exception
S3Exception
public static String toType(short type) throws S3Exception
S3Exception
public static short toType(String type) throws S3Exception
S3Exception
Copyright © 2015 Lucee