public interface NodePresentation
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_STATE_DISPLAY |
static String |
MEDIA_STATE_NONE |
| Modifier and Type | Method and Description |
|---|---|
String |
encodeHTML(String text)
Encode html.
|
String |
getActionOpenDocInDesktop() |
List<javax.jcr.Node> |
getAttachments()
Gets the attachments.
|
org.exoplatform.webui.core.UIComponent |
getCommentComponent()
Get UIComponent for comment
|
List<javax.jcr.Node> |
getComments()
Gets the comments.
|
Object |
getComponentInstanceOfType(String className)
Gets the component instance of type.
|
String |
getDownloadLink(javax.jcr.Node node)
Gets the download link.
|
String |
getIcons(javax.jcr.Node node,
String size)
Gets the icons.
|
String |
getImage(javax.jcr.Node node)
Gets the image.
|
String |
getInlineEditingField(javax.jcr.Node orgNode,
String propertyName) |
String |
getInlineEditingField(javax.jcr.Node orgNode,
String propertyName,
String defaultValue,
String inputType,
String idGenerator,
String cssClass,
boolean isGenericProperty,
String... arguments) |
String |
getLanguage()
Gets the language.
|
String |
getMediaState()
gets the status of display audio description for accessible media
|
javax.jcr.Node |
getNode()
Gets the node.
|
String |
getNodeType()
Gets the node type.
|
javax.jcr.Node |
getOriginalNode()
Gets the original node.
|
org.exoplatform.webui.core.UIPopupContainer |
getPopupContainer() |
String |
getPortalName()
Gets the portal name.
|
List<javax.jcr.Node> |
getRelations()
Gets the relations.
|
org.exoplatform.webui.core.UIComponent |
getRemoveAttach()
Get UIComponent to remove attachment in document
|
org.exoplatform.webui.core.UIComponent |
getRemoveComment()
Get UIComponent to remove comment in document
|
String |
getRepository()
Gets the repository.
|
String |
getRssLink()
Gets the rss link.
|
List |
getSupportedLocalise()
Gets the supported localise.
|
String |
getTemplatePath()
Gets the template path.
|
String |
getTemplateSkin(String nodeTypeName,
String skinName)
Get the skin of template if it's existing
|
org.exoplatform.webui.core.UIComponent |
getUIComponent(String mimeType)
Get the UIComponent which to display file
|
String |
getViewableLink(javax.jcr.Node attNode,
org.exoplatform.web.application.Parameter[] params)
Gets the viewable link.
|
String |
getViewTemplate(String nodeTypeName,
String templateName)
Gets the view template.
|
String |
getWebDAVServerPrefix()
Gets the web dav server prefix.
|
String |
getWorkspaceName()
Gets the workspace name.
|
boolean |
isDisplayAlternativeText() |
boolean |
isEnableComment()
checks if enable comment
|
boolean |
isEnableVote()
checks if enable vote
|
boolean |
isNodeTypeSupported()
Checks if is node type supported.
|
boolean |
isRssLink()
Checks if is rss link.
|
boolean |
playAudioDescription() |
void |
setEnableComment(boolean value)
Sets enable comment
|
void |
setEnableVote(boolean value)
Sets enable vote
|
void |
setLanguage(String language)
Sets the language.
|
void |
setNode(javax.jcr.Node node)
Sets the node.
|
boolean |
switchBackAudioDescription() |
void |
switchMediaState()
switches the status of display audio description for accessible media
|
static final String MEDIA_STATE_DISPLAY
static final String MEDIA_STATE_NONE
void setEnableVote(boolean value)
value - value to setboolean isEnableVote()
void setEnableComment(boolean value)
value - value to setboolean isEnableComment()
void setNode(javax.jcr.Node node)
node - the new nodejavax.jcr.Node getNode()
throws Exception
Exception - the exceptionjavax.jcr.Node getOriginalNode()
throws Exception
Exception - the exceptionString getNodeType() throws Exception
Exception - the exceptionboolean isNodeTypeSupported()
String getTemplatePath() throws Exception
Exception - the exceptionList<javax.jcr.Node> getRelations() throws Exception
Exception - the exceptionList<javax.jcr.Node> getAttachments() throws Exception
Exception - the exceptionString getViewableLink(javax.jcr.Node attNode, org.exoplatform.web.application.Parameter[] params) throws Exception
Exception - the exceptionboolean isRssLink()
String getRssLink()
List getSupportedLocalise() throws Exception
Exception - the exceptionvoid setLanguage(String language)
language - the new languageString getLanguage()
Object getComponentInstanceOfType(String className)
className - the class nameString getWebDAVServerPrefix() throws Exception
Exception - the exceptionString getImage(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionString getPortalName()
String getRepository() throws Exception
Exception - the exceptionString getWorkspaceName() throws Exception
Exception - the exceptionString getViewTemplate(String nodeTypeName, String templateName) throws Exception
nodeTypeName - the node type nametemplateName - the template nameException - the exceptionString getTemplateSkin(String nodeTypeName, String skinName) throws Exception
nodeTypeName - The node type nameskinName - Skin nameExceptionorg.exoplatform.webui.core.UIComponent getCommentComponent()
throws Exception
Exceptionorg.exoplatform.webui.core.UIComponent getRemoveAttach()
throws Exception
Exceptionorg.exoplatform.webui.core.UIComponent getRemoveComment()
throws Exception
ExceptionList<javax.jcr.Node> getComments() throws Exception
Exception - the exceptionString getDownloadLink(javax.jcr.Node node) throws Exception
node - the nodeException - the exceptionString encodeHTML(String text) throws Exception
text - the textException - the exceptionString getIcons(javax.jcr.Node node, String size) throws Exception
node - the nodesize - the sizeException - the exceptionorg.exoplatform.webui.core.UIComponent getUIComponent(String mimeType) throws Exception
mimeType - ExceptionString getInlineEditingField(javax.jcr.Node orgNode, String propertyName, String defaultValue, String inputType, String idGenerator, String cssClass, boolean isGenericProperty, String... arguments) throws Exception
orgNode - Processed nodepropertyName - which property used for editinginputType - input type for editing: TEXT, TEXTAREA, WYSIWYGcssClass - class name for CSS, should implement: cssClass, [cssClass]Title
Edit[cssClass] as relative css
Should create the function: InlineEditor.presentationRequestChange[cssClass]
to request the rest-serviceisGenericProperty - set as true to use generic javascript function, other wise, must create
the correctspond function InlineEditor.presentationRequestChange[cssClass]arguments - Extra parameter for Input component (toolbar, width, height,.. for CKEditor/TextArea)ExceptionString getInlineEditingField(javax.jcr.Node orgNode, String propertyName) throws Exception
ExceptionString getMediaState()
void switchMediaState()
boolean isDisplayAlternativeText()
boolean playAudioDescription()
boolean switchBackAudioDescription()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.