Package org.jets3t.service.acl.gs
Class UserByEmailAddressGrantee
java.lang.Object
org.jets3t.service.acl.EmailAddressGrantee
org.jets3t.service.acl.gs.UserByEmailAddressGrantee
- All Implemented Interfaces:
GranteeInterface
Represents an User By Email Grantee, that is a grantee identified by their email address.
- Author:
- Google Developers
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.UserByEmailAddressGrantee
(String emailAddress) Constructs a grantee with the given email.UserByEmailAddressGrantee
(String emailAddress, String name) -
Method Summary
Methods inherited from class org.jets3t.service.acl.EmailAddressGrantee
getIdentifier, hashCode, setIdentifier, toXml
-
Constructor Details
-
UserByEmailAddressGrantee
public UserByEmailAddressGrantee()Default constructor.Warning! If created with this constructor this class will not represent a valid grantee until the identifier is set.
-
UserByEmailAddressGrantee
Constructs a grantee with the given email.- Parameters:
emailAddress
- user's service-recognizable email address.
-
UserByEmailAddressGrantee
-
-
Method Details
-
getName
-
setName
-
toXMLBuilder
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws TransformerException, ParserConfigurationException, FactoryConfigurationError- Specified by:
toXMLBuilder
in interfaceGranteeInterface
- Overrides:
toXMLBuilder
in classEmailAddressGrantee
- Throws:
TransformerException
ParserConfigurationException
FactoryConfigurationError
-
equals
- Overrides:
equals
in classEmailAddressGrantee
-
toString
-