public class RoleIndicatorComposer extends ViewAnnotationAwareComposer
| Constructor and Description |
|---|
RoleIndicatorComposer() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAfterCompose(org.zkoss.zk.ui.Component component) |
protected void |
indicateCurrentRole()
Displays current impersonated authority group.
|
protected boolean |
isIndicatorVisible()
Determines if the indicator should be visible.
|
protected String |
resolveGroupLabel(AuthorityGroup group)
Returns group name or code if name is blank.
|
void |
stopImpersonatedPreview()
Ends the impersonation preview.
|
void |
update()
Updates the current authority group indicator, meaning:
checks visibility
updates the current impersonation authority group
|
invokeListenerMethod, scanEventListenersalert, didActivate, getPage, willClone, willPassivatedoBeforeCompose, doBeforeComposeChildren, doCatch, doFinallypublic void doAfterCompose(org.zkoss.zk.ui.Component component)
throws Exception
doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>doAfterCompose in class ViewAnnotationAwareComposerExceptionprotected void indicateCurrentRole()
protected boolean isIndicatorVisible()
protected String resolveGroupLabel(AuthorityGroup group)
group - public void stopImpersonatedPreview()
public void update()
Copyright © 2018. All rights reserved.