Nuxeo ECM Projects 5.4.3-SNAPSHOT

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
 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()
          Deprecated. should use the parameters map for the tab identifier.
 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)
           
 

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()

getParameters

Map<String,String> getParameters()

getParameter

String getParameter(String name)

addParameter

void addParameter(String name,
                  String value)

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)

getTabId

@Deprecated
String getTabId()
Deprecated. should use the parameters map for the tab identifier.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.