Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.delegate
Class DocumentManagerBusinessDelegate

java.lang.Object
  extended by org.nuxeo.ecm.webapp.delegate.DocumentManagerBusinessDelegate
All Implemented Interfaces:
Serializable

@Name(value="documentManager")
@Scope(value=CONVERSATION)
public class DocumentManagerBusinessDelegate
extends Object
implements Serializable

Acquires a CoreSession connection.

Author:
Razvan Caraghin, Olivier Grisel, Thierry Delprat, Florent Guillaume
See Also:
Serialized Form

Constructor Summary
DocumentManagerBusinessDelegate()
           
 
Method Summary
 CoreSession getDocumentManager()
           
 CoreSession getDocumentManager(RepositoryLocation serverLocation)
           
 void initialize()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentManagerBusinessDelegate

public DocumentManagerBusinessDelegate()
Method Detail

initialize

public void initialize()

getDocumentManager

@Unwrap
public CoreSession getDocumentManager()
                               throws ClientException
Throws:
ClientException

getDocumentManager

public CoreSession getDocumentManager(RepositoryLocation serverLocation)
                               throws ClientException
Throws:
ClientException

remove

@Destroy
@PermitAll
public void remove()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.