public abstract class AbstractCmsEntryPoint extends org.eclipse.rap.rwt.application.AbstractEntryPoint implements CmsView
Constructor and Description |
---|
AbstractCmsEntryPoint(Repository repository,
java.lang.String workspace,
java.lang.String defaultPath,
java.util.Map<java.lang.String,java.lang.String> factoryProperties) |
Modifier and Type | Method and Description |
---|---|
void |
authChange(javax.security.auth.login.LoginContext lc) |
protected void |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Shell |
createShell(org.eclipse.swt.widgets.Display display) |
protected void |
doRefresh() |
void |
exception(java.lang.Throwable e) |
protected java.lang.String |
getBaseTitle()
The node to return when no node was found (for authenticated users and
anonymous)
|
protected java.lang.Throwable |
getException() |
protected Node |
getNode() |
protected Session |
getSession() |
protected java.lang.String |
getState() |
protected javax.security.auth.Subject |
getSubject() |
protected abstract void |
initUi(org.eclipse.swt.widgets.Composite parent)
Create UI
|
boolean |
isAnonymous() |
void |
logout() |
void |
navigateTo(java.lang.String state) |
protected abstract void |
refresh()
Recreate UI after navigation or auth change
|
protected void |
resetException() |
protected java.lang.String |
setState(java.lang.String newState)
Sets the state of the entry point and retrieve the related JCR node.
|
createUI, getParameter, getParameterNames, getParameterValues, getShell
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImageManager, getUxContext
public AbstractCmsEntryPoint(Repository repository, java.lang.String workspace, java.lang.String defaultPath, java.util.Map<java.lang.String,java.lang.String> factoryProperties)
protected org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Display display)
createShell
in class org.eclipse.rap.rwt.application.AbstractEntryPoint
protected final void createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.rap.rwt.application.AbstractEntryPoint
protected abstract void initUi(org.eclipse.swt.widgets.Composite parent)
protected abstract void refresh()
protected java.lang.String getBaseTitle()
public void navigateTo(java.lang.String state)
navigateTo
in interface CmsView
protected javax.security.auth.Subject getSubject()
public boolean isAnonymous()
isAnonymous
in interface CmsView
public void authChange(javax.security.auth.login.LoginContext lc)
authChange
in interface CmsView
protected void doRefresh()
protected java.lang.String setState(java.lang.String newState)
protected Node getNode()
protected java.lang.String getState()
protected java.lang.Throwable getException()
protected void resetException()
protected Session getSession()
Copyright © 2007–2020. All rights reserved.