public class RestDocumentLink extends HtmlOutputLink
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
DEFAULT_VIEW_ID |
Constructor and Description |
---|
RestDocumentLink() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAddTabInfo() |
DocumentModel |
getDocument() |
DocumentRef |
getDocumentIdRef() |
String |
getFamily() |
Boolean |
getNewConversation()
Returns true if URL must link to a page in a new conversation.
|
String |
getPattern() |
String |
getSubTab() |
String |
getTab() |
String |
getTabs() |
Object |
getValue()
Override to build the URL thanks to other tag attributes information.
|
String |
getView() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setAddTabInfo(Boolean addTabInfo) |
void |
setDocument(DocumentModel document) |
void |
setDocumentIdRef(DocumentRef documentIdRef) |
void |
setNewConversation(Boolean newConversation) |
void |
setPattern(String codec) |
void |
setSubTab(String subTab) |
void |
setTab(String tab) |
void |
setTabs(String tabs) |
void |
setView(String view) |
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
getConverter, getLocalValue, setConverter, setValue
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_VIEW_ID
public Object getValue()
The document view service is queried to build it, and the tag attribute named "value" is ignored.
getValue
in interface ValueHolder
getValue
in class UIOutput
public String getPattern()
public void setPattern(String codec)
public DocumentModel getDocument()
public void setDocument(DocumentModel document)
public DocumentRef getDocumentIdRef()
public void setDocumentIdRef(DocumentRef documentIdRef)
public Boolean getNewConversation()
Defaults to false.
public void setNewConversation(Boolean newConversation)
public String getSubTab()
public void setSubTab(String subTab)
public String getTab()
public void setTab(String tab)
public String getView()
public void setView(String view)
public Boolean getAddTabInfo()
public void setAddTabInfo(Boolean addTabInfo)
public String getTabs()
public void setTabs(String tabs)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class HtmlOutputLink
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class HtmlOutputLink
Copyright © 2012 Nuxeo SA. All Rights Reserved.