Package org.nuxeo.ecm.platform.url.api
Interface DocumentView
- All Known Implementing Classes:
DocumentViewImpl
public interface DocumentView
Document 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
Modifier and TypeMethodDescriptionvoid
addParameter
(String name, String value) getParameter
(String name) Returns the url pattern names used to generate this document view.Returns the outcome to use for this document view.void
removeParameter
(String name) void
setDocumentLocation
(DocumentLocation documentLocation) void
setPatternName
(String patternName) void
void
-
Method Details
-
getPatternName
String getPatternName()Returns the url pattern names used to generate this document view. -
setPatternName
-
setDocumentLocation
-
getDocumentLocation
DocumentLocation getDocumentLocation() -
getParameters
-
getParameter
-
addParameter
-
removeParameter
-
getViewId
String getViewId()Returns the outcome to use for this document view.XXX AT: Can be considered to be badly named "view id".
-
setViewId
-
getSubURI
String getSubURI() -
setSubURI
-