public class AuthorizationViewImpl extends org.zkoss.zul.Window implements AuthorizationView, EventChild
AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHEDCLEAR_USER_AND_MANDANTAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPEALL_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_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_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_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_START_WORKFLOW, ON_TAB_SELECTED, ON_UNDELETE_SELECTED, ON_UPLOAD_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| Constructor and Description |
|---|
AuthorizationViewImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableAuthorizationView()
Disable view.
|
void |
enableAuthorizationView()
Enable view.
|
Set<org.zkoss.zk.ui.Component> |
getEventtarget(String eventName)
Reads the event target for the given event name, if set or the root element.
|
void |
invalidateSession()
Invalidates the current running session.
|
void |
onCreate()
Called when the view is created.
|
void |
onLogon(org.zkoss.zk.ui.event.Event event)
Event handler for
LogonEvent. |
void |
onPasswordExpired(org.zkoss.zk.ui.event.Event event)
Event handler for
PasswordExpiredEvent. |
void |
postErrorLogEvent(LogMessage message)
Posts an ErrorLogEvent.
|
void |
postInfoLogEvent(LogMessage message)
Posts an InfoLogEvent.
|
void |
postLogonEvent(LogonEvent.LogonResult result,
String userName)
Post a logon event.
|
void |
setEventtarget(org.zkoss.zk.ui.Component comp,
String eventName)
Set the event target.
|
void |
setLocaleList(List<Locale> localeList)
set Locales in Language Combobox .
|
void |
setLogoffWarningDisabled(boolean disabled)
The WebClient displays a warning-message when a user closes the browser window or navigates
to another page without having logged off from the system before.
|
void |
setRedirectAfterLogoffDisabled(boolean disabled)
For security reasons the WebClient redirects to self after a user has logged of.
|
void |
setSelectedLocale(Locale selectLocale)
setSelectedLocale in Language Combobox .
|
void |
setSelectedUserType(UserType userType)
setSelectedUserType in userType Combobox .
|
void |
setSingleMandant(boolean isSingleMandant)
Set single mandant.
|
void |
setUserTypeList(List<UserType> userTypeList)
Set user types.
|
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, setVisiblegetContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, 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, setZIndexDirectlyaddAnnotation, 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, equals, 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, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEventListener, 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, setWidgetOverridepublic void onCreate()
public void enableAuthorizationView()
enableAuthorizationView in interface AuthorizationViewpublic void disableAuthorizationView()
disableAuthorizationView in interface AuthorizationViewpublic void setUserTypeList(List<UserType> userTypeList)
setUserTypeList in interface AuthorizationViewuserTypeList - user typespublic void setLocaleList(List<Locale> localeList)
setLocaleList in interface AuthorizationViewlocaleList - localeListpublic void setSelectedLocale(Locale selectLocale)
setSelectedLocale in interface AuthorizationViewselectLocale - selectLocalepublic void setSelectedUserType(UserType userType)
setSelectedUserType in interface AuthorizationViewuserType - userTypepublic void setSingleMandant(boolean isSingleMandant)
setSingleMandant in interface AuthorizationViewisSingleMandant - isSingleMandantpublic void invalidateSession()
invalidateSession in interface AuthorizationViewpublic void onLogon(org.zkoss.zk.ui.event.Event event)
LogonEvent.onLogon in interface AuthorizationViewevent - event to handleAuthorizationView.onLogon(org.zkoss.zk.ui.event.Event)public Set<org.zkoss.zk.ui.Component> getEventtarget(String eventName)
getEventtarget in interface EventChildeventName - Event name or null for main targetEventChild.getEventtarget(java.lang.String)public void postLogonEvent(LogonEvent.LogonResult result, String userName)
postLogonEvent in interface AuthorizationViewresult - logon resultuserName - user nameEventChildHandler.postLogonEvent(com.saperion.ngc.events.LogonEvent.LogonResult,
java.lang.String)public void setEventtarget(org.zkoss.zk.ui.Component comp,
String eventName)
setEventtarget in interface EventChildcomp - Event targeteventName - Event name or null for main targetEventChild.setEventtarget(org.zkoss.zk.ui.Component,
java.lang.String)public void postErrorLogEvent(LogMessage message)
postErrorLogEvent in interface AuthorizationViewmessage - LogMessageLogEventChildHandler.postErrorLogEvent(LogMessage)public void postInfoLogEvent(LogMessage message)
postInfoLogEvent in interface AuthorizationViewmessage - LogMessageLogEventChildHandler.postInfoLogEvent(LogMessage)public void setLogoffWarningDisabled(boolean disabled)
setLogoffWarningDisabled in interface AuthorizationViewdisabled - true to disabled warning messageAuthorizationView.setLogoffWarningDisabled(boolean)public void setRedirectAfterLogoffDisabled(boolean disabled)
setRedirectAfterLogoffDisabled in interface AuthorizationViewdisabled - true to disable redirecting after logoffAuthorizationView.setRedirectAfterLogoffDisabled(boolean)public void onPasswordExpired(org.zkoss.zk.ui.event.Event event)
PasswordExpiredEvent.onPasswordExpired in interface AuthorizationViewevent - event to handleAuthorizationView.onPasswordExpired(org.zkoss.zk.ui.event.Event)Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.