java.lang.Object
org.shredzone.acme4j.Account.EditableAccount
- Umschließende Klasse:
Account
Provides editable properties of an
Account.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddContact(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.
-
Methodendetails
-
getContacts
Returns the list of all contact URIs for modification. Use theListmethods to modify the contact list.The modified list is not validated. If you change entries, you have to make sure that they are valid according to the RFC. It is recommended to use the
addContact()methods below to add new contacts to the list. -
addContact
Adds a new Contact to the account.- Parameter:
contact- Contact URI- Gibt zurück:
- itself
-
addContact
Adds a new Contact to the account.This is a convenience call for
addContact(URI).- Parameter:
contact- Contact URI as string- Gibt zurück:
- itself
-
addEmail
Adds a new Contact email to the account.This is a convenience call for
addContact(String)that doesn't require to prepend the email address with the "mailto" scheme.- Parameter:
email- Contact email without "mailto" scheme (e.g. test@gmail.com)- Gibt zurück:
- itself
-
commit
Commits the changes and updates the account.- Löst aus:
AcmeException
-