Class UIPublicationPanel
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel
org.exoplatform.services.wcm.extensions.publication.lifecycle.authoring.ui.UIPublicationPanel
public class UIPublicationPanel
extends org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel
Created by The eXo Platform MEA Author : haikel.thamri@exoplatform.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe listener interface for receiving draftAction events.Nested classes/interfaces inherited from class org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel
org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.ChangeVersionActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.CloseActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.DraftActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.LiveActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.ObsoleteActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.PreviewVersionActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.RestoreVersionActionListener, org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel.SeeAllVersionActionListenerNested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener -
Field Summary
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_IDFields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanReachState(LifecyclesConfig.State state, String remoteUser, org.exoplatform.services.jcr.impl.core.NodeImpl node) Check if a user is authorized to reach the given state of a given node.getStates(javax.jcr.Node cNode) voidinit(javax.jcr.Node node) Methods inherited from class org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel
getAllRevisions, getCurrentNode, getCurrentRevision, getRevisionAuthor, getRevisionByUUID, getRevisionCreatedDate, getRevisions, getRevisionState, setCurrentRevision, setRevisions, updatePanelMethods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, urlMethods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
-
Constructor Details
-
UIPublicationPanel
Instantiates a new uI publication panel.- Throws:
Exception- the exception
-
-
Method Details
-
init
- Overrides:
initin classorg.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel- Throws:
Exception
-
getStates
- Throws:
Exception
-
canReachState
public boolean canReachState(LifecyclesConfig.State state, String remoteUser, org.exoplatform.services.jcr.impl.core.NodeImpl node) Check if a user is authorized to reach the given state of a given node. The user must satisfy the constraints defined by state (memberships or role)- Parameters:
state-remoteUser-node-- Returns:
-