Serializable
public class GSAccessControlList extends AccessControlList
Modifier and Type | Field | Description |
---|---|---|
static GSAccessControlList |
REST_CANNED_AUTHENTICATED_READ |
|
static GSAccessControlList |
REST_CANNED_BUCKET_OWNER_FULL_CONTROL |
|
static GSAccessControlList |
REST_CANNED_BUCKET_OWNER_READ |
|
static GSAccessControlList |
REST_CANNED_PRIVATE |
|
static GSAccessControlList |
REST_CANNED_PUBLIC_READ |
|
static GSAccessControlList |
REST_CANNED_PUBLIC_READ_WRITE |
Constructor | Description |
---|---|
GSAccessControlList() |
Modifier and Type | Method | Description |
---|---|---|
String |
getValueForRESTHeaderACL() |
|
String |
toString() |
Returns a string representation of the ACL contents, useful for debugging.
|
com.jamesmurty.utils.XMLBuilder |
toXMLBuilder() |
getGrantAndPermissions, getGranteesWithPermission, getOwner, getPermissionsForGrantee, grantAllPermissions, grantPermission, hasGranteeAndPermission, isCannedRestACL, isRESTHeaderACL, revokeAllPermissions, setOwner, toXml
public static final GSAccessControlList REST_CANNED_PRIVATE
public static final GSAccessControlList REST_CANNED_PUBLIC_READ
public static final GSAccessControlList REST_CANNED_PUBLIC_READ_WRITE
public static final GSAccessControlList REST_CANNED_AUTHENTICATED_READ
public static final GSAccessControlList REST_CANNED_BUCKET_OWNER_READ
public static final GSAccessControlList REST_CANNED_BUCKET_OWNER_FULL_CONTROL
public String toString()
toString
in class AccessControlList
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws ServiceException, ParserConfigurationException, FactoryConfigurationError, TransformerException
toXMLBuilder
in class AccessControlList
ServiceException
ParserConfigurationException
FactoryConfigurationError
TransformerException
public String getValueForRESTHeaderACL()
getValueForRESTHeaderACL
in class AccessControlList