public class DocumentViewImpl extends Object implements DocumentView, Serializable
Constructor and Description |
---|
DocumentViewImpl(DocumentLocation docLoc) |
DocumentViewImpl(DocumentLocation documentLocation,
String viewId) |
DocumentViewImpl(DocumentLocation documentLocation,
String viewId,
Map<String,String> parameters) |
DocumentViewImpl(DocumentLocation documentLocation,
String viewId,
String subURI,
Map<String,String> parameters) |
DocumentViewImpl(DocumentLocation docLoc,
String viewId,
String tabId,
String subURI)
Deprecated.
|
DocumentViewImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
String value) |
DocumentLocation |
getDocumentLocation() |
String |
getParameter(String name) |
Map<String,String> |
getParameters() |
String |
getPatternName()
Returns the url pattern names used to generate this document view.
|
String |
getSubURI() |
String |
getTabId() |
String |
getViewId()
Returns the outcome to use for this document view.
|
void |
removeParameter(String name) |
void |
setDocumentLocation(DocumentLocation documentLocation) |
void |
setPatternName(String patternName) |
void |
setSubURI(String subURI) |
void |
setViewId(String viewId) |
String |
toString() |
public DocumentViewImpl(DocumentLocation documentLocation, String viewId)
public DocumentViewImpl(DocumentLocation documentLocation, String viewId, Map<String,String> parameters)
public DocumentViewImpl(DocumentLocation documentLocation, String viewId, String subURI, Map<String,String> parameters)
public DocumentViewImpl(DocumentModel doc)
@Deprecated public DocumentViewImpl(DocumentLocation docLoc, String viewId, String tabId, String subURI)
public DocumentViewImpl(DocumentLocation docLoc)
public DocumentLocation getDocumentLocation()
getDocumentLocation
in interface DocumentView
public String getTabId()
getTabId
in interface DocumentView
public String getViewId()
DocumentView
XXX AT: Can be considered to be badly named "view id".
getViewId
in interface DocumentView
public String getSubURI()
getSubURI
in interface DocumentView
public Map<String,String> getParameters()
getParameters
in interface DocumentView
public String getParameter(String name)
getParameter
in interface DocumentView
public void addParameter(String name, String value)
addParameter
in interface DocumentView
public void removeParameter(String name)
removeParameter
in interface DocumentView
public void setDocumentLocation(DocumentLocation documentLocation)
setDocumentLocation
in interface DocumentView
public void setSubURI(String subURI)
setSubURI
in interface DocumentView
public void setViewId(String viewId)
setViewId
in interface DocumentView
public String getPatternName()
DocumentView
getPatternName
in interface DocumentView
public void setPatternName(String patternName)
setPatternName
in interface DocumentView
Copyright © 2015 Nuxeo SA. All rights reserved.