Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service.caseimporter
Class DefaultXMLCaseReader

java.lang.Object
  extended by org.nuxeo.cm.service.caseimporter.AbstractXMLCaseReader
      extended by org.nuxeo.cm.core.service.caseimporter.DefaultXMLCaseReader

public class DefaultXMLCaseReader
extends AbstractXMLCaseReader


Field Summary
static String ALL_CASES_TAG
           
static String CASE_ITEM_DOCUMENT_PATH
           
static String CASE_ITEMS
           
static String CASE_RECIPIENTS_ACTION
           
static String CASE_RECIPIENTS_INFORMATION
           
static String CASE_RECIPIENTS_MAILBOX_TAG
           
static String CASE_RECIPIENTS_TAG
           
static String CASE_TAG
           
static Log log
           
 
Constructor Summary
DefaultXMLCaseReader()
           
 
Method Summary
 String getCaseItemPathFile(org.dom4j.Element caseItemElement)
          Gets the path of the file to be imported as a case Item
 DistributionInfo getDistributionInfo(org.dom4j.Element caseElement)
          Gets the recipients from the case for the distribution
 List<org.dom4j.Element> loadCaseItems(org.dom4j.Element caseElement)
          Loads the list of case items for a given caseElement
 List<org.dom4j.Document> loadCases(File file)
          Loads the list of cases contained into the imported file
 
Methods inherited from class org.nuxeo.cm.service.caseimporter.AbstractXMLCaseReader
extractEntireCase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final Log log

ALL_CASES_TAG

public static final String ALL_CASES_TAG
See Also:
Constant Field Values

CASE_TAG

public static final String CASE_TAG
See Also:
Constant Field Values

CASE_ITEMS

public static final String CASE_ITEMS
See Also:
Constant Field Values

CASE_ITEM_DOCUMENT_PATH

public static final String CASE_ITEM_DOCUMENT_PATH
See Also:
Constant Field Values

CASE_RECIPIENTS_TAG

public static final String CASE_RECIPIENTS_TAG
See Also:
Constant Field Values

CASE_RECIPIENTS_ACTION

public static final String CASE_RECIPIENTS_ACTION
See Also:
Constant Field Values

CASE_RECIPIENTS_INFORMATION

public static final String CASE_RECIPIENTS_INFORMATION
See Also:
Constant Field Values

CASE_RECIPIENTS_MAILBOX_TAG

public static final String CASE_RECIPIENTS_MAILBOX_TAG
See Also:
Constant Field Values
Constructor Detail

DefaultXMLCaseReader

public DefaultXMLCaseReader()
Method Detail

loadCases

public List<org.dom4j.Document> loadCases(File file)
                                   throws org.nuxeo.ecm.core.api.ClientException
Description copied from class: AbstractXMLCaseReader
Loads the list of cases contained into the imported file

Specified by:
loadCases in class AbstractXMLCaseReader
Throws:
org.nuxeo.ecm.core.api.ClientException

loadCaseItems

public List<org.dom4j.Element> loadCaseItems(org.dom4j.Element caseElement)
Description copied from class: AbstractXMLCaseReader
Loads the list of case items for a given caseElement

Specified by:
loadCaseItems in class AbstractXMLCaseReader
Returns:

getCaseItemPathFile

public String getCaseItemPathFile(org.dom4j.Element caseItemElement)
Description copied from class: AbstractXMLCaseReader
Gets the path of the file to be imported as a case Item

Specified by:
getCaseItemPathFile in class AbstractXMLCaseReader
Returns:

getDistributionInfo

public DistributionInfo getDistributionInfo(org.dom4j.Element caseElement)
Description copied from class: AbstractXMLCaseReader
Gets the recipients from the case for the distribution

Specified by:
getDistributionInfo in class AbstractXMLCaseReader
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.