railo.commons.io.res.type.s3
Class AccessControl
java.lang.Object
railo.commons.io.res.type.s3.AccessControl
public class AccessControl
- extends Object
TYPE_GROUP
public static final short TYPE_GROUP
- See Also:
- Constant Field Values
TYPE_EMAIL
public static final short TYPE_EMAIL
- See Also:
- Constant Field Values
TYPE_CANONICAL_USER
public static final short TYPE_CANONICAL_USER
- See Also:
- Constant Field Values
AccessControl
public AccessControl()
getType
public short getType()
- Returns:
- the type
setType
public void setType(short type)
- Parameters:
type
- the type to set
getId
public String getId()
- Returns:
- the id
setId
public void setId(String id)
- Parameters:
id
- the id to set
getDisplayName
public String getDisplayName()
- Returns:
- the displayName
setDisplayName
public void setDisplayName(String displayName)
- Parameters:
displayName
- the displayName to set
getPermission
public String getPermission()
- Returns:
- the permission
setPermission
public void setPermission(String permission)
getUri
public String getUri()
- Returns:
- the uri
setUri
public void setUri(String uri)
- Parameters:
uri
- the uri to set
getEmail
public String getEmail()
- Returns:
- the email
setEmail
public void setEmail(String email)
- Parameters:
email
- the email to set
toString
public String toString()
- Overrides:
toString
in class Object
hash
public String hash()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toAccessControlList
public static List<AccessControl> toAccessControlList(Object objACL)
throws S3Exception,
PageException
- Throws:
S3Exception
PageException
toAccessControl
public static AccessControl toAccessControl(Struct sct)
throws S3Exception,
PageException
- Throws:
S3Exception
PageException
toPermission
public static String toPermission(Object oPermission)
throws S3Exception
- Throws:
S3Exception
groupToURI
public static String groupToURI(Object oGroup)
throws S3Exception
- Throws:
S3Exception
toType
public static String toType(short type)
throws S3Exception
- Throws:
S3Exception
toType
public static String toType(short type,
String defaultValue)
toType
public static short toType(String type)
throws S3Exception
- Throws:
S3Exception
toType
public static short toType(String type,
short defaultValue)
Copyright © 2012 Railo