public interface HMCContext extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
canOpenWizard(String wizardType)
Tells whether or not the current user is allowed to open wizards of the given type.
|
void |
expandNode(String nodeName,
boolean expanded)
Expands or collapses a specified hmc explorer node.
|
ItemEditorContext |
openItem(Item item,
boolean externalEditor)
Opens an item editor.
|
void |
openType(ComposedType type)
Opens the organizer associated with the given type.
|
void |
openType(ComposedType type,
Map initialAttributes)
Opens the organizer associated with the given type.
|
void |
openTypeAndSearch(ComposedType type,
OrganizerSearchConfiguration cfg)
Opens the organizer assoziated with the given type and directly executes a search.
|
void |
openWizard(String wizardTypeCode)
Opens a wizard inside a external window.
|
void |
openWizard(String wizardTypeCode,
Map attributes)
Opens a wizard inside a external window.
|
boolean canOpenWizard(String wizardType)
wizardType - the type code of the wizard item typeItemEditorContext openItem(Item item, boolean externalEditor) throws JaloSecurityException
item - the item to editexternalEditor - if true the item is shown in a external windowJaloSecurityException - if the current user is not allowed to open this itemvoid openType(ComposedType type) throws JaloSecurityException
type - the type to open the organizer forJaloSecurityException - if the organizer could be opened e.g. if the current user is not allowed tovoid openType(ComposedType type, Map initialAttributes) throws JaloSecurityException
type - the type to open the organizer forinitialAttributes - the initial attribute of the organizer creator componentJaloSecurityException - if the organizer could be opened e.g. if the current user is not allowed tovoid openTypeAndSearch(ComposedType type, OrganizerSearchConfiguration cfg)
type - the type to open the organizer forcfg - the search configurationvoid expandNode(String nodeName, boolean expanded) throws JaloInvalidParameterException, JaloSecurityException
nodeName - the name of the nodeexpanded - if true the node will be expanded, or collapsed
otherwiseJaloInvalidParameterException - is no such node existsJaloSecurityException - if the user is not allowed to view this nodevoid openWizard(String wizardTypeCode) throws JaloInvalidParameterException
wizardTypeCode - the code of the wizard typeJaloInvalidParameterException - if no such wizard existsvoid openWizard(String wizardTypeCode, Map attributes) throws JaloInvalidParameterException
wizardTypeCode - the code of the wizard typeattributes - additional attributes required by the new WizardBusinessItem instanceJaloInvalidParameterException - if no such wizard existsCopyright © 2017 SAP SE. All Rights Reserved.