|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.services.wcm.publication.lifecycle.stageversion.ui.UIPublicationPanel
public class UIPublicationPanel
Created by The eXo Platform SAS Author : eXoPlatform chuong_phan@exoplatform.com Mar 2, 2009
| Nested Class Summary | |
|---|---|
static class |
UIPublicationPanel.ChangeVersionActionListener
The listener interface for receiving changeVersionAction events. |
static class |
UIPublicationPanel.CloseActionListener
The listener interface for receiving closeAction events. |
static class |
UIPublicationPanel.DraftActionListener
The listener interface for receiving draftAction events. |
static class |
UIPublicationPanel.LiveActionListener
The listener interface for receiving liveAction events. |
static class |
UIPublicationPanel.ObsoleteActionListener
The listener interface for receiving obsoleteAction events. |
static class |
UIPublicationPanel.PreviewVersionActionListener
The listener interface for receiving previewVersionAction events. |
static class |
UIPublicationPanel.RestoreVersionActionListener
The listener interface for receiving restoreVersionAction events. |
static class |
UIPublicationPanel.SeeAllVersionActionListener
The listener interface for receiving seeAllVersionAction events. |
| Nested 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_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIPublicationPanel()
Instantiates a new uI publication panel. |
|
| Method Summary | |
|---|---|
java.util.List<javax.jcr.Node> |
getAllRevisions(javax.jcr.Node node)
Gets the all revisions. |
javax.jcr.Node |
getCurrentNode()
Gets the current node. |
javax.jcr.Node |
getCurrentRevision()
Gets the current revision. |
java.lang.String |
getRevisionAuthor(javax.jcr.Node revision)
Gets the revision author. |
javax.jcr.Node |
getRevisionByUUID(java.lang.String revisionUUID)
Gets the revision by uuid. |
java.lang.String |
getRevisionCreatedDate(javax.jcr.Node revision)
Gets the revision created date. |
java.util.List<javax.jcr.Node> |
getRevisions()
Gets the revisions. |
java.lang.String |
getRevisionState(javax.jcr.Node revision)
Gets the revision state. |
void |
init(javax.jcr.Node node)
Inits the. |
void |
setCurrentRevision(javax.jcr.Node revision)
Sets the current revision. |
void |
setRevisions(java.util.List<javax.jcr.Node> revisions)
Sets the revisions. |
void |
updatePanel()
Update panel. |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
|---|
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIPublicationPanel()
throws java.lang.Exception
java.lang.Exception - the exception| Method Detail |
|---|
public void init(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.util.List<javax.jcr.Node> getAllRevisions(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exceptionpublic javax.jcr.Node getCurrentNode()
public javax.jcr.Node getCurrentRevision()
public java.lang.String getRevisionAuthor(javax.jcr.Node revision)
throws java.lang.Exception
revision - the revision
java.lang.Exception - the exception
public javax.jcr.Node getRevisionByUUID(java.lang.String revisionUUID)
throws java.lang.Exception
revisionUUID - the revision uuid
java.lang.Exception - the exception
public java.lang.String getRevisionCreatedDate(javax.jcr.Node revision)
throws java.lang.Exception
revision - the revision
java.lang.Exception - the exceptionpublic java.util.List<javax.jcr.Node> getRevisions()
public java.lang.String getRevisionState(javax.jcr.Node revision)
throws java.lang.Exception
revision - the revision
java.lang.Exception - the exceptionpublic void setCurrentRevision(javax.jcr.Node revision)
revision - the new current revisionpublic void setRevisions(java.util.List<javax.jcr.Node> revisions)
revisions - the new revisions
public void updatePanel()
throws java.lang.Exception
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||