org.jets3t.service.acl.gs
Class GroupByEmailAddressGrantee

java.lang.Object
  extended by org.jets3t.service.acl.GroupGrantee
      extended by org.jets3t.service.acl.gs.GroupByEmailAddressGrantee
All Implemented Interfaces:
GranteeInterface

public class GroupByEmailAddressGrantee
extends GroupGrantee

Represents an Group By Email Grantee, that is a group identified by their email address.

Author:
Google Developers

Field Summary
 
Fields inherited from class org.jets3t.service.acl.GroupGrantee
ALL_USERS, AUTHENTICATED_USERS, LOG_DELIVERY
 
Constructor Summary
GroupByEmailAddressGrantee()
           
GroupByEmailAddressGrantee(String email)
          Constructs a group grantee object using the given email address as an identifier.
GroupByEmailAddressGrantee(String email, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 void setName(String name)
           
 String toString()
           
 com.jamesmurty.utils.XMLBuilder toXMLBuilder()
           
 
Methods inherited from class org.jets3t.service.acl.GroupGrantee
getIdentifier, hashCode, setIdentifier, toXml
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupByEmailAddressGrantee

public GroupByEmailAddressGrantee()

GroupByEmailAddressGrantee

public GroupByEmailAddressGrantee(String email)
Constructs a group grantee object using the given email address as an identifier.

Parameters:
email -

GroupByEmailAddressGrantee

public GroupByEmailAddressGrantee(String email,
                                  String name)
Method Detail

getName

public String getName()

setName

public void setName(String name)

toXMLBuilder

public com.jamesmurty.utils.XMLBuilder toXMLBuilder()
                                             throws TransformerException,
                                                    ParserConfigurationException,
                                                    FactoryConfigurationError
Specified by:
toXMLBuilder in interface GranteeInterface
Overrides:
toXMLBuilder in class GroupGrantee
Throws:
TransformerException
ParserConfigurationException
FactoryConfigurationError

equals

public boolean equals(Object obj)
Overrides:
equals in class GroupGrantee

toString

public String toString()
Overrides:
toString in class GroupGrantee