public class UIDocumentAutoVersionForm
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.webui.core.UIPopupComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
UIDocumentAutoVersionForm.CancelActionListener |
static class |
UIDocumentAutoVersionForm.CreateNewVersionActionListener |
static class |
UIDocumentAutoVersionForm.KeepBothActionListener |
static class |
UIDocumentAutoVersionForm.OnChangeActionListener |
static class |
UIDocumentAutoVersionForm.ReplaceActionListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
CANCEL |
static String |
CREATE_OR_REPLACE |
static String |
CREATE_VERSION |
static String |
KEEP_BOTH |
static String |
REMEMBER_NONVERSIONED_COMPONENT |
static String |
REMEMBER_VERSIONED_COMPONENT |
static String |
REPLACE |
| Constructor and Description |
|---|
UIDocumentAutoVersionForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
static void |
closePopup(UIDocumentAutoVersionForm autoVersionComponent,
UIJCRExplorer uijcrExplorer,
org.exoplatform.webui.event.Event<?> event) |
static void |
copyNode(javax.jcr.Session session,
String srcWorkspaceName,
String srcPath,
String destPath,
org.exoplatform.webui.core.UIApplication uiApp,
UIJCRExplorer uiExplorer,
org.exoplatform.webui.event.Event<?> event,
String type)
Copy node using workspace
|
void |
deActivate() |
String[] |
getActions() |
String[] |
getArguments() |
Set<ClipboardCommand> |
getClipboardCommands() |
ClipboardCommand |
getCurrentClipboard() |
String |
getDestPath() |
String |
getDestWorkspace() |
String |
getMessage() |
String |
getSourcePath() |
String |
getSourceWorkspace() |
void |
init(javax.jcr.Node currentNode) |
boolean |
isVersioned() |
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext context) |
void |
setActions(String[] actions) |
void |
setArguments(String[] args) |
void |
setClipboardCommands(Set<ClipboardCommand> clipboardCommands) |
void |
setCurrentClipboard(ClipboardCommand currentClipboard) |
void |
setDestPath(String destPath) |
void |
setDestWorkspace(String destWorkspace) |
void |
setMessage(String message) |
void |
setSingleProcess(boolean isSingleProcess) |
void |
setSourcePath(String sourcePath) |
void |
setSourceWorkspace(String sourceWorkspace) |
void |
setVersioned(boolean isVersioned) |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, renderField, renderField, reset, setMultiPart, setSubmitAction, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, 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, urlpublic static final String KEEP_BOTH
public static final String CREATE_VERSION
public static final String REPLACE
public static final String CREATE_OR_REPLACE
public static final String CANCEL
public static final String REMEMBER_VERSIONED_COMPONENT
public static final String REMEMBER_NONVERSIONED_COMPONENT
public void activate()
activate in interface org.exoplatform.webui.core.UIPopupComponentpublic void deActivate()
deActivate in interface org.exoplatform.webui.core.UIPopupComponentpublic String[] getActions()
getActions in class org.exoplatform.webui.form.UIFormpublic String getSourcePath()
public void setSourcePath(String sourcePath)
public String getDestPath()
public void setDestPath(String destPath)
public String getSourceWorkspace()
public void setSourceWorkspace(String sourceWorkspace)
public String getDestWorkspace()
public void setDestWorkspace(String destWorkspace)
public void setMessage(String message)
public String getMessage()
public void setArguments(String[] args)
public String[] getArguments()
public boolean isVersioned()
public void setVersioned(boolean isVersioned)
public void setActions(String[] actions)
setActions in class org.exoplatform.webui.form.UIFormpublic void setSingleProcess(boolean isSingleProcess)
public static void copyNode(javax.jcr.Session session,
String srcWorkspaceName,
String srcPath,
String destPath,
org.exoplatform.webui.core.UIApplication uiApp,
UIJCRExplorer uiExplorer,
org.exoplatform.webui.event.Event<?> event,
String type)
throws Exception
session - session of dest nodesrcWorkspaceName - sourcesrcPath - destPath - Exceptionpublic Set<ClipboardCommand> getClipboardCommands()
public void setClipboardCommands(Set<ClipboardCommand> clipboardCommands)
public ClipboardCommand getCurrentClipboard()
public void setCurrentClipboard(ClipboardCommand currentClipboard)
public static void closePopup(UIDocumentAutoVersionForm autoVersionComponent, UIJCRExplorer uijcrExplorer, org.exoplatform.webui.event.Event<?> event) throws Exception
ExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.