org.jets3t.service.acl
Interface GranteeInterface

All Known Implementing Classes:
CanonicalGrantee, EmailAddressGrantee, GroupGrantee

public interface GranteeInterface

Represents a grantee (entity) who can be assigned access permissions in an AccessControlList. All grantees have an ID of some kind (though the format of the ID can differ depending on the kind of grantee) and can be represented as an XML fragment suitable for use by the S3 REST implementation.

Author:
James Murty

Method Summary
 java.lang.String getIdentifier()
           
 void setIdentifier(java.lang.String id)
           
 java.lang.String toXml()
           
 

Method Detail

toXml

java.lang.String toXml()
Returns:
the grantee represented in an XML fragment compatible with the S3 REST interface.

setIdentifier

void setIdentifier(java.lang.String id)

getIdentifier

java.lang.String getIdentifier()