Interface EmailProfileManager
- All Superinterfaces:
- ExtensionPointManager
Manages the configured 
EmailProfiles.- 
Method SummaryModifier and TypeMethodDescriptionvoidaddProfileType(EmailProfileType profileType) Add a newEmailProfileTypeto the systemgetExtensionPoint(String typeId) List<? extends EmailProfileType>Optional<? extends EmailProfile.Managed>getProfile(String name) Get the managed email profile associated with a nameCollection<? extends EmailProfile.Managed>voidRemove an existingEmailProfileTypefrom the system
- 
Method Details- 
getExtensionPoint- Specified by:
- getExtensionPointin interface- ExtensionPointManager
- Returns:
- the ExtensionPointTypeidentified bytypeId, ornullif none exists for that name.
- See Also:
 
- 
getExtensionPointsList<? extends EmailProfileType> getExtensionPoints()- Specified by:
- getExtensionPointsin interface- ExtensionPointManager
- Returns:
- all ExtensionPointTypes managed by thisExtensionPointManager.
 
- 
addProfileTypeAdd a newEmailProfileTypeto the system- Parameters:
- profileType- the- EmailProfileTypeto add
- Throws:
- IllegalArgumentException- if an- EmailProfileTypealready exists with the same ID
- Exception- if there was any other unexpected problem adding the new- EmailProfileType
 
- 
removeProfileTypeRemove an existingEmailProfileTypefrom the system- Parameters:
- id- the ID of an existing- EmailProfileTypeto remove
- Throws:
- IllegalArgumentException- if an- EmailProfileTypedoes not exist with the given ID, or if the ID is associated with a built-in EmailProfileType
 
- 
getProfilesCollection<? extends EmailProfile.Managed> getProfiles()- Returns:
- all the email profiles managed by this manager
 
- 
getProfileGet the managed email profile associated with a name- Parameters:
- name- the name of the email profile to get
- Returns:
- an Optionalcontaining the managed email profile associated with the given name, or an empty Optional if no email profile is managed under the given name
 
 
-