Package com.saperion.ngc.events
Class BaseWindow
- 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
-
- All Implemented Interfaces:
EventChild,EventChildHandler,LogEventChildHandler,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
- Direct Known Subclasses:
AbstractDocumentView,AbstractStructureDialog,ExternalStorageCreateDocDialog,ExternalStorageDashBoardDialog,ExternalStorageUploadDialog,ExternalStorageUploadStatusDialog,HylandViewerImpl,IntelligentFormPopupWindow,IntelligentFormViewImpl,LogViewImpl,MainTabViewImpl,MediaViewerImpl,NavigationViewImpl,NewFolderDialog,OneDriveLoginDialog,OneDriveLogInErrorDialog,OneDriveLogInSuccessDialog,OneDriveLogOutErrorDialog,OneDriveManageShareDialog,OneDriveNewShareDialog,PdfjsViewerImpl,ResultSetViewImpl,RevisionHistoryDialog,SelectFolderClassDialog,ShareBaseCheckoutShareDialog,ShareBaseDuplicateDocumentUploadErrorDialog,ShareBaseLoginDialog,ShareBaseLogInErrorDialog,ShareBaseManageShareDialog,ShareBaseNewShareDialog,SimpleViewerImpl,UserSelectionDialog,VirtualViewerHTML5,WeblinkHandler
public abstract class BaseWindow extends org.zkoss.zul.Window implements EventChild, EventChildHandler
The BaseWindow is the abstract superclass of all window-based components of the webclient that use the default event-handling mechanism. It provides methods to post several types of events.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
-
Fields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl
AFTER_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.EventChild
ALL_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
-
-
Constructor Summary
Constructors Constructor Description BaseWindow()BaseWindow(java.lang.String title, java.lang.String border, boolean closable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.org.zkoss.zul.WindowgetMainWindow()voidpostAddLinkEvent(java.lang.String name, NavigationNode parent, FolderId destination)Post a AddLinkEvent.voidpostAddToFavoritesEvent(FavoriteQueryInformation favoriteQueryInformation)Posts an add to favorites event.voidpostCancelSelectedEvent(com.saperion.ngc.iform.xml.SaveActionType action)Cancel event.voidpostChangeDocumentSecurityEvent(java.util.Set<DocumentId> documentIds, java.util.Set<java.lang.String> acls)Posts a ChangeDocumentSecurityEvent.voidpostChangeFolderSecurityEvent(FolderId folderId, java.util.Set<java.lang.String> acls)Posts a ChangeFolderSecurityEvent.voidpostDeleteSelectedEvent()Delete selected.voidpostDisplayPopupEvent(DocumentId docId, boolean withCtrl, boolean editMode)voidpostDisplayPopupEvent(DocumentId docId, boolean currentRevision, boolean withCtrl, boolean editMode)voidpostDisplayPopupEvent(DocumentId docId, boolean withCtrl, boolean editMode, ResultSetViewImpl view)voidpostDisplayResultItemEvent(int maskRights, DocumentId selectedDocId)voidpostDisplayResultItemEvent(DocumentId selectedDocId)CallsEventChildHandler.postDisplayResultItemEvent(int, DocumentId)with all rights enabled.voidpostDocumentCheckEvent(CheckDataBean.CheckType checkout, DocumentId id)Checkin / checkout selected document.voidpostDocumentCheckWithShareBaseEvent(ShareBaseCheckDataBean.ShareBaseCheckType checkType, DocumentId id, boolean isShareBaseLoggedIn)Checkin / checkout selected document from/to ShareBase.voidpostDocumentFilingEvent(DocumentFilingEvent.DocumentFilingAction action, java.util.Set<DocumentId> documentIDs, java.lang.String folderName)Posts a DocumentFilingEvent.voidpostDocumentFilingEvent(DocumentFilingEvent.DocumentFilingAction action, java.util.Set<DocumentId> documentIDs, java.util.Set<FolderId> folderSysRowIds)Posts a DocumentFilingEvent.voidpostDocumentReleaseEvent(DocumentId id)Release selected document.voidpostDownloadResultItemEvent(java.util.List<ResultProperties> items)voidpostEditContentEvent(EditContentEvent.EditContentAction action, DocumentId documentId)Post edit content event.voidpostEditItemSelectedEvent(EditItemSelectedEvent.EditItemEventOrigin origin, java.lang.String maskName, java.lang.String ddcName, ResultProperties properties)Edit item event.voidpostEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin)Edit event.voidpostEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin, boolean readonly)Edit event.voidpostEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin, java.lang.String mask, ResultProperties properties)Edit event.voidpostEditStructureEvent(DocumentId documentId)Posts an edit structure event.voidpostErrorLogEvent(LogMessage message)Posts an event that will create a log-entry at error-level.voidpostErrorLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)Posts an event that will create a log-entry at error-level.voidpostExternalStorageUploadEvent(DocumentId documentId, com.saperion.externalstorage.client.ExternalStorageClient client, com.saperion.externalstorage.ExternalStorageType storageType)Post a External Storage Upload eventvoidpostExternalStorageUploadStatusEvent(java.lang.Boolean uploadStatus, com.saperion.externalstorage.library.Document uploadedDocument, com.saperion.externalstorage.client.ExternalStorageClient storageClient, com.saperion.externalstorage.ExternalStorageType storageType)Post a External Storage Upload status eventvoidpostFieldChangeEvent(ResultProperty property)voidpostFileActionEvent(java.util.Map<FolderId,java.lang.String> folders, FileActionEvent.FileAction action, FolderId fileParent)Posts a file action event.voidpostFileActionEvent(java.util.Map<FolderId,java.lang.String> folders, java.util.Map<FolderId,java.lang.String> masks, FileActionEvent.FileAction action, FolderId fileParent)Posts a file action event.voidpostFormButtonEvent(ButtonInfo info)voidpostIndexResultItemEvent(ResultProperties properties, java.lang.String componentId)voidpostInfoLogEvent(LogMessage message)Posts an event that will create a log-entry at info-level.voidpostInfoLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)Posts an event that will create a log-entry at info-level.voidpostLaunchWorkflowEvent(java.util.List<java.lang.String> documentIds, java.lang.String workflowName, java.lang.String commentString, java.util.List<com.saperion.intf.wf.WorkflowMember> users)voidpostLockDocumentEvent(boolean lock)voidpostLogonEvent(LogonEvent.LogonResult result, java.lang.String userName)voidpostLogonEvent(LogonEvent.LogonResult result, java.lang.String userName, boolean bIsSSOUser)voidpostNavigationFolderEvent(FolderNode node, boolean close)voidpostNavigationFormEvent(MaskInfoBean infoBean, boolean close)voidpostNavigationFormEvent(MaskInfoBean infoBean, FolderSearchInfos infos, boolean close)voidpostNavigationWebpartEvent(java.lang.String adress, java.lang.String name, boolean close)voidpostNewSelectedEvent(NewSelectedEvent.NewEventOrigin origin, java.lang.String maskName, java.lang.String ddcName, FormMode mode)New event.voidpostOpenMaskEvent(java.lang.String formName, java.lang.String sysRowId)Post open mask event.voidpostPrintDocumentEvent(java.util.List<ResultProperties> rows)Posts a print-document-event.voidpostProlongRetentionEvent(ResultProperties row, java.util.Date retentionDate)Post a prolong retention eventvoidpostQueryFavoriteEvent(com.saperion.ngc.favorites.xml.Favorites favorites, boolean close)Posts an on query favorite event.voidpostReduceDispositionEvent(ResultProperties row, java.util.Date dispositionDate)Post a reduce disposition eventvoidpostRefreshEvent()Posts a refresh event.voidpostResetGuiEvent()Post reset GUI event.voidpostResultFieldEvent(ResultFieldEventBean bean)voidpostSaveDocumentEvent(ResultFieldEventBean bean)voidpostSaveDocumentEvent(ResultFieldEventBean bean, java.util.Set<java.lang.String> acls, java.lang.String comment, java.util.Map<java.lang.String,DocumentVariable> variables)voidpostSelectTreeItemEvent(FolderId folderId, SelectTreeItemEvent.Destination type)voidpostSendMailResultItemEvent(MailSendType mailSendType, ResultProperties item, MailContentType mailContentType)voidpostSetLitigationHoldEvent(DocumentId documentId, boolean activate)Post a litigation hold value change eventvoidpostShareBaseLoginEvent(DocumentId documentId)Post a ShareBase Login eventvoidpostStartWorkflowEvent(java.util.List<java.lang.String> documentIds)voidpostTabSelectedEvent(FolderId folderId, MainTabView.MTVTabType tabType, IntelligentFormView formView)Posts a tab selected event.voidpostUnDeleteSelectedEvent()Undelete selected.voidpostUploadDocumentEvent(FolderUploadInfos uploadInfos)Posts an upload document event.voidpostUploadeExternalStorageDocumentEvent(FolderUploadInfos uploadInfos, com.saperion.externalstorage.ExternalStorageType storageType)Posts an upload Sharebase document event.voidpostUploadSuccessEvent(FolderId folderId)Posts an upload success event.voidpostWarningLogEvent(LogMessage message)Posts an event that will create a log-entry at warning-level.voidpostWarningLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)Posts an event that will create a log-entry at warning-level.voidpostWorkflowActionEvent(java.util.List<DocumentId> tasks, com.saperion.intf.wf.CommandInfo info, java.util.List<java.lang.String> actors, java.lang.String commentString, java.util.Date actionDate)voidpostWorkflowCommentEvent(java.util.List<DocumentId> tasks)voidpostWorkflowDisplayCommentEvent(DocumentId task)voidsetEventtarget(org.zkoss.zk.ui.Component comp, java.lang.String eventName)Set the event target.-
Methods inherited from class org.zkoss.zul.Window
beforeChildAdded, 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.XulElement
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
-
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, 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.AbstractComponent
addAnnotation, 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.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getEventtarget
public 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 interfaceEventChild- Parameters:
eventName- Event name or null for main target- Returns:
- Set of event targets
- See Also:
EventChild.getEventtarget(java.lang.String)
-
setEventtarget
public void setEventtarget(org.zkoss.zk.ui.Component comp, java.lang.String eventName)Set the event target.- Specified by:
setEventtargetin interfaceEventChild- Parameters:
comp- Event targeteventName- Event name or null for main target- See Also:
EventChild.setEventtarget(org.zkoss.zk.ui.Component, java.lang.String)
-
postWorkflowActionEvent
public void postWorkflowActionEvent(java.util.List<DocumentId> tasks, com.saperion.intf.wf.CommandInfo info, java.util.List<java.lang.String> actors, java.lang.String commentString, java.util.Date actionDate)
- Specified by:
postWorkflowActionEventin interfaceEventChildHandler- Parameters:
tasks- Task infoinfo- Command infoactors- ActorcommentString- CommentactionDate- Action date- See Also:
EventChildHandler.postWorkflowActionEvent(java.util.List, com.saperion.intf.wf.CommandInfo, java.util.List, java.lang.String, java.util.Date)
-
postWorkflowCommentEvent
public void postWorkflowCommentEvent(java.util.List<DocumentId> tasks)
- Specified by:
postWorkflowCommentEventin interfaceEventChildHandler- Parameters:
tasks- Task info- See Also:
EventChildHandler.postWorkflowCommentEvent(java.util.List)
-
postWorkflowDisplayCommentEvent
public void postWorkflowDisplayCommentEvent(DocumentId task)
- Specified by:
postWorkflowDisplayCommentEventin interfaceEventChildHandler- Parameters:
task- Task info- See Also:
EventChildHandler.postWorkflowDisplayCommentEvent(DocumentId)
-
postDisplayPopupEvent
public void postDisplayPopupEvent(DocumentId docId, boolean withCtrl, boolean editMode)
- Specified by:
postDisplayPopupEventin interfaceEventChildHandler- Parameters:
docId- Document idwithCtrl- With CTRLeditMode- edit mode- See Also:
EventChildHandler.postDisplayPopupEvent(com.saperion.ngc.model.document.DocumentId, boolean, boolean)
-
postDisplayPopupEvent
public void postDisplayPopupEvent(DocumentId docId, boolean currentRevision, boolean withCtrl, boolean editMode)
- Specified by:
postDisplayPopupEventin interfaceEventChildHandler- Parameters:
docId- Document idcurrentRevision- currentRevisionwithCtrl- With CTRLeditMode- edit mode- See Also:
EventChildHandler.postDisplayPopupEvent(com.saperion.ngc.model.document.DocumentId, boolean, boolean)
-
postDisplayPopupEvent
public void postDisplayPopupEvent(DocumentId docId, boolean withCtrl, boolean editMode, ResultSetViewImpl view)
- Specified by:
postDisplayPopupEventin interfaceEventChildHandler- Parameters:
docId- Document idwithCtrl- With CTRLeditMode- edit modeview- ResultSetViewImpl- See Also:
EventChildHandler.postDisplayPopupEvent(com.saperion.ngc.model.document.DocumentId, boolean, boolean, com.saperion.ngc.resultset.ResultSetViewImpl)
-
postDisplayResultItemEvent
public void postDisplayResultItemEvent(int maskRights, DocumentId selectedDocId)- Specified by:
postDisplayResultItemEventin interfaceEventChildHandler- Parameters:
maskRights- rights enabled in the maskselectedDocId- selected item's id- See Also:
EventChildHandler.postDisplayResultItemEvent(int, com.saperion.ngc.model.document.DocumentId)
-
postDisplayResultItemEvent
public void postDisplayResultItemEvent(DocumentId selectedDocId)
CallsEventChildHandler.postDisplayResultItemEvent(int, DocumentId)with all rights enabled.- Specified by:
postDisplayResultItemEventin interfaceEventChildHandler- Parameters:
selectedDocId- selected item's ID- See Also:
(com.saperion.ngc.model.document.DocumentId)
-
postIndexResultItemEvent
public void postIndexResultItemEvent(ResultProperties properties, java.lang.String componentId)
- Specified by:
postIndexResultItemEventin interfaceEventChildHandler- Parameters:
properties- PropertiescomponentId- id of the component firing this event- See Also:
(com.saperion.ngc.model.resultset.ResultProperties,java.lang.String)
-
postLockDocumentEvent
public void postLockDocumentEvent(boolean lock)
- Specified by:
postLockDocumentEventin interfaceEventChildHandler- Parameters:
lock- Lock- See Also:
EventChildHandler.postLockDocumentEvent(boolean)
-
postNewSelectedEvent
public void postNewSelectedEvent(NewSelectedEvent.NewEventOrigin origin, java.lang.String maskName, java.lang.String ddcName, FormMode mode)
New event.- Specified by:
postNewSelectedEventin interfaceEventChildHandler- Parameters:
origin- event originmaskName- Mask nameddcName- DDC namemode- Form mode- See Also:
(com.saperion.ngc.events.resultset.NewSelectedEvent.NewEventOrigin, java.lang.String, java.lang.String, com.saperion.ngc.iform.FormMode)
-
postEditItemSelectedEvent
public void postEditItemSelectedEvent(EditItemSelectedEvent.EditItemEventOrigin origin, java.lang.String maskName, java.lang.String ddcName, ResultProperties properties)
Edit item event.- Specified by:
postEditItemSelectedEventin interfaceEventChildHandler- Parameters:
origin- event originmaskName- Mask nameddcName- DDC nameproperties- Properties- See Also:
(com.saperion.ngc.events.resultset.EditItemSelectedEvent.EditItemEventOrigin, java.lang.String, java.lang.String, com.saperion.ngc.model.resultset.ResultProperties)
-
postEditSelectedEvent
public void postEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin)
Edit event.- Specified by:
postEditSelectedEventin interfaceEventChildHandler- Parameters:
origin- event origin- See Also:
#postEditSelectedEvent(com.saperion.ngc.events.resultset.EditSelectedEvent.EditEventOrigin)
-
postEditSelectedEvent
public void postEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin, boolean readonly)
Edit event.- Specified by:
postEditSelectedEventin interfaceEventChildHandler- Parameters:
origin- event originreadonly- if true index data will be shown but cannot be edited- See Also:
#postEditSelectedEvent(com.saperion.ngc.events.resultset.EditSelectedEvent.EditEventOrigin, boolean)
-
postEditSelectedEvent
public void postEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin, java.lang.String mask, ResultProperties properties)
Edit event.- Specified by:
postEditSelectedEventin interfaceEventChildHandler- Parameters:
origin- event originmask- name of the mask to useproperties- properties of the document to edit- See Also:
(com.saperion.ngc.events.resultset.EditSelectedEvent.EditEventOrigin, java.lang.String, com.saperion.ngc.model.resultset.ResultProperties)
-
postResultFieldEvent
public void postResultFieldEvent(ResultFieldEventBean bean)
- Specified by:
postResultFieldEventin interfaceEventChildHandler- Parameters:
bean- Result field bean- See Also:
#postResultFieldEvent(com.saperion.ngc.events.iform.ResultFieldEventBean)
-
postSaveDocumentEvent
public void postSaveDocumentEvent(ResultFieldEventBean bean)
- Specified by:
postSaveDocumentEventin interfaceEventChildHandler- Parameters:
bean- Result field bean- See Also:
#postSaveDocumentEvent(com.saperion.ngc.events.iform.ResultFieldEventBean)
-
postSaveDocumentEvent
public void postSaveDocumentEvent(ResultFieldEventBean bean, java.util.Set<java.lang.String> acls, java.lang.String comment, java.util.Map<java.lang.String,DocumentVariable> variables)
- Specified by:
postSaveDocumentEventin interfaceEventChildHandler- Parameters:
bean- Result field beanacls- ACLs to use when saving (comma-separated string)comment- the comment for the new revisionwvariables- the variables to add to the document- See Also:
(com.saperion.ngc.events.iform.ResultFieldEventBean, java.util.Set, java.lang.String, java.util.Map)
-
postDeleteSelectedEvent
public void postDeleteSelectedEvent()
Delete selected.- Specified by:
postDeleteSelectedEventin interfaceEventChildHandler- See Also:
EventChildHandlerImpl.postDeleteSelectedEvent()
-
postUnDeleteSelectedEvent
public void postUnDeleteSelectedEvent()
Undelete selected.- Specified by:
postUnDeleteSelectedEventin interfaceEventChildHandler- See Also:
EventChildHandlerImpl.postUnDeleteSelectedEvent()
-
postDocumentCheckEvent
public void postDocumentCheckEvent(CheckDataBean.CheckType checkout, DocumentId id)
Checkin / checkout selected document.- Specified by:
postDocumentCheckEventin interfaceEventChildHandler- Parameters:
checkout- Checkout / checkin typeid- Document id- See Also:
EventChildHandler.postDocumentCheckEvent(com.saperion.ngc.events.CheckDataBean.CheckType, com.saperion.ngc.model.document.DocumentId)
-
postDocumentCheckWithShareBaseEvent
public void postDocumentCheckWithShareBaseEvent(ShareBaseCheckDataBean.ShareBaseCheckType checkType, DocumentId id, boolean isShareBaseLoggedIn)
Checkin / checkout selected document from/to ShareBase.- Specified by:
postDocumentCheckWithShareBaseEventin interfaceEventChildHandler- Parameters:
checkType- type of check event; available events are checkout, checkin and discardid- Saperion document idisShareBaseLoggedIn- true if user is already logged in sharebase else request for login- See Also:
EventChildHandler.postDocumentCheckWithShareBaseEvent(com.saperion.ngc.events.ShareBaseCheckDataBean.ShareBaseCheckType, com.saperion.ngc.model.document.DocumentId, boolean)
-
postDocumentReleaseEvent
public void postDocumentReleaseEvent(DocumentId id)
Release selected document.- Specified by:
postDocumentReleaseEventin interfaceEventChildHandler- Parameters:
id- Document id to release- See Also:
EventChildHandler.postDocumentReleaseEvent(com.saperion.ngc.model.document.DocumentId)
-
postDownloadResultItemEvent
public void postDownloadResultItemEvent(java.util.List<ResultProperties> items)
- Specified by:
postDownloadResultItemEventin interfaceEventChildHandler- Parameters:
items- items to download- See Also:
EventChildHandler.postDownloadResultItemEvent(java.util.List)
-
postSendMailResultItemEvent
public void postSendMailResultItemEvent(MailSendType mailSendType, ResultProperties item, MailContentType mailContentType)
- Specified by:
postSendMailResultItemEventin interfaceEventChildHandler- Parameters:
mailSendType- mail send typeitem- item to send per mailmailContentType- mail content type- See Also:
EventChildHandler.postSendMailResultItemEvent(com.saperion.ngc.mail.MailSendType, com.saperion.ngc.model.resultset.ResultProperties, com.saperion.ngc.mail.MailContentType)
-
postFormButtonEvent
public void postFormButtonEvent(ButtonInfo info)
- Specified by:
postFormButtonEventin interfaceEventChildHandler- Parameters:
info- Button info- See Also:
EventChildHandlerImpl.postFormButtonEvent(com.saperion.ngc.iform.button.ButtonInfo)
-
postLaunchWorkflowEvent
public void postLaunchWorkflowEvent(java.util.List<java.lang.String> documentIds, java.lang.String workflowName, java.lang.String commentString, java.util.List<com.saperion.intf.wf.WorkflowMember> users)- Specified by:
postLaunchWorkflowEventin interfaceEventChildHandler- Parameters:
documentIds- Document id'sworkflowName- Workflow namecommentString- Comment stringusers- Users- See Also:
EventChildHandlerImpl.postLaunchWorkflowEvent(java.util.List, java.lang.String, java.lang.String, java.util.List)
-
postStartWorkflowEvent
public void postStartWorkflowEvent(java.util.List<java.lang.String> documentIds)
- Specified by:
postStartWorkflowEventin interfaceEventChildHandler- Parameters:
documentIds- Document IDs- See Also:
EventChildHandler.postStartWorkflowEvent(java.util.List)
-
postNavigationFormEvent
public void postNavigationFormEvent(MaskInfoBean infoBean, boolean close)
- Specified by:
postNavigationFormEventin interfaceEventChildHandler- Parameters:
infoBean- Mask info beanclose- Close tab- See Also:
EventChildHandler.postNavigationFormEvent(com.saperion.ngc.events.MaskInfoBean, boolean)
-
postNavigationFormEvent
public void postNavigationFormEvent(MaskInfoBean infoBean, FolderSearchInfos infos, boolean close)
- Specified by:
postNavigationFormEventin interfaceEventChildHandler- Parameters:
infoBean- Mask info beaninfos- folder search infos (to search within a folder)close- Close tab- See Also:
EventChildHandler.postNavigationFormEvent(com.saperion.ngc.events.MaskInfoBean, com.saperion.ngc.events.navigation.FolderSearchInfos, boolean)
-
postNavigationFolderEvent
public void postNavigationFolderEvent(FolderNode node, boolean close)
- Specified by:
postNavigationFolderEventin interfaceEventChildHandler- Parameters:
node- Navigation folder nodeclose- Close tab- See Also:
#postNavigationFolderEvent(com.saperion.ngc.model.navigation.FolderNode, boolean)
-
postNavigationWebpartEvent
public void postNavigationWebpartEvent(java.lang.String adress, java.lang.String name, boolean close)- Specified by:
postNavigationWebpartEventin interfaceEventChildHandler- Parameters:
adress- Webpart adressname- Nameclose- Close tab- See Also:
EventChildHandler.postNavigationWebpartEvent(java.lang.String, java.lang.String, boolean)
-
postFieldChangeEvent
public void postFieldChangeEvent(ResultProperty property)
- Specified by:
postFieldChangeEventin interfaceEventChildHandler- Parameters:
property- Property- See Also:
EventChildHandler.postFieldChangeEvent(com.saperion.ngc.model.resultset.ResultProperty)
-
postLogonEvent
public void postLogonEvent(LogonEvent.LogonResult result, java.lang.String userName)
- Specified by:
postLogonEventin interfaceEventChildHandler- Parameters:
result- Logon resultuserName- User name- See Also:
EventChildHandler.postLogonEvent(com.saperion.ngc.events.LogonEvent.LogonResult, java.lang.String)
-
postLogonEvent
public void postLogonEvent(LogonEvent.LogonResult result, java.lang.String userName, boolean bIsSSOUser)
- Specified by:
postLogonEventin interfaceEventChildHandler- Parameters:
result- Logon resultuserName- User namebIsSSOUser- indicate SSOUser- See Also:
EventChildHandler.postLogonEvent(com.saperion.ngc.events.LogonEvent.LogonResult, java.lang.String, boolean)
-
postCancelSelectedEvent
public void postCancelSelectedEvent(com.saperion.ngc.iform.xml.SaveActionType action)
Cancel event.- Specified by:
postCancelSelectedEventin interfaceEventChildHandler- Parameters:
action- save action- See Also:
EventChildHandler.postCancelSelectedEvent(com.saperion.ngc.iform.xml.SaveActionType)
-
postSelectTreeItemEvent
public void postSelectTreeItemEvent(FolderId folderId, SelectTreeItemEvent.Destination type)
- Specified by:
postSelectTreeItemEventin interfaceEventChildHandler- Parameters:
folderId- folderId or null, if not neededtype- Destination type- See Also:
EventChildHandler.postSelectTreeItemEvent(com.saperion.ngc.model.FolderId, com.saperion.ngc.events.navigation.SelectTreeItemEvent.Destination)
-
postResetGuiEvent
public void postResetGuiEvent()
Post reset GUI event.- Specified by:
postResetGuiEventin interfaceEventChildHandler- See Also:
EventChildHandler.postResetGuiEvent()
-
postEditContentEvent
public void postEditContentEvent(EditContentEvent.EditContentAction action, DocumentId documentId)
Post edit content event.- Specified by:
postEditContentEventin interfaceEventChildHandler- Parameters:
action- edit actiondocumentId- document id- See Also:
EventChildHandler.postEditContentEvent(com.saperion.ngc.events.resultset.EditContentEvent.EditContentAction, com.saperion.ngc.model.document.DocumentId)
-
postAddToFavoritesEvent
public void postAddToFavoritesEvent(FavoriteQueryInformation favoriteQueryInformation)
Posts an add to favorites event.- Specified by:
postAddToFavoritesEventin interfaceEventChildHandler- Parameters:
favoriteQueryInformation-FavoriteQueryInformation- See Also:
(com.saperion.ngc.favorites.FavoriteQueryInformation)
-
postQueryFavoriteEvent
public void postQueryFavoriteEvent(com.saperion.ngc.favorites.xml.Favorites favorites, boolean close)Posts an on query favorite event.- Specified by:
postQueryFavoriteEventin interfaceEventChildHandler- Parameters:
favorites-Favoritesclose- Close tab- See Also:
EventChildHandler.postQueryFavoriteEvent(com.saperion.ngc.favorites.xml.Favorites, boolean)
-
postDocumentFilingEvent
public void postDocumentFilingEvent(DocumentFilingEvent.DocumentFilingAction action, java.util.Set<DocumentId> documentIDs, java.util.Set<FolderId> folderSysRowIds)
Posts a DocumentFilingEvent.- Specified by:
postDocumentFilingEventin interfaceEventChildHandler- Parameters:
action- action to performdocumentIDs- document IDsfolderSysRowIds- folder sysrowids- See Also:
(com.saperion.ngc.events.navigation.DocumentFilingEvent.DocumentFilingAction, java.util.Set, java.util.Set)
-
postDocumentFilingEvent
public void postDocumentFilingEvent(DocumentFilingEvent.DocumentFilingAction action, java.util.Set<DocumentId> documentIDs, java.lang.String folderName)
Posts a DocumentFilingEvent.- Specified by:
postDocumentFilingEventin interfaceEventChildHandler- Parameters:
action- action to perform.documentIDs- document IDsfolderName- name for new folder- See Also:
#postDocumentFilingEvent(com.saperion.ngc.events.navigation.DocumentFilingEvent.DocumentFilingAction, java.util.Set, java.lang.String)
-
postChangeDocumentSecurityEvent
public void postChangeDocumentSecurityEvent(java.util.Set<DocumentId> documentIds, java.util.Set<java.lang.String> acls)
Posts a ChangeDocumentSecurityEvent.- Specified by:
postChangeDocumentSecurityEventin interfaceEventChildHandler- Parameters:
documentIds- document idsacls- set of acl names- See Also:
(java.util.Set, java.util.Set)
-
postChangeFolderSecurityEvent
public void postChangeFolderSecurityEvent(FolderId folderId, java.util.Set<java.lang.String> acls)
Posts a ChangeFolderSecurityEvent.- Specified by:
postChangeFolderSecurityEventin interfaceEventChildHandler- Parameters:
folderId- folder idacls- set of ACL names- See Also:
EventChildHandler.postChangeFolderSecurityEvent(com.saperion.ngc.model.FolderId, java.util.Set)
-
postAddLinkEvent
public void postAddLinkEvent(java.lang.String name, NavigationNode parent, FolderId destination)Post a AddLinkEvent.- Specified by:
postAddLinkEventin interfaceEventChildHandler- Parameters:
name- Nameparent- Parentdestination- Destination- See Also:
EventChildHandler.postAddLinkEvent(java.lang.String, com.saperion.ngc.model.navigation.intf.NavigationNode, com.saperion.ngc.model.FolderId)
-
postRefreshEvent
public void postRefreshEvent()
Posts a refresh event.- Specified by:
postRefreshEventin interfaceEventChildHandler- See Also:
EventChildHandler.postRefreshEvent()
-
postErrorLogEvent
public void postErrorLogEvent(LogMessage message)
Posts an event that will create a log-entry at error-level. A messagebox with the provided log-message will be shown.- Specified by:
postErrorLogEventin interfaceLogEventChildHandler- Parameters:
message- error message- See Also:
LogEventChildHandler.postErrorLogEvent(com.saperion.ngc.service.LogMessage)
-
postInfoLogEvent
public void postInfoLogEvent(LogMessage message)
Posts an event that will create a log-entry at info-level. A messagebox with the provided log-message will be shown only when forced by the log-message.- Specified by:
postInfoLogEventin interfaceLogEventChildHandler- Parameters:
message- info message- See Also:
LogEventChildHandler.postInfoLogEvent(com.saperion.ngc.service.LogMessage)
-
postWarningLogEvent
public void postWarningLogEvent(LogMessage message)
Posts an event that will create a log-entry at warning-level. A messagebox with the provided log-message will be shown only when forced by the log-message.- Specified by:
postWarningLogEventin interfaceLogEventChildHandler- Parameters:
message- warning message- See Also:
LogEventChildHandler.postWarningLogEvent(com.saperion.ngc.service.LogMessage)
-
postErrorLogEvent
public void postErrorLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)
Posts an event that will create a log-entry at error-level. A messagebox with the provided log-message will be shown.- Specified by:
postErrorLogEventin interfaceLogEventChildHandler- Parameters:
message- error messageeventListener- listener that will be called when the messagebox caused by this event is closed- See Also:
LogEventChildHandler.postErrorLogEvent(com.saperion.ngc.service.LogMessage, org.zkoss.zk.ui.event.EventListener)
-
postInfoLogEvent
public void postInfoLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)
Posts an event that will create a log-entry at info-level. A messagebox with the provided log-message will be shown only when forced by the log-message.- Specified by:
postInfoLogEventin interfaceLogEventChildHandler- Parameters:
message- info messageeventListener- listener that will be called when the messagebox caused by this event is closed- See Also:
LogEventChildHandler.postInfoLogEvent(com.saperion.ngc.service.LogMessage, org.zkoss.zk.ui.event.EventListener)
-
postWarningLogEvent
public void postWarningLogEvent(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener)
Posts an event that will create a log-entry at warning-level. A messagebox with the provided log-message will be shown only when forced by the log-message.- Specified by:
postWarningLogEventin interfaceLogEventChildHandler- Parameters:
message- warning messageeventListener- listener that will be called when the messagebox caused by this event is closed- See Also:
LogEventChildHandler.postWarningLogEvent(com.saperion.ngc.service.LogMessage, org.zkoss.zk.ui.event.EventListener)
-
postUploadDocumentEvent
public void postUploadDocumentEvent(FolderUploadInfos uploadInfos)
Posts an upload document event.- Specified by:
postUploadDocumentEventin interfaceEventChildHandler- Parameters:
uploadInfos- infos about the upload operation- See Also:
(com.saperion.ngc.model.navigation.FolderUploadInfos)
-
postUploadeExternalStorageDocumentEvent
public void postUploadeExternalStorageDocumentEvent(FolderUploadInfos uploadInfos, com.saperion.externalstorage.ExternalStorageType storageType)
Posts an upload Sharebase document event.- Specified by:
postUploadeExternalStorageDocumentEventin interfaceEventChildHandler- Parameters:
uploadInfos- infos about the Sharebase upload operationstorageType- External Storage type- See Also:
(com.saperion.ngc.model.navigation.FolderUploadInfos)
-
postUploadSuccessEvent
public void postUploadSuccessEvent(FolderId folderId)
Posts an upload success event.- Specified by:
postUploadSuccessEventin interfaceEventChildHandler- Parameters:
folderId- id of the folder the document was filed in- See Also:
EventChildHandler.postUploadSuccessEvent(com.saperion.ngc.model.FolderId)
-
postOpenMaskEvent
public void postOpenMaskEvent(java.lang.String formName, java.lang.String sysRowId)Post open mask event.- Specified by:
postOpenMaskEventin interfaceEventChildHandler- Parameters:
formName- Form namesysRowId- SysRowId for selection- See Also:
EventChildHandler.postOpenMaskEvent(java.lang.String, java.lang.String)
-
postFileActionEvent
public void postFileActionEvent(java.util.Map<FolderId,java.lang.String> folders, FileActionEvent.FileAction action, FolderId fileParent)
Posts a file action event.- Specified by:
postFileActionEventin interfaceEventChildHandler- Parameters:
folders- map with ids and class names of the selected foldersaction- file item actionfileParent- id of the parent node for the file- See Also:
EventChildHandler.postFileActionEvent(java.util.Map, com.saperion.ngc.events.resultset.FileActionEvent.FileAction, com.saperion.ngc.model.FolderId)
-
postFileActionEvent
public void postFileActionEvent(java.util.Map<FolderId,java.lang.String> folders, java.util.Map<FolderId,java.lang.String> masks, FileActionEvent.FileAction action, FolderId fileParent)
Posts a file action event.- Specified by:
postFileActionEventin interfaceEventChildHandler- Parameters:
folders- map with ids and class names of the selected foldersmasks- map with ids and query mask names of the selected folders. Query mask names will override the query masks set in the classes.action- file item actionfileParent- id of the parent node for the file- See Also:
EventChildHandler.postFileActionEvent(java.util.Map, com.saperion.ngc.events.resultset.FileActionEvent.FileAction, com.saperion.ngc.model.FolderId)
-
postTabSelectedEvent
public void postTabSelectedEvent(FolderId folderId, MainTabView.MTVTabType tabType, IntelligentFormView formView)
Posts a tab selected event.- Specified by:
postTabSelectedEventin interfaceEventChildHandler- Parameters:
folderId- folder idtabType- tab typeformView- The intelligent form contained in the selected tab.- See Also:
EventChildHandler.postTabSelectedEvent(FolderId, MainTabView.MTVTabType, IntelligentFormView)
-
postPrintDocumentEvent
public void postPrintDocumentEvent(java.util.List<ResultProperties> rows)
Posts a print-document-event.- Specified by:
postPrintDocumentEventin interfaceEventChildHandler- Parameters:
rows- rows selected for printing- See Also:
EventChildHandler.postPrintDocumentEvent(java.util.List)
-
postEditStructureEvent
public void postEditStructureEvent(DocumentId documentId)
Posts an edit structure event.- Specified by:
postEditStructureEventin interfaceEventChildHandler- Parameters:
documentId- ID of the document to edit- See Also:
EventChildHandler.postEditStructureEvent(com.saperion.ngc.model.document.DocumentId)
-
getMainWindow
public org.zkoss.zul.Window getMainWindow()
- Returns:
- main window of the current session or null if no main window was registered
-
postExternalStorageUploadEvent
public void postExternalStorageUploadEvent(DocumentId documentId, com.saperion.externalstorage.client.ExternalStorageClient client, com.saperion.externalstorage.ExternalStorageType storageType)
Description copied from interface:EventChildHandlerPost a External Storage Upload event- Specified by:
postExternalStorageUploadEventin interfaceEventChildHandler
-
postShareBaseLoginEvent
public void postShareBaseLoginEvent(DocumentId documentId)
Description copied from interface:EventChildHandlerPost a ShareBase Login event- Specified by:
postShareBaseLoginEventin interfaceEventChildHandler
-
postExternalStorageUploadStatusEvent
public void postExternalStorageUploadStatusEvent(java.lang.Boolean uploadStatus, com.saperion.externalstorage.library.Document uploadedDocument, com.saperion.externalstorage.client.ExternalStorageClient storageClient, com.saperion.externalstorage.ExternalStorageType storageType)Description copied from interface:EventChildHandlerPost a External Storage Upload status event- Specified by:
postExternalStorageUploadStatusEventin interfaceEventChildHandler
-
postProlongRetentionEvent
public void postProlongRetentionEvent(ResultProperties row, java.util.Date retentionDate)
Description copied from interface:EventChildHandlerPost a prolong retention event- Specified by:
postProlongRetentionEventin interfaceEventChildHandler
-
postReduceDispositionEvent
public void postReduceDispositionEvent(ResultProperties row, java.util.Date dispositionDate)
Description copied from interface:EventChildHandlerPost a reduce disposition event- Specified by:
postReduceDispositionEventin interfaceEventChildHandler
-
postSetLitigationHoldEvent
public void postSetLitigationHoldEvent(DocumentId documentId, boolean activate)
Description copied from interface:EventChildHandlerPost a litigation hold value change event- Specified by:
postSetLitigationHoldEventin interfaceEventChildHandler
-
-