org.nuxeo.cm.core.service.caseimporter
Class DefaultXMLCaseReader
java.lang.Object
org.nuxeo.cm.service.caseimporter.AbstractXMLCaseReader
org.nuxeo.cm.core.service.caseimporter.DefaultXMLCaseReader
public class DefaultXMLCaseReader
- extends AbstractXMLCaseReader
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 |
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
DefaultXMLCaseReader
public DefaultXMLCaseReader()
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:
Copyright © 2011 Nuxeo SAS. All Rights Reserved.