@Name(value="documentManager") @Scope(value=CONVERSATION) public class DocumentManagerBusinessDelegate extends Object implements Serializable
CoreSession
connection.Modifier and Type | Field and Description |
---|---|
protected Map<RepositoryLocation,CoreSession> |
sessions
Map holding the open session for each repository location.
|
Constructor and Description |
---|
DocumentManagerBusinessDelegate() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
getDocumentManager() |
CoreSession |
getDocumentManager(RepositoryLocation serverLocation) |
void |
initialize() |
void |
remove() |
protected final Map<RepositoryLocation,CoreSession> sessions
public DocumentManagerBusinessDelegate()
public void initialize()
@Unwrap public CoreSession getDocumentManager()
public CoreSession getDocumentManager(RepositoryLocation serverLocation)
@Destroy @PermitAll public void remove()
Copyright © 2016 Nuxeo SA. All rights reserved.