|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOResourceAdapter
Resource adapter holding the import/export for document associated resources.
Method Summary | |
---|---|
IOResources |
extractResources(String repo,
Collection<DocumentRef> sources)
Extracts resources for given document locations. |
Map<String,Serializable> |
getProperties()
Returns properties. |
void |
getResourcesAsXML(OutputStream out,
IOResources newResources)
Export resources as XML. |
IOResources |
loadResourcesFromXML(InputStream stream)
Returns resources built from given stream. |
void |
setProperties(Map<String,Serializable> properties)
Set properties. |
void |
storeResources(IOResources newResources)
Persists resources. |
IOResources |
translateResources(String repo,
IOResources resources,
DocumentTranslationMap map)
Returns translated resources once copy has been done, passing a correspondence map. |
Method Detail |
---|
Map<String,Serializable> getProperties()
void setProperties(Map<String,Serializable> properties)
IOResources extractResources(String repo, Collection<DocumentRef> sources)
repo
- TODOsources
- locations of documents to consider. Has to include
documents children if needed.
IOResources translateResources(String repo, IOResources resources, DocumentTranslationMap map)
repo
- target repository for resources.resources
- resources previously extracted thanks to
extractResources(String, Collection)
map
- correspondence map between old locations and new ones.
void storeResources(IOResources newResources)
newResources
- resources previously extracted thanks to
extractResources(String, Collection)
or
translateResources(String, IOResources, DocumentTranslationMap)
void getResourcesAsXML(OutputStream out, IOResources newResources)
out
- stream where export will be written.newResources
- resources previously extracted thanks to
extractResources(String, Collection)
or
translateResources(String, IOResources, DocumentTranslationMap)
IOResources loadResourcesFromXML(InputStream stream)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |