java.lang.Object
org.shredzone.acme4j.Account.EditableAccount
- Enclosing class:
- Account
Editable
Account.-
Method Summary
Modifier and TypeMethodDescriptionaddContact(String contact) Adds a new Contact to the account.addContact(URI contact) Adds a new Contact to the account.Adds a new Contact email to the account.voidcommit()Commits the changes and updates the account.Returns the list of all contact URIs for modification.
-
Method Details
-
getContacts
Returns the list of all contact URIs for modification. Use theListmethods to modify the contact list. -
addContact
Adds a new Contact to the account.- Parameters:
contact- Contact URI- Returns:
- itself
-
addContact
Adds a new Contact to the account.This is a convenience call for
addContact(URI).- Parameters:
contact- Contact URI as string- Returns:
- itself
-
addEmail
Adds a new Contact email to the account.This is a convenience call for
addContact(String)hat doesn't require from you attach "mailto" scheme before email address.- Parameters:
email- Contact email without "mailto" scheme (e.g. test@gmail.com)- Returns:
- itself
-
commit
Commits the changes and updates the account.- Throws:
AcmeException
-