public class EmailClassPlaceholderList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
EmailClassPlaceholder |
create(java.lang.String newName)
Creates a new placeholder for the given name.
|
void |
delete(EmailClassPlaceholder placeholder)
Deletes the given placeholder.
|
EmailClassPlaceholder |
getEmailClassPlaceholder(java.lang.String name)
Returns the placeholder for the given name.
|
java.util.List<java.lang.String> |
getEmailClassPlaceholderNames()
Return a list of placeholder names of this instance.
|
java.util.List<EmailClassPlaceholder> |
getEmailClassPlaceholders()
Returns all placeholders contained in this list.
|
static java.util.Set<java.lang.String> |
getPredefinedPlaceholders()
Returns all predefined placeholder names.
|
void |
rename(java.lang.String newName,
EmailClassPlaceholder placeholder)
Renames the given placeholder to the new specified name.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public EmailClassPlaceholder create(java.lang.String newName) throws javax.naming.InvalidNameException
newName
- the name of the new placeholderjavax.naming.InvalidNameException
- in case of an invalid or already used namepublic void rename(java.lang.String newName, EmailClassPlaceholder placeholder) throws CumulusException, javax.naming.InvalidNameException
newName
- the new name for the placeholderplaceholder
- the placeholder to renameCumulusException
- in case of an errorjavax.naming.InvalidNameException
- in case of an invalid namepublic void delete(EmailClassPlaceholder placeholder) throws CumulusException
placeholder
- the placeholder to deleteCumulusException
- in case of an errorpublic java.util.List<java.lang.String> getEmailClassPlaceholderNames()
String
public EmailClassPlaceholder getEmailClassPlaceholder(java.lang.String name)
name
- the name of the placeholder to returnpublic java.util.List<EmailClassPlaceholder> getEmailClassPlaceholders()
public static java.util.Set<java.lang.String> getPredefinedPlaceholders()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.