Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.io.api.util
Class AbstractIOConfiguration

java.lang.Object
  extended by org.nuxeo.ecm.platform.io.api.util.AbstractIOConfiguration
All Implemented Interfaces:
Serializable, IOConfiguration
Direct Known Subclasses:
LocalConfiguration, RemoteConfiguration

public abstract class AbstractIOConfiguration
extends Object
implements IOConfiguration, Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.platform.io.api.util.IOConfiguration
DOC_READER_FACTORY, DOC_WRITER_FACTORY
 
Method Summary
 void addDocument(DocumentRef docRef)
           
 Collection<DocumentRef> getDocuments()
           
 DocumentRef getFirstDocument()
           
 Map<String,Object> getProperties()
           
 Object getProperty(String name)
           
 String getRepositoryName()
           
 void setProperty(String name, Object value)
           
 void setRepositoryName(String repositoryName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.io.api.util.IOConfiguration
getManager, isLocal
 

Method Detail

getDocuments

public Collection<DocumentRef> getDocuments()
Specified by:
getDocuments in interface IOConfiguration

getFirstDocument

public DocumentRef getFirstDocument()
Specified by:
getFirstDocument in interface IOConfiguration

getRepositoryName

public String getRepositoryName()
Specified by:
getRepositoryName in interface IOConfiguration

addDocument

public void addDocument(DocumentRef docRef)
Specified by:
addDocument in interface IOConfiguration

setRepositoryName

public void setRepositoryName(String repositoryName)
Specified by:
setRepositoryName in interface IOConfiguration

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface IOConfiguration

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface IOConfiguration

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in interface IOConfiguration

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.