|
||||||||||
| 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.clouddrive.ecms.BaseCloudDriveForm
org.exoplatform.clouddrive.ecms.viewer.AbstractFileForm
public abstract class AbstractFileForm
Base support for WebUI forms based on Cloud Drive file.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
protected org.exoplatform.clouddrive.CloudDrive |
drive
|
protected org.exoplatform.clouddrive.CloudFile |
file
|
| Fields inherited from class org.exoplatform.clouddrive.ecms.BaseCloudDriveForm |
|---|
LOG, path, workspace |
| Fields inherited from class org.exoplatform.webui.form.UIForm |
|---|
ACTION, SUBCOMPONENT_ID |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
AbstractFileForm()
|
|
| Method Summary | |
|---|---|
org.exoplatform.clouddrive.CloudDrive |
getDrive()
|
org.exoplatform.clouddrive.CloudFile |
getFile()
|
String |
getResourceBundle(String key)
|
void |
initFile(org.exoplatform.clouddrive.CloudDrive drive,
org.exoplatform.clouddrive.CloudFile file)
Initialize UI component to represent the given cloud file. |
boolean |
isViewable()
|
protected abstract String |
localeFile()
|
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext context)
|
| Methods inherited from class org.exoplatform.clouddrive.ecms.BaseCloudDriveForm |
|---|
activate, deActivate, initContext |
| Methods 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, 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, 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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.exoplatform.clouddrive.CloudDrive drive
protected org.exoplatform.clouddrive.CloudFile file
| Constructor Detail |
|---|
public AbstractFileForm()
| Method Detail |
|---|
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
processRender in class org.exoplatform.webui.form.UIFormException
public void initFile(org.exoplatform.clouddrive.CloudDrive drive,
org.exoplatform.clouddrive.CloudFile file)
initFile in interface CloudFileViewerdrive - CloudDrivefile - CloudFilepublic org.exoplatform.clouddrive.CloudDrive getDrive()
public org.exoplatform.clouddrive.CloudFile getFile()
public boolean isViewable()
true if file can be represented as Web document.public String getResourceBundle(String key)
protected abstract String localeFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||