|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jets3t.service.acl.GroupGrantee
public class GroupGrantee
Represents a Group grantee.
Only three groups are available in S3:
ALL_USERS: The general public
AUTHENTICATED_USERS: Authenticated Amazon S3 users
LOG_DELIVERY: Amazon's S3 Log Delivery group, who deliver bucket log files
Field Summary | |
---|---|
static GroupGrantee |
ALL_USERS
The group of all users, represented in S3 by the URI: http://acs.amazonaws.com/groups/global/AllUsers |
static GroupGrantee |
AUTHENTICATED_USERS
The group of authenticated users, represented in S3 by the URI: http://acs.amazonaws.com/groups/global/AuthenticatedUsers |
static GroupGrantee |
LOG_DELIVERY
The group of Bucket Log delivery users, represented in S3 by the URI: http://acs.amazonaws.com/groups/s3/LogDelivery |
Constructor Summary | |
---|---|
GroupGrantee()
|
|
GroupGrantee(String groupUri)
Constructs a group grantee object using the given group URI as an identifier. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getIdentifier()
Returns the group grantee's URI. |
int |
hashCode()
|
void |
setIdentifier(String uri)
Set the group grantee's URI. |
String |
toString()
|
String |
toXml()
|
com.jamesmurty.utils.XMLBuilder |
toXMLBuilder()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GroupGrantee ALL_USERS
public static final GroupGrantee AUTHENTICATED_USERS
public static final GroupGrantee LOG_DELIVERY
Constructor Detail |
---|
public GroupGrantee()
public GroupGrantee(String groupUri)
Note: All possible group types are available as public static variables from this class, so this constructor should rarely be necessary.
groupUri
- Method Detail |
---|
public String toXml() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
toXml
in interface GranteeInterface
TransformerException
ParserConfigurationException
FactoryConfigurationError
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
toXMLBuilder
in interface GranteeInterface
TransformerException
ParserConfigurationException
FactoryConfigurationError
public void setIdentifier(String uri)
setIdentifier
in interface GranteeInterface
public String getIdentifier()
getIdentifier
in interface GranteeInterface
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |