|
|||||||||
| 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.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
org.exoplatform.social.plugin.doc.UIDocViewer
public class UIDocViewer
UIDocViewer
| Nested Class Summary | |
|---|---|
static class |
UIDocViewer.DownloadActionListener
|
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
String |
docPath
|
String |
repository
|
String |
workspace
|
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
description, icon, TABLE_COLUMN_CONTAINER |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Fields inherited from interface org.exoplatform.ecm.webui.presentation.NodePresentation |
|---|
MEDIA_STATE_DISPLAY, MEDIA_STATE_NONE |
| Constructor Summary | |
|---|---|
UIDocViewer()
|
|
| Method Summary | |
|---|---|
org.exoplatform.webui.core.UIComponent |
getCommentComponent()
|
javax.jcr.Node |
getNode()
|
String |
getNodeType()
|
javax.jcr.Node |
getOriginalNode()
Gets the original node. |
org.exoplatform.webui.core.UIComponent |
getRemoveAttach()
|
org.exoplatform.webui.core.UIComponent |
getRemoveComment()
|
String |
getRepositoryName()
|
String |
getTemplate()
|
String |
getTemplatePath()
|
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
|
org.exoplatform.webui.core.UIComponent |
getUIComponent(String mimeType)
|
boolean |
isNodeTypeSupported()
|
void |
setNode(javax.jcr.Node node)
Sets the node. |
void |
setOriginalNode(javax.jcr.Node originalNode)
Sets the original node. |
| Methods inherited from class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation |
|---|
encodeHTML, getAttachments, getCategories, getComments, getComponentInstanceOfType, getDownloadLink, getIcons, getImage, getImageURIInProperty, getInlineEditingField, getInlineEditingField, getLanguage, getMediaState, getNodeByUUID, getPortalName, getPortletPreferenceValue, getPortletPreferenceValues, getRelations, getRepository, getRssLink, getSupportedLocalise, getTags, getTemplateSkin, getViewableLink, getViewTemplate, getVotingRate, getWebDAVServerPrefix, getWorkspaceName, isDisplayAlternativeText, isEnableComment, isEnableVote, isRssLink, playAudioDescription, setEnableComment, setEnableVote, setLanguage, switchBackAudioDescription, switchMediaState |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
getDescription, getIcon, getStorageId, setDescription, setIcon, setStorageId |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getAccessPermissions, getFactoryId, getHeight, getName, getTitle, getWidth, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidth |
| 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, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, 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 |
| Field Detail |
|---|
public String docPath
public String repository
public String workspace
| Constructor Detail |
|---|
public UIDocViewer()
| Method Detail |
|---|
public void setOriginalNode(javax.jcr.Node originalNode)
originalNode -
public javax.jcr.Node getOriginalNode()
throws Exception
getOriginalNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetOriginalNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic void setNode(javax.jcr.Node node)
node -
public javax.jcr.Node getNode()
throws Exception
getNode in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetNode in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationExceptionpublic String getTemplate()
getTemplate in class org.exoplatform.portal.webui.portal.UIPortalComponent
public String getTemplatePath()
throws Exception
getTemplatePath in interface org.exoplatform.ecm.webui.presentation.NodePresentationgetTemplatePath in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentationException
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponentpublic String getNodeType()
public boolean isNodeTypeSupported()
public org.exoplatform.webui.core.UIComponent getCommentComponent()
public org.exoplatform.webui.core.UIComponent getRemoveAttach()
public org.exoplatform.webui.core.UIComponent getRemoveComment()
public org.exoplatform.webui.core.UIComponent getUIComponent(String mimeType)
throws Exception
Exceptionpublic String getRepositoryName()
getRepositoryName in class org.exoplatform.ecm.webui.presentation.UIBaseNodePresentation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||