Package org.jets3t.service.acl.gs
Class GSAccessControlList
java.lang.Object
org.jets3t.service.acl.AccessControlList
org.jets3t.service.acl.gs.GSAccessControlList
- All Implemented Interfaces:
Serializable
Represents a Google Storage Access Control List (ACL), including the ACL's set of grantees and the
permissions assigned to each grantee.
- Author:
- Google Developers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GSAccessControlList
static final GSAccessControlList
static final GSAccessControlList
static final GSAccessControlList
static final GSAccessControlList
static final GSAccessControlList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string representation of the ACL contents, useful for debugging.com.jamesmurty.utils.XMLBuilder
Methods inherited from class org.jets3t.service.acl.AccessControlList
getGrantAndPermissions, getGranteesWithPermission, getOwner, getPermissionsForGrantee, grantAllPermissions, grantPermission, hasGranteeAndPermission, isCannedRestACL, isRESTHeaderACL, revokeAllPermissions, setOwner, toXml
-
Field Details
-
REST_CANNED_PRIVATE
-
REST_CANNED_PUBLIC_READ
-
REST_CANNED_PUBLIC_READ_WRITE
-
REST_CANNED_AUTHENTICATED_READ
-
REST_CANNED_BUCKET_OWNER_READ
-
REST_CANNED_BUCKET_OWNER_FULL_CONTROL
-
-
Constructor Details
-
GSAccessControlList
public GSAccessControlList()
-
-
Method Details
-
toString
Returns a string representation of the ACL contents, useful for debugging.- Overrides:
toString
in classAccessControlList
-
toXMLBuilder
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws ServiceException, ParserConfigurationException, FactoryConfigurationError, TransformerException- Overrides:
toXMLBuilder
in classAccessControlList
- Throws:
ServiceException
ParserConfigurationException
FactoryConfigurationError
TransformerException
-
getValueForRESTHeaderACL
- Overrides:
getValueForRESTHeaderACL
in classAccessControlList
- Returns:
- the header value string for this ACL if it is a predefined ACL, otherwise return null;
-