Package org.nuxeo.ecm.platform.url.api
Interface DocumentView
-
- All Known Implementing Classes:
DocumentViewImpl
public interface DocumentViewDocument information describing a document context.Some information is required (document location). Other information (like the currently selected tab) are handled through parameters.*
This interface is used to map a url to a document context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddParameter(String name, String value)DocumentLocationgetDocumentLocation()StringgetParameter(String name)Map<String,String>getParameters()StringgetPatternName()Returns the url pattern names used to generate this document view.StringgetSubURI()StringgetViewId()Returns the outcome to use for this document view.voidremoveParameter(String name)voidsetDocumentLocation(DocumentLocation documentLocation)voidsetPatternName(String patternName)voidsetSubURI(String subURI)voidsetViewId(String viewId)
-
-
-
Method Detail
-
getPatternName
String getPatternName()
Returns the url pattern names used to generate this document view.
-
setPatternName
void setPatternName(String patternName)
-
setDocumentLocation
void setDocumentLocation(DocumentLocation documentLocation)
-
getDocumentLocation
DocumentLocation getDocumentLocation()
-
removeParameter
void removeParameter(String name)
-
getViewId
String getViewId()
Returns the outcome to use for this document view.XXX AT: Can be considered to be badly named "view id".
-
setViewId
void setViewId(String viewId)
-
getSubURI
String getSubURI()
-
setSubURI
void setSubURI(String subURI)
-
-