public class CustomDataList extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
CustomDataListEntry |
createEntry(java.lang.String name)
Creates a new entry with the given name.
|
void |
delete(CustomDataListEntry entry)
Deletes the given instance.
|
java.util.List<CustomDataListEntry> |
getEntries()
Returns all entries contained in this list.
|
CustomDataListEntry |
getEntry(java.lang.String name)
Returns the instance for the given name.
|
java.util.List<java.lang.String> |
getEntryNames()
Return a list of names for the contained instances.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public CustomDataListEntry createEntry(java.lang.String name)
name
- name of the new entrypublic java.util.List<java.lang.String> getEntryNames()
String
public CustomDataListEntry getEntry(java.lang.String name)
name
- the name of the instance to returnpublic java.util.List<CustomDataListEntry> getEntries()
public void delete(CustomDataListEntry entry) throws CumulusException
entry
- the instance to deleteCumulusException
- in case of an errorwww.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.