public class WorkflowState extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription(int languageID)
Returns the description for the given language id.
|
int |
getID()
Returns the id of this state.
|
java.lang.String |
getName(int languageID,
boolean fallbackToDefaultName)
Returns the name for the given language id.
|
java.util.Set<java.lang.String> |
getToolboxActionKeys()
Gets the keys of all stored toolbox actions for this workflow state
|
void |
setDescription(int languageID,
java.lang.String description)
Sets the description for the given language.
|
void |
setName(int languageID,
java.lang.String name)
Sets the name for the given language.
|
void |
setToolboxActionKeys(java.util.Set<java.lang.String> toolboxActionKeys)
Sets toolbox action keys for this state
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public int getID()
public java.lang.String getDescription(int languageID)
languageID
- specifying the language for the descriptionpublic void setDescription(int languageID, java.lang.String description)
languageID
- the language to set the description fordescription
- the new descriptionpublic java.lang.String getName(int languageID, boolean fallbackToDefaultName)
languageID
- specifying the language for the namefallbackToDefaultName
- when set to true this method returns the default name when no localized name is available otherwise nullpublic void setName(int languageID, java.lang.String name)
languageID
- the language to set the name forname
- the new namepublic java.util.Set<java.lang.String> getToolboxActionKeys()
public void setToolboxActionKeys(java.util.Set<java.lang.String> toolboxActionKeys)
toolboxActionKeys
- set of toolbox action keyswww.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.