org.exoplatform.ecm.webui.component.admin.views
Class UIViewForm
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputSet
org.exoplatform.ecm.webui.form.UIFormInputSetWithAction
org.exoplatform.ecm.webui.component.admin.views.UIViewForm
- All Implemented Interfaces:
- UISelectable, org.exoplatform.webui.form.UIFormInput
public class UIViewForm
- extends UIFormInputSetWithAction
- implements UISelectable
Created by The eXo Platform SARL
Author : Tran The Trong
trongtt@yahoo.com
Jun 28, 2006
| Nested classes/interfaces inherited from class org.exoplatform.webui.form.UIFormInputSet |
org.exoplatform.webui.form.UIFormInputSet.SelectComponentActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
|
Constructor Summary |
UIViewForm(java.lang.String name)
|
| Methods inherited from class org.exoplatform.ecm.webui.form.UIFormInputSetWithAction |
addValidator, addValidator, getActionInfo, getActionValues, getBindingField, getFieldActions, getFormName, getInfoField, getInputSetActions, getLabel, getListInfoField, getMsgKey, getTypeValue, getValidators, getValue, isDeleteOnly, isShowActionInfo, isShowOnly, setActionInfo, setActions, setFieldActions, setInfoField, setIntroduction, setIsDeleteOnly, setIsShowOnly, setIsView, setListInfoField, setValue, showActionInfo |
| Methods inherited from class org.exoplatform.webui.form.UIFormInputSet |
addUIFormInput, addUIFormInput, getName, getSelectedComponentId, getUIFormCheckBoxInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingField, invokeSetBindingField, processDecode, reset, setSelectedComponent, setSelectedComponent |
| Methods 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, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exoplatform.webui.form.UIFormInput |
getName, reset |
FIELD_VERSION
public static final java.lang.String FIELD_VERSION
- See Also:
- Constant Field Values
FIELD_NAME
public static final java.lang.String FIELD_NAME
- See Also:
- Constant Field Values
FIELD_PERMISSION
public static final java.lang.String FIELD_PERMISSION
- See Also:
- Constant Field Values
FIELD_TABS
public static final java.lang.String FIELD_TABS
- See Also:
- Constant Field Values
FIELD_TEMPLATE
public static final java.lang.String FIELD_TEMPLATE
- See Also:
- Constant Field Values
FIELD_ENABLEVERSION
public static final java.lang.String FIELD_ENABLEVERSION
- See Also:
- Constant Field Values
UIViewForm
public UIViewForm(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
getViewName
public java.lang.String getViewName()
setViewName
public void setViewName(java.lang.String viewName)
getRepository
public java.lang.String getRepository()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Overrides:
processRender in class UIFormInputSetWithAction
- Throws:
java.lang.Exception
doSelect
public void doSelect(java.lang.String selectField,
java.lang.Object value)
- Specified by:
doSelect in interface UISelectable
isView
public boolean isView()
- Overrides:
isView in class UIFormInputSetWithAction
getViews
public javax.jcr.Node getViews()
canEnableVersionning
public boolean canEnableVersionning(javax.jcr.Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
addTab
public void addTab(java.lang.String tabName,
java.lang.String buttons)
getTabList
public java.lang.String getTabList()
throws java.lang.Exception
- Throws:
java.lang.Exception
refresh
public void refresh(boolean isAddNew)
throws java.lang.Exception
- Throws:
java.lang.Exception
update
public void update(javax.jcr.Node viewNode,
boolean isView,
VersionNode selectedVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
save
public void save()
throws java.lang.Exception
- Throws:
java.lang.Exception
editTab
public void editTab(java.lang.String tabName)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteTab
public void deleteTab(java.lang.String tabName)
throws java.lang.Exception
- Throws:
java.lang.Exception
changeVersion
public void changeVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
revertVersion
public void revertVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 eXo Platform SAS. All Rights Reserved.