Package com.saperion.ngc.navigation
Class NavigationViewImpl
- java.lang.Object
- 
- org.zkoss.zk.ui.AbstractComponent
- 
- org.zkoss.zk.ui.HtmlBasedComponent
- 
- org.zkoss.zul.impl.XulElement
- 
- org.zkoss.zul.Window
- 
- com.saperion.ngc.events.BaseWindow
- 
- com.saperion.ngc.navigation.NavigationViewImpl
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- EventChild,- EventChildHandler,- LogEventChildHandler,- NavigationView,- java.io.Serializable,- java.lang.Cloneable,- org.zkoss.zk.ui.Component,- org.zkoss.zk.ui.ext.Scope,- org.zkoss.zk.ui.IdSpace,- org.zkoss.zk.ui.sys.ComponentCtrl,- org.zkoss.zul.ext.Framable
 
 public final class NavigationViewImpl extends BaseWindow implements NavigationView, EventChild Implementation ofNavigationView.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface org.zkoss.zk.ui.ComponentAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 - 
Fields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrlAFTER_CHILD_ADDED, AFTER_CHILD_REMOVED, AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED, CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE
 - 
Fields inherited from interface com.saperion.ngc.events.EventChildALL_EVENTS, ON_ADD_LINK, ON_ADD_LOOKUP, ON_ADD_TO_FAVORITES, ON_AFTER_QUERY, ON_BUTTON, ON_BUTTON_QUERY, ON_CANCEL, ON_CANCEL_AND, ON_CANCEL_EDIT, ON_CHANGE_DOCUMENT_SECURITY, ON_CHANGE_FOLDER_SECURITY, ON_CLEAR, ON_DELETE_SELECTED, ON_DISPLAY_POPUP, ON_DISPLAY_RESULTITEM, ON_DISPLAY_TEMPORARY_DOCUMENT, ON_DOCUMENT_ADDED, ON_DOCUMENT_CHECK, ON_DOCUMENT_FILING, ON_DOCUMENT_LOCKED, ON_DOCUMENT_PROLONG_RETENTION, ON_DOCUMENT_REDUCE_DISPOSITION, ON_DOCUMENT_RELEASE, ON_DOWNLOAD_RESULTITEM, ON_EDIT_CONTENT, ON_EDIT_FOLDER, ON_EDIT_ITEM, ON_EDIT_ITEM_SELECTED, ON_EDIT_LOOKUP, ON_EDIT_SELECTED, ON_EDIT_STRUCTURE, ON_EXPORT, ON_EXTERNAL_STORAGE_UPLOAD, ON_EXTERNAL_STORAGE_UPLOAD_STATUS, ON_FAST_ACCESS_DRAG_OVER, ON_FIELD_CHANGE, ON_FILE_ACTION, ON_FILE_PREVIEW, ON_FILE_SEARCH, ON_FORM_CREATED, ON_FORM_RENDER_ERROR, ON_FORWARD, ON_IGNORE, ON_INDEX, ON_INDEX_CLEAR, ON_INDEX_RESULTITEM, ON_ITEM_DOUBLECLICK, ON_LAUNCH_WORKFLOW, ON_LOG, ON_LOGON, ON_MACRO, ON_NAVIGATION, ON_NAVIGATION_FOLDER, ON_NAVIGATION_FORM, ON_NAVIGATION_WEBPART, ON_NEW_ITEM, ON_NEW_SELECTED, ON_OK, ON_ONEDRIVE_LOGIN, ON_OPEN_INDEX_MASK, ON_OPEN_MASK, ON_OPEN_QUERY_MASK, ON_PASSWORD_EXPIRED, ON_PRINT_DOCUMENTS, ON_QUERY, ON_QUERY_FAVORITE, ON_REFRESH, ON_REFRESH_FOLDER, ON_RESET_GUI, ON_REVISION_CREATED, ON_SAVE_AND, ON_SAVE_DOC, ON_SAVE_FOLDER, ON_SCROLL_NODE, ON_SELECT_TREE_ITEM, ON_SELECTDDC, ON_SEND_MAIL_RESULTITEM, ON_SET_LITIGATION_HOLD, ON_SHAREBASE_DOCUMENT_CHECK, ON_SHAREBASE_LOGIN, ON_START_WORKFLOW, ON_TAB_SELECTED, ON_UNDELETE_SELECTED, ON_UPLOAD_DOCUMENT, ON_UPLOAD_EXTERNAL_STORAGE_DOCUMENT, ON_UPLOAD_SUCCESS, ON_VARIABLES_AVAILABLE, ON_WF, ON_WF_COMMENT_DIALOG_CANCEL, ON_WF_COMMENT_DIALOG_OK, ON_WFCOMMENTS, ON_WFDELEGATE, ON_WFFORWARD, ON_WFFORWARD1, ON_WFFORWARD2, ON_WFFORWARD3, ON_WFFORWARD4, ON_WFFORWARD5, ON_WFHISTORY, ON_WFPUTBACK, ON_WFREMINDER, ON_WFTAKE, ON_WORKFLOW_ACTION, ON_WORKFLOW_COMMENT, ON_WORKFLOW_DISPLAY_COMMENT
 - 
Fields inherited from interface com.saperion.ngc.navigation.NavigationViewADVANCED_MODE, MULTI_SELECTION, SELECTION_DISABLED, SIMPLE_MODE, SINGLE_SELECTION
 
- 
 - 
Constructor SummaryConstructors Constructor Description NavigationViewImpl()The navigation view.NavigationViewImpl(boolean selectionMode, boolean multiple, boolean privateAllowed, boolean link)The navigation view.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildNodes(NavigationNode node)Adds next level children to the given node.FastAccessItemaddFastAccess(java.lang.String ddc, java.lang.String path, java.lang.String name, boolean temporary)Adds a new entry to the fast access list.voidaddNode(NavigationNode parent, NavigationNode child)voidaddNodeMenuHandler(NaviTreeNodeMenuHandler handler, NavigationElement.TREE_ITEM_TYPE itemType)Add additional menu handler.NaviTreeNodefindFolder(FolderId id)Finds the folder with the specified id.intgetAllowedMaxNrOfNodesPerLevel()Gets the maximum number of allowed nodes per level.java.util.Set<org.zkoss.zk.ui.Component>getEventtarget(java.lang.String eventName)Reads the event target for the given event name, if set or the root element.java.lang.StringgetNavigationMode()Returns the navigation mode.NaviMenuRightsgetNodeMenuRights(NavigationElement.TREE_ITEM_TYPE itemType, NaviTreeNode node)Reads the rights for the given tree item type.RootNaviTreeNodegetRootNode()java.lang.StringgetSelectedFolderTable()java.util.Set<NavigationNode>getSelectedNodes()java.util.Set<NaviTreeNode>getSelectedUploadNodes()Returns the node selected for uploading.booleangetSimpleEFileChildren()booleanisAdvancedMode()Returns true if the navigation view is in advanced mode.booleanisDdcSelectorVisible()Reads the visibility of the Folder-DDC selector.booleanisFastAccessEnabled()booleanisLinkMode()booleanisMultiSelection()booleanisPrivateSelectAllowed()booleanisSelectionMode()booleanisWebpartsAllowed()voidonAddLink(org.zkoss.zk.ui.event.Event event)Event handler to add link.voidonAddToFavorites(org.zkoss.zk.ui.event.Event event)Event handler to add to favorite.voidonChangeFolderSecurity(org.zkoss.zk.ui.event.Event event)Event handler for change of folder security.voidonCreate(org.zkoss.zk.ui.event.Event event)OnCreate event handler.voidonDocumentFiling(org.zkoss.zk.ui.event.Event event)Event handler for document filing events.voidonFileAction(org.zkoss.zk.ui.event.Event event)Event handler for onFileAction events.voidonLogon(org.zkoss.zk.ui.event.Event event)Event handler for logon.voidonRefreshFolder(org.zkoss.zk.ui.event.Event event)Event to trigger the refresh of either folders or workflow folders.voidonSelectTreeItem(org.zkoss.zk.ui.event.Event event)Event handler to select a tree item.voidonTabSelected(org.zkoss.zk.ui.event.Event event)Event handler for tab selected event.voidonUploadSuccess(org.zkoss.zk.ui.event.Event event)OnUploadSuccess event handler.voidopenFolderPropertyMask(FolderId folderId, java.lang.String maskName)Opens the mask to edit the folder's properties.voidopenFolderPropertyMask(FolderId folderId, java.lang.String maskName, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> cancelListener, java.lang.String windowTitle)Opens the mask to edit the folders's properties.voidremoveNode(FolderId id)Removes the node identified by the specified id from the view.voidremoveNode(NavigationNode node)Removes the node from the view.voidrenderFastAccess(java.lang.String ddc, java.lang.String fastAccessPath)Renders the fast access content.voidrenderNavigationTree(NavigationTree tree)Sets the user settings navigation data tree to be displayed.voidsetAllowedMaxNrOfNodesPerLevel(int limit)Sets the maximum number of allowed nodes per level to the given limit.voidsetDdcSelectorVisible(boolean value)Set visibility of the Folder-DDC selector.voidsetEventtarget(org.zkoss.zk.ui.Component comp, java.lang.String eventName)Set the event target.voidsetFastAccessEnabled(boolean enabled)Activates or deactivates the fast access list.voidsetFolderTable(java.lang.String tableName)Sets the folder table to use.voidsetNavigationMode(java.lang.String mode)Sets the navigation mode.voidsetSelectionMode(java.lang.String mode)Sets the selection mode.voidsetSimpleEFileChildren(boolean value)If this parameter is set to true, a eFile folder shows only eFile names, that where opened in the session.voidsetWebpartsAllowed(boolean value)voidshowNode(FolderId folderId)Assures that the node with the specified path is visible in the navigation view.- 
Methods inherited from class com.saperion.ngc.events.BaseWindowgetMainWindow, postAddLinkEvent, postAddToFavoritesEvent, postCancelSelectedEvent, postChangeDocumentSecurityEvent, postChangeFolderSecurityEvent, postDeleteSelectedEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayResultItemEvent, postDisplayResultItemEvent, postDocumentCheckEvent, postDocumentCheckWithShareBaseEvent, postDocumentFilingEvent, postDocumentFilingEvent, postDocumentReleaseEvent, postDownloadResultItemEvent, postEditContentEvent, postEditItemSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditStructureEvent, postErrorLogEvent, postErrorLogEvent, postExternalStorageUploadEvent, postExternalStorageUploadStatusEvent, postFieldChangeEvent, postFileActionEvent, postFileActionEvent, postFormButtonEvent, postIndexResultItemEvent, postInfoLogEvent, postInfoLogEvent, postLaunchWorkflowEvent, postLockDocumentEvent, postLogonEvent, postLogonEvent, postNavigationFolderEvent, postNavigationFormEvent, postNavigationFormEvent, postNavigationWebpartEvent, postNewSelectedEvent, postOpenMaskEvent, postPrintDocumentEvent, postProlongRetentionEvent, postQueryFavoriteEvent, postReduceDispositionEvent, postRefreshEvent, postResetGuiEvent, postResultFieldEvent, postSaveDocumentEvent, postSaveDocumentEvent, postSelectTreeItemEvent, postSendMailResultItemEvent, postSetLitigationHoldEvent, postShareBaseLoginEvent, postStartWorkflowEvent, postTabSelectedEvent, postUnDeleteSelectedEvent, postUploadDocumentEvent, postUploadeExternalStorageDocumentEvent, postUploadSuccessEvent, postWarningLogEvent, postWarningLogEvent, postWorkflowActionEvent, postWorkflowCommentEvent, postWorkflowDisplayCommentEvent
 - 
Methods inherited from class org.zkoss.zul.WindowbeforeChildAdded, clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMinheight, getMinwidth, getMode, getModeType, getPosition, getTitle, getZclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isCollapsible, isMaximizable, isMaximized, isMinimizable, isMinimized, isShadow, isSizable, onChildRemoved, onClose, onModal, onPageDetached, renderProperties, service, setBorder, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMaximizable, setMaximized, setMinheight, setMinimizable, setMinimized, setMinwidth, setMode, setMode, setMode, setPosition, setShadow, setSizable, setTitle, setTopmost, setVisible
 - 
Methods inherited from class org.zkoss.zul.impl.XulElementgetContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
 - 
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponentaddSclass, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
 - 
Methods inherited from class org.zkoss.zk.ui.AbstractComponentaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onPageAttached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.zkoss.zk.ui.ComponentaddEventListener, addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getChildren, getClientAttribute, getClientDataAttribute, getDefinition, getDesktop, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getShadowVariable, getShadowVariable, getSpaceOwner, getStubonly, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, query, queryAll, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setTemplate, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride
 - 
Methods inherited from interface com.saperion.ngc.events.EventChildHandlerpostAddLinkEvent, postAddToFavoritesEvent, postCancelSelectedEvent, postChangeDocumentSecurityEvent, postChangeFolderSecurityEvent, postDeleteSelectedEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayResultItemEvent, postDisplayResultItemEvent, postDocumentCheckEvent, postDocumentCheckWithShareBaseEvent, postDocumentFilingEvent, postDocumentFilingEvent, postDocumentReleaseEvent, postDownloadResultItemEvent, postEditContentEvent, postEditItemSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditStructureEvent, postExternalStorageUploadEvent, postExternalStorageUploadStatusEvent, postFieldChangeEvent, postFileActionEvent, postFileActionEvent, postFormButtonEvent, postIndexResultItemEvent, postLaunchWorkflowEvent, postLockDocumentEvent, postLogonEvent, postLogonEvent, postNavigationFolderEvent, postNavigationFormEvent, postNavigationFormEvent, postNavigationWebpartEvent, postNewSelectedEvent, postOpenMaskEvent, postPrintDocumentEvent, postProlongRetentionEvent, postQueryFavoriteEvent, postReduceDispositionEvent, postRefreshEvent, postResetGuiEvent, postResultFieldEvent, postSaveDocumentEvent, postSaveDocumentEvent, postSelectTreeItemEvent, postSendMailResultItemEvent, postSetLitigationHoldEvent, postShareBaseLoginEvent, postStartWorkflowEvent, postTabSelectedEvent, postUnDeleteSelectedEvent, postUploadDocumentEvent, postUploadeExternalStorageDocumentEvent, postUploadSuccessEvent, postWorkflowActionEvent, postWorkflowCommentEvent, postWorkflowDisplayCommentEvent
 - 
Methods inherited from interface org.zkoss.zk.ui.IdSpacegetFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, hasFellow, hasFellow
 - 
Methods inherited from interface com.saperion.ngc.events.LogEventChildHandlerpostErrorLogEvent, postErrorLogEvent, postInfoLogEvent, postInfoLogEvent, postWarningLogEvent, postWarningLogEvent
 
- 
 
- 
- 
- 
Constructor Detail- 
NavigationViewImplpublic NavigationViewImpl() The navigation view.
 - 
NavigationViewImplpublic NavigationViewImpl(boolean selectionMode, boolean multiple, boolean privateAllowed, boolean link)The navigation view.- Parameters:
- selectionMode- set to true to use the view in selection mode. Will load the tree automatically.
- multiple- multiple selection mode
- privateAllowed- private selection allowed
- link- Link mode variant
 
 
- 
 - 
Method Detail- 
renderFastAccesspublic void renderFastAccess(java.lang.String ddc, java.lang.String fastAccessPath)Renders the fast access content.- Specified by:
- renderFastAccessin interface- NavigationView
- Parameters:
- ddc- folder ddc
- fastAccessPath- Fast access path
- See Also:
- NavigationView.renderFastAccess(java.lang.String, java.lang.String)
 
 - 
renderNavigationTreepublic void renderNavigationTree(NavigationTree tree) Sets the user settings navigation data tree to be displayed.- Specified by:
- renderNavigationTreein interface- NavigationView
- Parameters:
- tree- The navigation tree data to be displayed.
 
 - 
addChildNodespublic void addChildNodes(NavigationNode node) Adds next level children to the given node.- Specified by:
- addChildNodesin interface- NavigationView
- Parameters:
- node- The navigation node data to be updated.
 
 - 
removeNodepublic void removeNode(FolderId id) Removes the node identified by the specified id from the view. Only the view-representation is removed, the folder itself remains on the archive.- Specified by:
- removeNodein interface- NavigationView
- Parameters:
- id- id of the folder to remove
- See Also:
- NavigationView.removeNode(com.saperion.ngc.model.FolderId)
 
 - 
removeNodepublic void removeNode(NavigationNode node) Removes the node from the view. Only the view-representation is removed, the folder itself remains on the archive.- Specified by:
- removeNodein interface- NavigationView
- Parameters:
- node- the node to remove
- See Also:
- NavigationView.removeNode(com.saperion.ngc.model.navigation.intf.NavigationNode)
 
 - 
addNodepublic void addNode(NavigationNode parent, NavigationNode child) - Specified by:
- addNodein interface- NavigationView
- Parameters:
- parent- Node
- child- Child
- See Also:
- NavigationView.addNode(com.saperion.ngc.model.navigation.intf.NavigationNode, com.saperion.ngc.model.navigation.intf.NavigationNode)
 
 - 
findFolderpublic NaviTreeNode findFolder(FolderId id) Finds the folder with the specified id.- Specified by:
- findFolderin interface- NavigationView
- Parameters:
- id- folder id
- Returns:
- folder matching the id
- See Also:
- NavigationView.findFolder(com.saperion.ngc.model.FolderId)
 
 - 
getEventtargetpublic java.util.Set<org.zkoss.zk.ui.Component> getEventtarget(java.lang.String eventName) Reads the event target for the given event name, if set or the root element.- Specified by:
- getEventtargetin interface- EventChild
- Overrides:
- getEventtargetin class- BaseWindow
- Parameters:
- eventName- Event name or null for main target
- Returns:
- Set of event targets
- See Also:
- EventChild.getEventtarget(java.lang.String)
 
 - 
setEventtargetpublic void setEventtarget(org.zkoss.zk.ui.Component comp, java.lang.String eventName)Set the event target.- Specified by:
- setEventtargetin interface- EventChild
- Overrides:
- setEventtargetin class- BaseWindow
- Parameters:
- comp- Event target
- eventName- Event name or null for main target
- See Also:
- EventChildHandlerImpl.setEventtarget(org.zkoss.zk.ui.Component, java.lang.String)
 
 - 
setDdcSelectorVisiblepublic void setDdcSelectorVisible(boolean value) Set visibility of the Folder-DDC selector.- Specified by:
- setDdcSelectorVisiblein interface- NavigationView
- Parameters:
- value- True for visible
- See Also:
- NavigationView.setDdcSelectorVisible(boolean)
 
 - 
isDdcSelectorVisiblepublic boolean isDdcSelectorVisible() Reads the visibility of the Folder-DDC selector.- Specified by:
- isDdcSelectorVisiblein interface- NavigationView
- Returns:
- True for visible.
- See Also:
- NavigationView.isDdcSelectorVisible()
 
 - 
getAllowedMaxNrOfNodesPerLevelpublic int getAllowedMaxNrOfNodesPerLevel() Gets the maximum number of allowed nodes per level.- Specified by:
- getAllowedMaxNrOfNodesPerLevelin interface- NavigationView
- Returns:
- the maximum number of allowed nodes per level
- See Also:
- NavigationView.getAllowedMaxNrOfNodesPerLevel()
 
 - 
setAllowedMaxNrOfNodesPerLevelpublic void setAllowedMaxNrOfNodesPerLevel(int limit) Sets the maximum number of allowed nodes per level to the given limit.- Specified by:
- setAllowedMaxNrOfNodesPerLevelin interface- NavigationView
- Parameters:
- limit- the maximum number of allowed nodes per level
- See Also:
- NavigationView.setAllowedMaxNrOfNodesPerLevel(int)
 
 - 
isSelectionModepublic boolean isSelectionMode() - Specified by:
- isSelectionModein interface- NavigationView
- Returns:
- true if the navigation view is in selection mode
- See Also:
- NavigationView.isSelectionMode()
 
 - 
isMultiSelectionpublic boolean isMultiSelection() - Specified by:
- isMultiSelectionin interface- NavigationView
- Returns:
- true if multiple items can be selected. Only true if isSelectionMode is true, too.
- See Also:
- NavigationView.isMultiSelection()
 
 - 
isLinkModepublic boolean isLinkMode() - Specified by:
- isLinkModein interface- NavigationView
- Returns:
- true if the navigation view is in link mode
- See Also:
- NavigationView.isLinkMode()
 
 - 
isPrivateSelectAllowedpublic boolean isPrivateSelectAllowed() - Specified by:
- isPrivateSelectAllowedin interface- NavigationView
- Returns:
- true, if private folder select allowed
- See Also:
- NavigationView.isPrivateSelectAllowed()
 
 - 
getSelectedNodespublic java.util.Set<NavigationNode> getSelectedNodes() - Specified by:
- getSelectedNodesin interface- NavigationView
- Returns:
- set of all selected nodes
- See Also:
- NavigationView.getSelectedNodes()
 
 - 
getSelectedUploadNodespublic java.util.Set<NaviTreeNode> getSelectedUploadNodes() Returns the node selected for uploading.- Returns:
- nodes selected for uploading
 
 - 
onLogonpublic void onLogon(org.zkoss.zk.ui.event.Event event) Event handler for logon.- Specified by:
- onLogonin interface- NavigationView
- Parameters:
- event- Event
- See Also:
- NavigationView.onLogon(org.zkoss.zk.ui.event.Event)
 
 - 
onSelectTreeItempublic void onSelectTreeItem(org.zkoss.zk.ui.event.Event event) Event handler to select a tree item.- Specified by:
- onSelectTreeItemin interface- NavigationView
- Parameters:
- event- Event
- See Also:
- NavigationView.onSelectTreeItem(org.zkoss.zk.ui.event.Event)
 
 - 
onAddToFavoritespublic void onAddToFavorites(org.zkoss.zk.ui.event.Event event) Event handler to add to favorite.- Specified by:
- onAddToFavoritesin interface- NavigationView
- Parameters:
- event- Event
- See Also:
- NavigationView.onAddToFavorites(org.zkoss.zk.ui.event.Event)
 
 - 
onDocumentFilingpublic void onDocumentFiling(org.zkoss.zk.ui.event.Event event) Event handler for document filing events.- Specified by:
- onDocumentFilingin interface- NavigationView
- Parameters:
- event- event
- See Also:
- NavigationView.onDocumentFiling(org.zkoss.zk.ui.event.Event)
 
 - 
onChangeFolderSecuritypublic void onChangeFolderSecurity(org.zkoss.zk.ui.event.Event event) Event handler for change of folder security.- Specified by:
- onChangeFolderSecurityin interface- NavigationView
- Parameters:
- event- event
- See Also:
- NavigationView.onChangeFolderSecurity(org.zkoss.zk.ui.event.Event)
 
 - 
onAddLinkpublic void onAddLink(org.zkoss.zk.ui.event.Event event) Event handler to add link.- Specified by:
- onAddLinkin interface- NavigationView
- Parameters:
- event- Event
- See Also:
- NavigationView.onAddLink(org.zkoss.zk.ui.event.Event)
 
 - 
onCreatepublic void onCreate(org.zkoss.zk.ui.event.Event event) OnCreate event handler.- Parameters:
- event- event
 
 - 
onUploadSuccesspublic void onUploadSuccess(org.zkoss.zk.ui.event.Event event) OnUploadSuccess event handler.- Parameters:
- event- event
 
 - 
onFileActionpublic void onFileAction(org.zkoss.zk.ui.event.Event event) Event handler for onFileAction events.- Parameters:
- event- event
 
 - 
onTabSelectedpublic void onTabSelected(org.zkoss.zk.ui.event.Event event) Event handler for tab selected event.- Parameters:
- event- event
 
 - 
onRefreshFolderpublic void onRefreshFolder(org.zkoss.zk.ui.event.Event event) Event to trigger the refresh of either folders or workflow folders.- Parameters:
- event- Refresh Event.
 
 - 
addFastAccesspublic FastAccessItem addFastAccess(java.lang.String ddc, java.lang.String path, java.lang.String name, boolean temporary) Adds a new entry to the fast access list.- Specified by:
- addFastAccessin interface- NavigationView
- Parameters:
- ddc- folder ddc
- path- path of the tree part to show
- name- name of the entry
- temporary- temporary items are not saved in user settings
- Returns:
- the new fast access item. Null will be returned if the item was already present in the list or if an error occurred.
- See Also:
- NavigationView.addFastAccess(java.lang.String, java.lang.String, java.lang.String, boolean)
 
 - 
isWebpartsAllowedpublic boolean isWebpartsAllowed() - Specified by:
- isWebpartsAllowedin interface- NavigationView
- Returns:
- True, if webparts allowed
- See Also:
- NavigationView.isWebpartsAllowed()
 
 - 
setWebpartsAllowedpublic void setWebpartsAllowed(boolean value) - Specified by:
- setWebpartsAllowedin interface- NavigationView
- Parameters:
- value- True for allowed
- See Also:
- NavigationView.setWebpartsAllowed(boolean)
 
 - 
getSelectedFolderTablepublic java.lang.String getSelectedFolderTable() - Specified by:
- getSelectedFolderTablein interface- NavigationView
- Returns:
- The actual selected folder DDC
- See Also:
- NavigationView.getSelectedFolderTable()
 
 - 
setNavigationModepublic void setNavigationMode(java.lang.String mode) Sets the navigation mode. Default: 'simple'.- Specified by:
- setNavigationModein interface- NavigationView
- Parameters:
- mode- 'simple' or 'advanced' to select mode
- See Also:
- NavigationView.setNavigationMode(java.lang.String)
 
 - 
getNavigationModepublic java.lang.String getNavigationMode() Returns the navigation mode.- Specified by:
- getNavigationModein interface- NavigationView
- Returns:
- navigation mode
- See Also:
- NavigationView.getNavigationMode()
 
 - 
isAdvancedModepublic boolean isAdvancedMode() Returns true if the navigation view is in advanced mode.- Specified by:
- isAdvancedModein interface- NavigationView
- Returns:
- is advanced mode
- See Also:
- NavigationView.isAdvancedMode()
 
 - 
openFolderPropertyMaskpublic void openFolderPropertyMask(FolderId folderId, java.lang.String maskName) Opens the mask to edit the folder's properties.- Specified by:
- openFolderPropertyMaskin interface- NavigationView
- Parameters:
- folderId- id of the folder to edit
- maskName- name of the mask to open
- See Also:
- NavigationView.openFolderPropertyMask(FolderId, String)
 
 - 
openFolderPropertyMaskpublic void openFolderPropertyMask(FolderId folderId, java.lang.String maskName, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> cancelListener, java.lang.String windowTitle) Opens the mask to edit the folders's properties.- Specified by:
- openFolderPropertyMaskin interface- NavigationView
- Parameters:
- folderId- id of the folder to edit
- maskName- name of the mask to open
- cancelListener- event listener notified when the user presses cancel. The event sent to the listener contains the id of the folder that was edited in it's data-field.
- windowTitle- title of the window
- See Also:
- NavigationView.openFolderPropertyMask(com.saperion.ngc.model.FolderId, java.lang.String, org.zkoss.zk.ui.event.EventListener, java.lang.String)
 
 - 
showNodepublic void showNode(FolderId folderId) Assures that the node with the specified path is visible in the navigation view.- Specified by:
- showNodein interface- NavigationView
- Parameters:
- folderId- id of the node
- See Also:
- NavigationView.showNode(com.saperion.ngc.model.FolderId)
 
 - 
setSelectionModepublic void setSelectionMode(java.lang.String mode) Sets the selection mode. Possible values are 'single', 'multi' and 'disabled'.- Specified by:
- setSelectionModein interface- NavigationView
- Parameters:
- mode- selection mode
- See Also:
- NavigationView.setSelectionMode(java.lang.String)
 
 - 
setFolderTablepublic void setFolderTable(java.lang.String tableName) Sets the folder table to use.- Specified by:
- setFolderTablein interface- NavigationView
- Parameters:
- tableName- table name
- See Also:
- NavigationView.setFolderTable(java.lang.String)
 
 - 
setFastAccessEnabledpublic void setFastAccessEnabled(boolean enabled) Activates or deactivates the fast access list.- Specified by:
- setFastAccessEnabledin interface- NavigationView
- Parameters:
- enabled- enabled
- See Also:
- NavigationView.setFastAccessEnabled(boolean)
 
 - 
isFastAccessEnabledpublic boolean isFastAccessEnabled() - Specified by:
- isFastAccessEnabledin interface- NavigationView
- Returns:
- fast access list enabled/disabled status
- See Also:
- NavigationView.isFastAccessEnabled()
 
 - 
getRootNodepublic RootNaviTreeNode getRootNode() - Specified by:
- getRootNodein interface- NavigationView
- Returns:
- the root node of the current tree
- See Also:
- NavigationView.getRootNode()
 
 - 
addNodeMenuHandlerpublic void addNodeMenuHandler(NaviTreeNodeMenuHandler handler, NavigationElement.TREE_ITEM_TYPE itemType) Add additional menu handler.- Specified by:
- addNodeMenuHandlerin interface- NavigationView
- Parameters:
- handler- Menu handler
- itemType- Tree item type
- See Also:
- (com.saperion.ngc.navigation.NaviTreeNodeMenuHandler, com.saperion.ngc.model.navigation.intf.NavigationElement.TREE_ITEM_TYPE)
 
 - 
getNodeMenuRightspublic NaviMenuRights getNodeMenuRights(NavigationElement.TREE_ITEM_TYPE itemType, NaviTreeNode node) Reads the rights for the given tree item type.- Specified by:
- getNodeMenuRightsin interface- NavigationView
- Parameters:
- itemType- Tree item type
- node- navigation node
- Returns:
- Rights
- See Also:
- (com.saperion.ngc.model.navigation.intf.NavigationElement.TREE_ITEM_TYPE, com.saperion.ngc.navigation.NaviTreeNode)
 
 - 
setSimpleEFileChildrenpublic void setSimpleEFileChildren(boolean value) If this parameter is set to true, a eFile folder shows only eFile names, that where opened in the session. If it is set to false, all eFiles for this eFile application are shown.- Specified by:
- setSimpleEFileChildrenin interface- NavigationView
- Parameters:
- value- True for simple eFile children.
- See Also:
- NavigationView.setSimpleEFileChildren(boolean)
 
 - 
getSimpleEFileChildrenpublic boolean getSimpleEFileChildren() - Specified by:
- getSimpleEFileChildrenin interface- NavigationView
- Returns:
- True, if simple eFile children set.
- See Also:
- NavigationView.getSimpleEFileChildren()
 
 
- 
 
-