public class DefaultNavigationNodeWizard extends Wizard
NavigationNodePerspective.
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNavigationNodeWizard.FinalizeWizardEvent
Additional event for wizard that is responsible for correct wizard finalization.
|
Wizard.WizardEvent| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ABSTRACTCMSCOMPONENT |
protected static java.lang.String |
ABSTRACTCMSCOMPONENT_UID_PREFIX |
protected static java.lang.String |
ABSTRACTPAGE |
protected static java.lang.String |
ABSTRACTPAGE_UID_PREFIX |
protected static java.lang.String |
CMS_LINK_COMPONENT_MODE |
protected static java.lang.String |
CMS_NAVIGATION_NODE_NAME |
protected static java.lang.String |
CMS_NAVIGATION_NODE_TITLE |
protected static java.lang.String |
CMS_NAVIGATION_NODE_VISIBLE |
protected static java.lang.String |
CMSITEM_UID |
protected static java.lang.String |
CONTENT_PAGE_MODE |
protected static java.lang.String |
CREATE_NEW_DECISION |
protected static java.lang.String |
CURRENT_CATATLOG_VERSION |
protected static java.lang.String |
DEFAULT_COLLECTTION_EDITOR |
protected static java.lang.String |
DOT_CATATLOG_VERSION |
protected static java.lang.String |
LINK_UID_PREFIX |
protected static java.lang.String |
MEDIA_MODE |
protected static java.lang.String |
MEDIA_UID_PREFIX |
protected static java.lang.String |
MIME_TYPES |
protected static java.lang.String |
RESOURCES_PARAM |
protected static java.lang.String |
SELECT_EXISTING_DECISION |
protected static java.lang.String |
SELECTED_DECISION |
protected static java.lang.String |
SELECTED_MODE |
currentPage, DO_BACK_ON_FIRST_PAGE, frameComponent, history, messages| Constructor and Description |
|---|
DefaultNavigationNodeWizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
doDone() |
void |
doNext() |
java.lang.String |
getCmsNavigationNodeName()
Retrieves navigation node name that was specified by user.
|
java.util.Map<java.lang.String,java.lang.String> |
getCmsNavigationNodeTitle()
Retrieves navigation node title that was specified by user.
|
NavigationNodeMandatoryPageController |
getDefaultInnerWizardPageController() |
GenericRandomNameProducer |
getGenericRandomNameProducer() |
java.util.List<java.lang.String> |
getMediaMimeTypes() |
GenericItemWizard |
getNavigationNodeInnerWizard() |
java.util.Map<java.lang.String,java.lang.Object> |
getPredefinedValuesForInnerWizard()
Returns all predefined values for wizard regarding current mode.
|
java.lang.String |
getSelectedDecision()
Retrieves selected decision from
WizardContext. |
java.lang.String |
getSelectedMode()
Retrieves selected mode from
WizardContext. |
java.lang.String |
getSelectedTypeName()
Returns a localized name regarding selected mode.
|
java.util.List<ObjectTemplate> |
getSupportedObjectTemplates()
Returns all supported object templates.
|
protected SystemService |
getSystemService() |
TypeService |
getTypeService() |
UIAccessRightService |
getUiAccessRightService() |
java.util.List<java.lang.String> |
getUserDecisions()
Retrieves supported user decisions.
|
DefaultWizardContext |
getWizardContext() |
void |
init(GenericItemMandatoryPage page,
Component parent)
Responsible for inner wizard initialization.
|
void |
initializeInnerWizard(GenericItemWizard innerWizard,
WizardPage page)
Responsible for inner wizard initialization.
|
boolean |
isCmsNavigationNodeVisible()
Checks whether navigation node should be visible.
|
boolean |
isCreateModeEnabled()
Checks whether create mode was selected.
|
boolean |
isMediaModeSelected()
Checks whether media mode is chosen.
|
boolean |
isModeSelected()
Checks whether user select mode.
|
void |
setDecision(java.lang.String currentDecision)
Stores selected decision into
WizardContext. |
void |
setDefaultInnerWizardPageController(NavigationNodeMandatoryPageController defaultInnerWizardPageController) |
void |
setGenericRandomNameProducer(GenericRandomNameProducer genericRandomNameProducer) |
void |
setMediaMimeTypes(java.util.List<java.lang.String> mediaMimeTypes) |
void |
setNavigationNodeInnerWizard(GenericItemWizard navigationNodeInnerWizard) |
void |
setResources(java.util.List<TypedObject> resources)
Sets related items into wizard context
WizardContext. |
void |
setSelectedMode(java.lang.String selectedMode)
Stores selected mode into
WizardContext. |
void |
setSupportedTypes(java.util.List<java.lang.String> supportedTypes) |
void |
setTypeService(TypeService typeService) |
void |
setUiAccessRightService(UIAccessRightService uiAccessRightService) |
void |
setWizardContext(WizardContext context) |
void |
updateView() |
addMessage, checkShowBackOnFirstPage, cleanupHistory, close, createFrameComponent, createPageComponent, doBack, doCancel, getAllPageAttributes, getComponentURI, getContextClass, getCurrentController, getCurrentPage, getDefaultController, getFrameComponent, getHeight, getMessages, getPage, getPageContainer, getPageRoot, getPages, getPreviousPage, getTitle, getWidth, isForceHideDone, isForceShowNext, isShowBack, isShowCancel, isShowDone, isShowNext, refreshButtons, resize, setComponentURI, setContextClass, setCurrentPage, setDefaultController, setForceHideDone, setForceShowNext, setHeight, setPageRoot, setPages, setPreviousPage, setShowBack, setShowCancel, setShowDone, setShowNext, setTitle, setWidth, setWizardTitle, show, show, showprotected static final java.lang.String CMS_LINK_COMPONENT_MODE
protected static final java.lang.String CONTENT_PAGE_MODE
protected static final java.lang.String MEDIA_MODE
protected static final java.lang.String SELECTED_MODE
protected static final java.lang.String SELECTED_DECISION
protected static final java.lang.String DEFAULT_COLLECTTION_EDITOR
protected static final java.lang.String CMS_NAVIGATION_NODE_VISIBLE
protected static final java.lang.String CMS_NAVIGATION_NODE_NAME
protected static final java.lang.String CMS_NAVIGATION_NODE_TITLE
protected static final java.lang.String MIME_TYPES
protected static final java.lang.String CREATE_NEW_DECISION
protected static final java.lang.String SELECT_EXISTING_DECISION
protected static final java.lang.String CURRENT_CATATLOG_VERSION
protected static final java.lang.String DOT_CATATLOG_VERSION
protected static final java.lang.String RESOURCES_PARAM
protected static final java.lang.String CMSITEM_UID
protected static final java.lang.String ABSTRACTCMSCOMPONENT
protected static final java.lang.String ABSTRACTCMSCOMPONENT_UID_PREFIX
protected static final java.lang.String ABSTRACTPAGE
protected static final java.lang.String ABSTRACTPAGE_UID_PREFIX
protected static final java.lang.String MEDIA_UID_PREFIX
protected static final java.lang.String LINK_UID_PREFIX
public boolean isCreateModeEnabled()
public boolean isCmsNavigationNodeVisible()
public java.lang.String getCmsNavigationNodeName()
public java.util.Map<java.lang.String,java.lang.String> getCmsNavigationNodeTitle()
public DefaultWizardContext getWizardContext()
getWizardContext in class Wizardpublic void setWizardContext(WizardContext context)
setWizardContext in class Wizardpublic void setSelectedMode(java.lang.String selectedMode)
WizardContext.
public void setDecision(java.lang.String currentDecision)
WizardContext.
public java.lang.String getSelectedMode()
WizardContext.
public java.lang.String getSelectedDecision()
WizardContext.
public boolean isMediaModeSelected()
public boolean isModeSelected()
public java.util.Map<java.lang.String,java.lang.Object> getPredefinedValuesForInnerWizard()
public java.lang.String getSelectedTypeName()
public java.util.List<java.lang.String> getUserDecisions()
public java.util.List<ObjectTemplate> getSupportedObjectTemplates()
cmscockpitNavigationNodeConfigpublic void setResources(java.util.List<TypedObject> resources)
WizardContext.
public void initializeInnerWizard(GenericItemWizard innerWizard, WizardPage page)
innerWizard - wizard for creating a new instance of itemspage - that will be assigned to wizardpublic void updateView()
updateView in class Wizardpublic void init(GenericItemMandatoryPage page, Component parent)
page - mandatory wizard pageparent - parent componentprotected SystemService getSystemService()
public UIAccessRightService getUiAccessRightService()
public void setUiAccessRightService(UIAccessRightService uiAccessRightService)
public java.util.List<java.lang.String> getMediaMimeTypes()
public void setMediaMimeTypes(java.util.List<java.lang.String> mediaMimeTypes)
public void setTypeService(TypeService typeService)
public TypeService getTypeService()
public void setSupportedTypes(java.util.List<java.lang.String> supportedTypes)
public NavigationNodeMandatoryPageController getDefaultInnerWizardPageController()
public void setDefaultInnerWizardPageController(NavigationNodeMandatoryPageController defaultInnerWizardPageController)
public void setNavigationNodeInnerWizard(GenericItemWizard navigationNodeInnerWizard)
public GenericItemWizard getNavigationNodeInnerWizard()
public void setGenericRandomNameProducer(GenericRandomNameProducer genericRandomNameProducer)
public GenericRandomNameProducer getGenericRandomNameProducer()
Copyright © 2018 SAP SE. All Rights Reserved.