public class RestDocumentLink
extends javax.faces.component.html.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 |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
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 |
getRepositoryName() |
Boolean |
getResolveOnly() |
String |
getSubTab() |
String |
getTab() |
String |
getTabs() |
Object |
getValue()
Override to build the URL thanks to other tag attributes information.
|
String |
getVar() |
String |
getView() |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback) |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setAddTabInfo(Boolean addTabInfo) |
void |
setDocument(DocumentModel document) |
void |
setDocumentIdRef(DocumentRef documentIdRef) |
void |
setNewConversation(Boolean newConversation) |
void |
setPattern(String codec) |
void |
setRepositoryName(String repositoryName) |
void |
setResolveOnly(Boolean resolveOnly) |
void |
setSubTab(String subTab) |
void |
setTab(String tab) |
void |
setTabs(String tabs) |
void |
setVar(String var) |
void |
setView(String view) |
getAccesskey, getCharset, getCoords, getDefaultEventName, getDir, getEventNames, getFragment, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getRole, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setFragment, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setRole, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
clearInitialState, getConverter, getLocalValue, markInitialState, resetValue, setConverter, setValue
addClientBehavior, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_VIEW_ID
public String getFamily()
getFamily
in class javax.faces.component.UIOutput
public Object getValue()
The document view service is queried to build it, and the tag attribute named "value" is ignored.
getValue
in interface javax.faces.component.ValueHolder
getValue
in class javax.faces.component.UIOutput
public String getPattern()
public void setPattern(String codec)
public DocumentModel getDocument()
public void setDocument(DocumentModel document)
public String getRepositoryName()
public void setRepositoryName(String repositoryName)
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 Boolean getResolveOnly()
public void setResolveOnly(Boolean resolveOnly)
public String getVar()
public void setVar(String var)
public boolean invokeOnComponent(javax.faces.context.FacesContext context, String clientId, javax.faces.component.ContextCallback callback) throws javax.faces.FacesException
invokeOnComponent
in class javax.faces.component.UIComponentBase
javax.faces.FacesException
public void broadcast(javax.faces.event.FacesEvent event)
broadcast
in class javax.faces.component.UIComponentBase
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void encodeChildren(javax.faces.context.FacesContext context) throws IOException
encodeChildren
in class javax.faces.component.UIComponentBase
IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws IOException
encodeEnd
in class javax.faces.component.UIComponentBase
IOException
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIOutput
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIOutput
Copyright © 2015 Nuxeo SA. All rights reserved.