jBPM Console NG - Documents Backend 6.2.0.Beta2

org.jbpm.console.ng.documents.backend.server
Class DocumentServiceCMISImpl

java.lang.Object
  extended by org.jbpm.console.ng.documents.backend.server.DocumentServiceCMISImpl
All Implemented Interfaces:
DocumentService

@ApplicationScoped
public class DocumentServiceCMISImpl
extends Object
implements DocumentService


Constructor Summary
DocumentServiceCMISImpl()
           
 
Method Summary
 void createDocument(DocumentSummary doc)
           
 List<CMSContentSummary> getChildren(String id)
           
 Map<String,String> getConfigurationParameters()
           
 CMSContentSummary getDocument(String id)
           
 InputStream getDocumentContent(String id)
           
 void init()
           
 void removeDocument(String id)
           
 void setConfigurationParameters(Map<String,String> parameters)
           
 Boolean testConnection()
           
 CMSContentSummary transform(org.apache.chemistry.opencmis.client.api.CmisObject object, org.apache.chemistry.opencmis.client.api.Folder parentFolder)
           
 List<CMSContentSummary> transform(List<org.apache.chemistry.opencmis.client.api.CmisObject> children, org.apache.chemistry.opencmis.client.api.Folder folder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentServiceCMISImpl

public DocumentServiceCMISImpl()
Method Detail

init

@PostConstruct
public void init()
Specified by:
init in interface DocumentService

getConfigurationParameters

public Map<String,String> getConfigurationParameters()
Specified by:
getConfigurationParameters in interface DocumentService

setConfigurationParameters

public void setConfigurationParameters(Map<String,String> parameters)
Specified by:
setConfigurationParameters in interface DocumentService

getChildren

public List<CMSContentSummary> getChildren(String id)
Specified by:
getChildren in interface DocumentService

getDocumentContent

public InputStream getDocumentContent(String id)
Specified by:
getDocumentContent in interface DocumentService

removeDocument

public void removeDocument(String id)
Specified by:
removeDocument in interface DocumentService

transform

public List<CMSContentSummary> transform(List<org.apache.chemistry.opencmis.client.api.CmisObject> children,
                                         org.apache.chemistry.opencmis.client.api.Folder folder)

transform

public CMSContentSummary transform(org.apache.chemistry.opencmis.client.api.CmisObject object,
                                   org.apache.chemistry.opencmis.client.api.Folder parentFolder)

getDocument

public CMSContentSummary getDocument(String id)
Specified by:
getDocument in interface DocumentService

createDocument

public void createDocument(DocumentSummary doc)
Specified by:
createDocument in interface DocumentService

testConnection

public Boolean testConnection()
Specified by:
testConnection in interface DocumentService

jBPM Console NG - Documents Backend 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.