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
public class GSAccessControlList extends AccessControlList
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static GSAccessControlListREST_CANNED_AUTHENTICATED_READstatic GSAccessControlListREST_CANNED_BUCKET_OWNER_FULL_CONTROLstatic GSAccessControlListREST_CANNED_BUCKET_OWNER_READstatic GSAccessControlListREST_CANNED_PRIVATEstatic GSAccessControlListREST_CANNED_PUBLIC_READstatic GSAccessControlListREST_CANNED_PUBLIC_READ_WRITE
-
Constructor Summary
Constructors Constructor Description GSAccessControlList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValueForRESTHeaderACL()StringtoString()Returns a string representation of the ACL contents, useful for debugging.com.jamesmurty.utils.XMLBuildertoXMLBuilder()-
Methods inherited from class org.jets3t.service.acl.AccessControlList
getGrantAndPermissions, getGranteesWithPermission, getOwner, getPermissionsForGrantee, grantAllPermissions, grantPermission, hasGranteeAndPermission, isCannedRestACL, isRESTHeaderACL, revokeAllPermissions, setOwner, toXml
-
-
-
-
Field Detail
-
REST_CANNED_PRIVATE
public static final GSAccessControlList REST_CANNED_PRIVATE
-
REST_CANNED_PUBLIC_READ
public static final GSAccessControlList REST_CANNED_PUBLIC_READ
-
REST_CANNED_PUBLIC_READ_WRITE
public static final GSAccessControlList REST_CANNED_PUBLIC_READ_WRITE
-
REST_CANNED_AUTHENTICATED_READ
public static final GSAccessControlList REST_CANNED_AUTHENTICATED_READ
-
REST_CANNED_BUCKET_OWNER_READ
public static final GSAccessControlList REST_CANNED_BUCKET_OWNER_READ
-
REST_CANNED_BUCKET_OWNER_FULL_CONTROL
public static final GSAccessControlList REST_CANNED_BUCKET_OWNER_FULL_CONTROL
-
-
Method Detail
-
toString
public String toString()
Returns a string representation of the ACL contents, useful for debugging.- Overrides:
toStringin classAccessControlList
-
toXMLBuilder
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws ServiceException, ParserConfigurationException, FactoryConfigurationError, TransformerException- Overrides:
toXMLBuilderin classAccessControlList- Throws:
ServiceExceptionParserConfigurationExceptionFactoryConfigurationErrorTransformerException
-
getValueForRESTHeaderACL
public String getValueForRESTHeaderACL()
- Overrides:
getValueForRESTHeaderACLin classAccessControlList- Returns:
- the header value string for this ACL if it is a predefined ACL, otherwise return null;
-
-