Package com.saperion.util
Class HistoryToXML
- java.lang.Object
-
- com.saperion.util.HistoryToXML
-
public class HistoryToXML extends java.lang.Object
Helper class for XML translation.- Author:
- rbo
-
-
Constructor Summary
Constructors Constructor Description HistoryToXML(SaClassicConnectorImpl connector)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
historyToXML(HistoryInfo[] history, java.lang.String language)
java.lang.String
historyToXML2(HistoryInfo[] history, CommentInfo[] comments, java.lang.String language, boolean isAscending)
-
-
-
Constructor Detail
-
HistoryToXML
public HistoryToXML(SaClassicConnectorImpl connector)
Constructor.- Parameters:
connector
- CC
-
-
Method Detail
-
historyToXML
public java.lang.String historyToXML(HistoryInfo[] history, java.lang.String language) throws SaWorkflowException
- Parameters:
history
- History arraylanguage
- Lanuage- Returns:
- XML string
- Throws:
SaWorkflowException
- Workflow exception
-
historyToXML2
public java.lang.String historyToXML2(HistoryInfo[] history, CommentInfo[] comments, java.lang.String language, boolean isAscending) throws SaWorkflowException
- Parameters:
history
- History arraycomments
- Comments arraylanguage
- LanguageisAscending
- Is ascending- Returns:
- XML
- Throws:
SaWorkflowException
- Workflow exception
-
-