Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.repository
Class URNDocumentViewTranslator

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.repository.URNDocumentViewTranslator

public class URNDocumentViewTranslator
extends Object

Author:
Alexandre Russel

Constructor Summary
URNDocumentViewTranslator()
           
 
Method Summary
 DocumentView getDocumentViewFromUri(URI uri)
           
 URI getNuxeoUrn(String server, String id)
           
 URI getUriFromDocumentView(String serverName, DocumentRef docRef)
           
 boolean isNuxeoUrn(URI uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URNDocumentViewTranslator

public URNDocumentViewTranslator()
Method Detail

getNuxeoUrn

public URI getNuxeoUrn(String server,
                       String id)
                throws URISyntaxException
Throws:
URISyntaxException

getUriFromDocumentView

public URI getUriFromDocumentView(String serverName,
                                  DocumentRef docRef)
                           throws URISyntaxException
Throws:
URISyntaxException

getDocumentViewFromUri

public DocumentView getDocumentViewFromUri(URI uri)

isNuxeoUrn

public boolean isNuxeoUrn(URI uri)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.