public static class HMCHelper.DefaultHMCContext extends Object implements HMCContext
HMCContext implementation.| Modifier | Constructor and Description |
|---|---|
protected |
DefaultHMCContext(AbstractChip chip) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canOpenWizard(String wizardtType)
Tells whether or not the current user is allowed to open wizards of the given type.
|
void |
expandNode(String nodeName,
boolean expanded)
Not yet implemented
|
OrganizerChip |
findOrganizer(Item item) |
AbstractChip |
getChip() |
ItemEditorContext |
openItem(Item item,
boolean external)
Opens an item editor.
|
protected OrganizerChip |
openOrganizer(ComposedType type) |
void |
openType(ComposedType type)
Opens the organizer associated with the given type.
|
void |
openType(ComposedType type,
Map initialValues)
Opens the organizer associated with the given type.
|
void |
openTypeAndSearch(ComposedType type,
OrganizerSearchConfiguration cfg)
Not yet implemented
|
void |
openWizard(String wizardType)
Opens a wizard inside a external window.
|
void |
openWizard(String wizardType,
Map attributes)
Opens a wizard inside a external window.
|
protected DefaultHMCContext(AbstractChip chip)
public AbstractChip getChip()
public ItemEditorContext openItem(Item item, boolean external)
HMCContextopenItem in interface HMCContextitem - the item to editexternal - if true the item is shown in a external windowpublic OrganizerChip findOrganizer(Item item)
protected OrganizerChip openOrganizer(ComposedType type)
public void openWizard(String wizardType, Map attributes) throws JaloInvalidParameterException
HMCContextopenWizard in interface HMCContextwizardType - the code of the wizard typeattributes - additional attributes required by the new WizardBusinessItem instanceJaloInvalidParameterException - if no such wizard existspublic boolean canOpenWizard(String wizardtType)
HMCContextcanOpenWizard in interface HMCContextwizardtType - the type code of the wizard item typepublic void openWizard(String wizardType) throws JaloInvalidParameterException
HMCContextopenWizard in interface HMCContextwizardType - the code of the wizard typeJaloInvalidParameterException - if no such wizard existspublic void openType(ComposedType type) throws JaloSecurityException
HMCContextopenType in interface HMCContexttype - the type to open the organizer forJaloSecurityException - if the organizer could be opened e.g. if the current user is not allowed topublic void openType(ComposedType type, Map initialValues) throws JaloSecurityException
HMCContextopenType in interface HMCContexttype - the type to open the organizer forinitialValues - the initial attribute of the organizer creator componentJaloSecurityException - if the organizer could be opened e.g. if the current user is not allowed topublic void openTypeAndSearch(ComposedType type, OrganizerSearchConfiguration cfg)
openTypeAndSearch in interface HMCContexttype - the type to open the organizer forcfg - the search configurationpublic void expandNode(String nodeName, boolean expanded) throws JaloInvalidParameterException, JaloSecurityException
expandNode in interface HMCContextnodeName - 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 nodeCopyright © 2017 SAP SE. All Rights Reserved.