public class CatalogFieldEnumListValueContainer extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
int |
createEnumEntry(java.lang.String defaultName)
Adds a new enum entry with the given default value.
|
void |
deleteEnumEntry(int oldid)
Deletes the entry with the given ID without redirecting the records using this value to another enum entry.
|
void |
deleteEnumEntry(int oldID,
int replacementID)
Deletes the entry with the given ID and redirects the records using this value to the given replacement enum entry.
|
CatalogFieldEnumListValueContainerCoreValueList |
getCatalogFieldEnumListValueContainerCoreValueList()
Returns the instance managing the different string enum values.
|
java.lang.String |
getEnumDescription(int enumID,
int languageID)
Returns the enum description for the given ID and language.
|
java.util.List<java.lang.Integer> |
getEnumKeys()
Returns the list of enum IDs contained in this list.
|
java.lang.String |
getEnumName(int enumID,
int languageID)
Returns the entry value for the given ID and language.
|
void |
setEnumDescription(int enumID,
int languageID,
java.lang.String value)
Sets the enum description for the specified enum ID and language.
|
void |
setEnumName(int enumID,
int languageID,
java.lang.String value)
Sets the enum value for the specified enum ID and language.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public CatalogFieldEnumListValueContainerCoreValueList getCatalogFieldEnumListValueContainerCoreValueList()
public java.util.List<java.lang.Integer> getEnumKeys()
Integers
public int createEnumEntry(java.lang.String defaultName)
defaultName
- new default valuepublic void deleteEnumEntry(int oldid)
oldid
- the ID of the entry to deletepublic void deleteEnumEntry(int oldID, int replacementID)
oldID
- the ID of the entry to deletereplacementID
- the ID to use for redirectionpublic java.lang.String getEnumName(int enumID, int languageID)
enumID
- the enum IDlanguageID
- the language IDpublic void setEnumName(int enumID, int languageID, java.lang.String value)
enumID
- the enum IDlanguageID
- the language to setvalue
- new enum valuepublic java.lang.String getEnumDescription(int enumID, int languageID)
enumID
- the enum IDlanguageID
- the language IDpublic void setEnumDescription(int enumID, int languageID, java.lang.String value)
enumID
- the enum IDlanguageID
- the language to setvalue
- new enum descriptionwww.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.