|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.html.HtmlOutputLink org.nuxeo.ecm.platform.ui.web.component.document.RestDocumentLink
public class RestDocumentLink
Component that gives generates a Restful link given a document.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
DEFAULT_VIEW_ID
|
Fields inherited from class javax.faces.component.html.HtmlOutputLink |
---|
COMPONENT_TYPE |
Constructor Summary | |
---|---|
RestDocumentLink()
|
Method Summary | |
---|---|
DocumentModel |
getDocument()
|
DocumentRef |
getDocumentIdRef()
|
java.lang.Boolean |
getNewConversation()
Returns true if URL must link to a page in a new conversation. |
java.lang.String |
getPattern()
|
java.lang.String |
getSubTab()
|
java.lang.String |
getTab()
|
java.lang.Object |
getValue()
Override to build the URL thanks to other tag attributes information. |
java.lang.String |
getView()
|
void |
setDocument(DocumentModel document)
|
void |
setDocumentIdRef(DocumentRef documentIdRef)
|
void |
setNewConversation(java.lang.Boolean newConversation)
|
void |
setPattern(java.lang.String codec)
|
void |
setSubTab(java.lang.String subTab)
|
void |
setTab(java.lang.String tab)
|
void |
setView(java.lang.String view)
|
Methods inherited from class javax.faces.component.html.HtmlOutputLink |
---|
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, restoreState, saveState, 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 |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getFamily, getLocalValue, setConverter, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
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 |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String DEFAULT_VIEW_ID
Constructor Detail |
---|
public RestDocumentLink()
Method Detail |
---|
public java.lang.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 java.lang.String getPattern()
public void setPattern(java.lang.String codec)
public DocumentModel getDocument()
public void setDocument(DocumentModel document)
public DocumentRef getDocumentIdRef()
public void setDocumentIdRef(DocumentRef documentIdRef)
public java.lang.Boolean getNewConversation()
Defaults to false.
public void setNewConversation(java.lang.Boolean newConversation)
public java.lang.String getSubTab()
public void setSubTab(java.lang.String subTab)
public java.lang.String getTab()
public void setTab(java.lang.String tab)
public java.lang.String getView()
public void setView(java.lang.String view)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |