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
,Serializable
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.zkoss.zul.Window
org.zkoss.zul.Window.Mode
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.AbstractComponent.Children
-
Field Summary
Fields inherited from class org.zkoss.zul.Window
EMBEDDED, HIGHLIGHTED, MODAL, OVERLAPPED, POPUP
Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent
_zclass
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 -
Method Summary
Modifier and TypeMethodDescriptionSet<org.zkoss.zk.ui.Component>
getEventtarget
(String eventName) Reads the event target for the given event name, if set or the root element.org.zkoss.zul.Window
void
postAddLinkEvent
(String name, NavigationNode parent, FolderId destination) Post a AddLinkEvent.void
postAddToFavoritesEvent
(FavoriteQueryInformation favoriteQueryInformation) Posts an add to favorites event.void
postCancelSelectedEvent
(com.saperion.ngc.iform.xml.SaveActionType action) Cancel event.void
postChangeDocumentSecurityEvent
(Set<DocumentId> documentIds, Set<String> acls) Posts a ChangeDocumentSecurityEvent.void
postChangeFolderSecurityEvent
(FolderId folderId, Set<String> acls) Posts a ChangeFolderSecurityEvent.void
Delete selected.void
postDisplayPopupEvent
(DocumentId docId, boolean withCtrl, boolean editMode) void
postDisplayPopupEvent
(DocumentId docId, boolean currentRevision, boolean withCtrl, boolean editMode) void
postDisplayResultItemEvent
(int maskRights, DocumentId selectedDocId) void
postDisplayResultItemEvent
(DocumentId selectedDocId) CallsEventChildHandler.postDisplayResultItemEvent(int, DocumentId)
with all rights enabled.void
postDocumentCheckEvent
(CheckDataBean.CheckType checkout, DocumentId id) Checkin / checkout selected document.void
postDocumentCheckWithShareBaseEvent
(ShareBaseCheckDataBean.ShareBaseCheckType checkType, DocumentId id, boolean isShareBaseLoggedIn) Checkin / checkout selected document from/to ShareBase.void
postDocumentFilingEvent
(DocumentFilingEvent.DocumentFilingAction action, Set<DocumentId> documentIDs, String folderName) Posts a DocumentFilingEvent.void
postDocumentFilingEvent
(DocumentFilingEvent.DocumentFilingAction action, Set<DocumentId> documentIDs, Set<FolderId> folderSysRowIds) Posts a DocumentFilingEvent.void
Release selected document.void
void
postEditContentEvent
(EditContentEvent.EditContentAction action, DocumentId documentId) Post edit content event.void
postEditItemSelectedEvent
(EditItemSelectedEvent.EditItemEventOrigin origin, String maskName, String ddcName, ResultProperties properties) Edit item event.void
Edit event.void
postEditSelectedEvent
(EditSelectedEvent.EditEventOrigin origin, boolean readonly) Edit event.void
postEditSelectedEvent
(EditSelectedEvent.EditEventOrigin origin, String mask, ResultProperties properties) Edit event.void
postEditStructureEvent
(DocumentId documentId) Posts an edit structure event.void
postErrorLogEvent
(LogMessage message) Posts an event that will create a log-entry at error-level.void
postErrorLogEvent
(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener) Posts an event that will create a log-entry at error-level.void
postExternalStorageUploadEvent
(DocumentId documentId, com.saperion.externalstorage.client.ExternalStorageClient client, com.saperion.externalstorage.ExternalStorageType storageType) Post a External Storage Upload eventvoid
postExternalStorageUploadStatusEvent
(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 eventvoid
postFieldChangeEvent
(ResultProperty property) void
postFileActionEvent
(Map<FolderId, String> folders, FileActionEvent.FileAction action, FolderId fileParent) Posts a file action event.void
postFileActionEvent
(Map<FolderId, String> folders, Map<FolderId, String> masks, FileActionEvent.FileAction action, FolderId fileParent) Posts a file action event.void
void
postIndexResultItemEvent
(ResultProperties properties, String componentId) void
postInfoLogEvent
(LogMessage message) Posts an event that will create a log-entry at info-level.void
postInfoLogEvent
(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener) Posts an event that will create a log-entry at info-level.void
postLaunchWorkflowEvent
(List<String> documentIds, String workflowName, String commentString, List<com.saperion.intf.wf.WorkflowMember> users) void
postLockDocumentEvent
(boolean lock) void
postLogonEvent
(LogonEvent.LogonResult result, String userName) void
postLogonEvent
(LogonEvent.LogonResult result, String userName, boolean bIsSSOUser) void
postNavigationFolderEvent
(FolderNode node, boolean close) void
postNavigationFormEvent
(MaskInfoBean infoBean, boolean close) void
postNavigationFormEvent
(MaskInfoBean infoBean, FolderSearchInfos infos, boolean close) void
postNavigationWebpartEvent
(String adress, String name, boolean close) void
postNewSelectedEvent
(NewSelectedEvent.NewEventOrigin origin, String maskName, String ddcName, FormMode mode) New event.void
postOpenMaskEvent
(String formName, String sysRowId) Post open mask event.void
Posts a print-document-event.void
postProlongRetentionEvent
(ResultProperties row, Date retentionDate) Post a prolong retention eventvoid
postQueryFavoriteEvent
(com.saperion.ngc.favorites.xml.Favorites favorites, boolean close) Posts an on query favorite event.void
postReduceDispositionEvent
(ResultProperties row, Date dispositionDate) Post a reduce disposition eventvoid
Posts a refresh event.void
Post reset GUI event.void
void
void
postSaveDocumentEvent
(ResultFieldEventBean bean, Set<String> acls, String comment, Map<String, DocumentVariable> variables) void
postSelectTreeItemEvent
(FolderId folderId, SelectTreeItemEvent.Destination type) void
postSendMailResultItemEvent
(MailSendType mailSendType, ResultProperties item, MailContentType mailContentType) void
postSetLitigationHoldEvent
(DocumentId documentId, boolean activate) Post a litigation hold value change eventvoid
postShareBaseLoginEvent
(DocumentId documentId) Post a ShareBase Login eventvoid
postStartWorkflowEvent
(List<String> documentIds) void
postTabSelectedEvent
(FolderId folderId, MainTabView.MTVTabType tabType, IntelligentFormView formView) Posts a tab selected event.void
Undelete selected.void
postUploadDocumentEvent
(FolderUploadInfos uploadInfos) Posts an upload document event.void
postUploadeExternalStorageDocumentEvent
(FolderUploadInfos uploadInfos, com.saperion.externalstorage.ExternalStorageType storageType) Posts an upload Sharebase document event.void
postUploadSuccessEvent
(FolderId folderId) Posts an upload success event.void
postWarningLogEvent
(LogMessage message) Posts an event that will create a log-entry at warning-level.void
postWarningLogEvent
(LogMessage message, org.zkoss.zk.ui.event.EventListener eventListener) Posts an event that will create a log-entry at warning-level.void
postWorkflowActionEvent
(List<DocumentId> tasks, com.saperion.intf.wf.CommandInfo info, List<String> actors, String commentString, Date actionDate) void
postWorkflowCommentEvent
(List<DocumentId> tasks) void
void
setEventtarget
(org.zkoss.zk.ui.Component comp, 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, evalCSSFlex, 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, invalidatePartial, isChildable, isInitialized, 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
Methods inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl
invalidatePartial
Methods inherited from interface org.zkoss.zk.ui.IdSpace
getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, hasFellow, hasFellow
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
-
Constructor Details
-
BaseWindow
public BaseWindow() -
BaseWindow
- Parameters:
title
- Titleborder
- Borderclosable
- Closable
-
-
Method Details
-
getEventtarget
Reads the event target for the given event name, if set or the root element.- Specified by:
getEventtarget
in interfaceEventChild
- Parameters:
eventName
- Event name or null for main target- Returns:
- Set of event targets
- See Also:
-
setEventtarget
Set the event target.- Specified by:
setEventtarget
in interfaceEventChild
- Parameters:
comp
- Event targeteventName
- Event name or null for main target- See Also:
-
postWorkflowActionEvent
public void postWorkflowActionEvent(List<DocumentId> tasks, com.saperion.intf.wf.CommandInfo info, List<String> actors, String commentString, Date actionDate) - Specified by:
postWorkflowActionEvent
in interfaceEventChildHandler
- Parameters:
tasks
- Task infoinfo
- Command infoactors
- ActorcommentString
- CommentactionDate
- Action date- See Also:
-
postWorkflowCommentEvent
- Specified by:
postWorkflowCommentEvent
in interfaceEventChildHandler
- Parameters:
tasks
- Task info- See Also:
-
postWorkflowDisplayCommentEvent
- Specified by:
postWorkflowDisplayCommentEvent
in interfaceEventChildHandler
- Parameters:
task
- Task info- See Also:
-
postDisplayPopupEvent
- Specified by:
postDisplayPopupEvent
in interfaceEventChildHandler
- Parameters:
docId
- Document idwithCtrl
- With CTRLeditMode
- edit mode- See Also:
-
postDisplayPopupEvent
public void postDisplayPopupEvent(DocumentId docId, boolean currentRevision, boolean withCtrl, boolean editMode) - Specified by:
postDisplayPopupEvent
in interfaceEventChildHandler
- Parameters:
docId
- Document idcurrentRevision
- currentRevisionwithCtrl
- With CTRLeditMode
- edit mode- See Also:
-
postDisplayResultItemEvent
- Specified by:
postDisplayResultItemEvent
in interfaceEventChildHandler
- Parameters:
maskRights
- rights enabled in the maskselectedDocId
- selected item's id- See Also:
-
postDisplayResultItemEvent
CallsEventChildHandler.postDisplayResultItemEvent(int, DocumentId)
with all rights enabled.- Specified by:
postDisplayResultItemEvent
in interfaceEventChildHandler
- Parameters:
selectedDocId
- selected item's ID- See Also:
-
postIndexResultItemEvent
- Specified by:
postIndexResultItemEvent
in interfaceEventChildHandler
- Parameters:
properties
- PropertiescomponentId
- id of the component firing this event- See Also:
-
postLockDocumentEvent
public void postLockDocumentEvent(boolean lock) - Specified by:
postLockDocumentEvent
in interfaceEventChildHandler
- Parameters:
lock
- Lock- See Also:
-
postNewSelectedEvent
public void postNewSelectedEvent(NewSelectedEvent.NewEventOrigin origin, String maskName, String ddcName, FormMode mode) New event.- Specified by:
postNewSelectedEvent
in interfaceEventChildHandler
- Parameters:
origin
- event originmaskName
- Mask nameddcName
- DDC namemode
- Form mode- See Also:
-
postEditItemSelectedEvent
public void postEditItemSelectedEvent(EditItemSelectedEvent.EditItemEventOrigin origin, String maskName, String ddcName, ResultProperties properties) Edit item event.- Specified by:
postEditItemSelectedEvent
in interfaceEventChildHandler
- Parameters:
origin
- event originmaskName
- Mask nameddcName
- DDC nameproperties
- Properties- See Also:
-
postEditSelectedEvent
Edit event.- Specified by:
postEditSelectedEvent
in interfaceEventChildHandler
- Parameters:
origin
- event origin- See Also:
-
postEditSelectedEvent
Edit event.- Specified by:
postEditSelectedEvent
in interfaceEventChildHandler
- Parameters:
origin
- event originreadonly
- if true index data will be shown but cannot be edited- See Also:
-
postEditSelectedEvent
public void postEditSelectedEvent(EditSelectedEvent.EditEventOrigin origin, String mask, ResultProperties properties) Edit event.- Specified by:
postEditSelectedEvent
in interfaceEventChildHandler
- Parameters:
origin
- event originmask
- name of the mask to useproperties
- properties of the document to edit- See Also:
-
postResultFieldEvent
- Specified by:
postResultFieldEvent
in interfaceEventChildHandler
- Parameters:
bean
- Result field bean- See Also:
-
postSaveDocumentEvent
- Specified by:
postSaveDocumentEvent
in interfaceEventChildHandler
- Parameters:
bean
- Result field bean- See Also:
-
postSaveDocumentEvent
public void postSaveDocumentEvent(ResultFieldEventBean bean, Set<String> acls, String comment, Map<String, DocumentVariable> variables) - Specified by:
postSaveDocumentEvent
in 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:
-
postDeleteSelectedEvent
public void postDeleteSelectedEvent()Delete selected.- Specified by:
postDeleteSelectedEvent
in interfaceEventChildHandler
- See Also:
-
postUnDeleteSelectedEvent
public void postUnDeleteSelectedEvent()Undelete selected.- Specified by:
postUnDeleteSelectedEvent
in interfaceEventChildHandler
- See Also:
-
postDocumentCheckEvent
Checkin / checkout selected document.- Specified by:
postDocumentCheckEvent
in interfaceEventChildHandler
- Parameters:
checkout
- Checkout / checkin typeid
- Document id- See Also:
-
postDocumentReleaseEvent
Release selected document.- Specified by:
postDocumentReleaseEvent
in interfaceEventChildHandler
- Parameters:
id
- Document id to release- See Also:
-
postDownloadResultItemEvent
- Specified by:
postDownloadResultItemEvent
in interfaceEventChildHandler
- Parameters:
items
- items to download- See Also:
-
postSendMailResultItemEvent
public void postSendMailResultItemEvent(MailSendType mailSendType, ResultProperties item, MailContentType mailContentType) - Specified by:
postSendMailResultItemEvent
in interfaceEventChildHandler
- Parameters:
mailSendType
- mail send typeitem
- item to send per mailmailContentType
- mail content type- See Also:
-
postFormButtonEvent
- Specified by:
postFormButtonEvent
in interfaceEventChildHandler
- Parameters:
info
- Button info- See Also:
-
postLaunchWorkflowEvent
public void postLaunchWorkflowEvent(List<String> documentIds, String workflowName, String commentString, List<com.saperion.intf.wf.WorkflowMember> users) - Specified by:
postLaunchWorkflowEvent
in interfaceEventChildHandler
- Parameters:
documentIds
- Document id'sworkflowName
- Workflow namecommentString
- Comment stringusers
- Users- See Also:
-
postStartWorkflowEvent
- Specified by:
postStartWorkflowEvent
in interfaceEventChildHandler
- Parameters:
documentIds
- Document IDs- See Also:
-
postFieldChangeEvent
- Specified by:
postFieldChangeEvent
in interfaceEventChildHandler
- Parameters:
property
- Property- See Also:
-
postLogonEvent
- Specified by:
postLogonEvent
in interfaceEventChildHandler
- Parameters:
result
- Logon resultuserName
- User name- See Also:
-
postLogonEvent
- Specified by:
postLogonEvent
in interfaceEventChildHandler
- Parameters:
result
- Logon resultuserName
- User namebIsSSOUser
- indicate SSOUser- See Also:
-
postCancelSelectedEvent
public void postCancelSelectedEvent(com.saperion.ngc.iform.xml.SaveActionType action) Cancel event.- Specified by:
postCancelSelectedEvent
in interfaceEventChildHandler
- Parameters:
action
- save action- See Also:
-
postResetGuiEvent
public void postResetGuiEvent()Post reset GUI event.- Specified by:
postResetGuiEvent
in interfaceEventChildHandler
- See Also:
-
postEditContentEvent
Post edit content event.- Specified by:
postEditContentEvent
in interfaceEventChildHandler
- Parameters:
action
- edit actiondocumentId
- document id- See Also:
-
postAddToFavoritesEvent
Posts an add to favorites event.- Specified by:
postAddToFavoritesEvent
in interfaceEventChildHandler
- Parameters:
favoriteQueryInformation
-FavoriteQueryInformation
- See Also:
-
postQueryFavoriteEvent
public void postQueryFavoriteEvent(com.saperion.ngc.favorites.xml.Favorites favorites, boolean close) Posts an on query favorite event.- Specified by:
postQueryFavoriteEvent
in interfaceEventChildHandler
- Parameters:
favorites
-Favorites
close
- Close tab- See Also:
-
postChangeDocumentSecurityEvent
Posts a ChangeDocumentSecurityEvent.- Specified by:
postChangeDocumentSecurityEvent
in interfaceEventChildHandler
- Parameters:
documentIds
- document idsacls
- set of acl names- See Also:
-
postChangeFolderSecurityEvent
Posts a ChangeFolderSecurityEvent.- Specified by:
postChangeFolderSecurityEvent
in interfaceEventChildHandler
- Parameters:
folderId
- folder idacls
- set of ACL names- See Also:
-
postRefreshEvent
public void postRefreshEvent()Posts a refresh event.- Specified by:
postRefreshEvent
in interfaceEventChildHandler
- See Also:
-
postErrorLogEvent
Posts an event that will create a log-entry at error-level. A messagebox with the provided log-message will be shown.- Specified by:
postErrorLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- error message- See Also:
-
postInfoLogEvent
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:
postInfoLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- info message- See Also:
-
postWarningLogEvent
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:
postWarningLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- warning message- See Also:
-
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:
postErrorLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- error messageeventListener
- listener that will be called when the messagebox caused by this event is closed- See Also:
-
postInfoLogEvent
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:
postInfoLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- info messageeventListener
- listener that will be called when the messagebox caused by this event is closed- See Also:
-
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:
postWarningLogEvent
in interfaceLogEventChildHandler
- Parameters:
message
- warning messageeventListener
- listener that will be called when the messagebox caused by this event is closed- See Also:
-
postUploadSuccessEvent
Posts an upload success event.- Specified by:
postUploadSuccessEvent
in interfaceEventChildHandler
- Parameters:
folderId
- id of the folder the document was filed in- See Also:
-
postOpenMaskEvent
Post open mask event.- Specified by:
postOpenMaskEvent
in interfaceEventChildHandler
- Parameters:
formName
- Form namesysRowId
- SysRowId for selection- See Also:
-
postFileActionEvent
public void postFileActionEvent(Map<FolderId, String> folders, FileActionEvent.FileAction action, FolderId fileParent) Posts a file action event.- Specified by:
postFileActionEvent
in 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:
-
postFileActionEvent
public void postFileActionEvent(Map<FolderId, String> folders, Map<FolderId, String> masks, FileActionEvent.FileAction action, FolderId fileParent) Posts a file action event.- Specified by:
postFileActionEvent
in 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:
-
postTabSelectedEvent
public void postTabSelectedEvent(FolderId folderId, MainTabView.MTVTabType tabType, IntelligentFormView formView) Posts a tab selected event.- Specified by:
postTabSelectedEvent
in interfaceEventChildHandler
- Parameters:
folderId
- folder idtabType
- tab typeformView
- The intelligent form contained in the selected tab.- See Also:
-
postPrintDocumentEvent
Posts a print-document-event.- Specified by:
postPrintDocumentEvent
in interfaceEventChildHandler
- Parameters:
rows
- rows selected for printing- See Also:
-
postEditStructureEvent
Posts an edit structure event.- Specified by:
postEditStructureEvent
in interfaceEventChildHandler
- Parameters:
documentId
- ID of the document to edit- See Also:
-
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:EventChildHandler
Post a External Storage Upload event- Specified by:
postExternalStorageUploadEvent
in interfaceEventChildHandler
-
postExternalStorageUploadStatusEvent
public void postExternalStorageUploadStatusEvent(Boolean uploadStatus, com.saperion.externalstorage.library.Document uploadedDocument, com.saperion.externalstorage.client.ExternalStorageClient storageClient, com.saperion.externalstorage.ExternalStorageType storageType) Description copied from interface:EventChildHandler
Post a External Storage Upload status event- Specified by:
postExternalStorageUploadStatusEvent
in interfaceEventChildHandler
-
postProlongRetentionEvent
Description copied from interface:EventChildHandler
Post a prolong retention event- Specified by:
postProlongRetentionEvent
in interfaceEventChildHandler
-
postReduceDispositionEvent
Description copied from interface:EventChildHandler
Post a reduce disposition event- Specified by:
postReduceDispositionEvent
in interfaceEventChildHandler
-
postSetLitigationHoldEvent
Description copied from interface:EventChildHandler
Post a litigation hold value change event- Specified by:
postSetLitigationHoldEvent
in interfaceEventChildHandler
-