public class GSAccessControlList extends AccessControlList
Modifier and Type | Field and 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_PROJECT_PRIVATE |
static GSAccessControlList |
REST_CANNED_PUBLIC_READ |
static GSAccessControlList |
REST_CANNED_PUBLIC_READ_WRITE |
grants, owner
Constructor and Description |
---|
GSAccessControlList() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValueForRESTHeaderACL() |
java.lang.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 static final GSAccessControlList REST_CANNED_PROJECT_PRIVATE
public java.lang.String toString()
toString
in class AccessControlList
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws ServiceException, javax.xml.parsers.ParserConfigurationException, javax.xml.parsers.FactoryConfigurationError, javax.xml.transform.TransformerException
toXMLBuilder
in class AccessControlList
ServiceException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
javax.xml.transform.TransformerException
public java.lang.String getValueForRESTHeaderACL()
getValueForRESTHeaderACL
in class AccessControlList