Class AuditHistorySoapListMarshaler
- java.lang.Object
-
- com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
-
- com.collabnet.ce.soap60.marshaling.AbstractSoapMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.AuditHistorySoapListMarshaler
-
- All Implemented Interfaces:
SoapMarshaler
public class AuditHistorySoapListMarshaler extends AbstractSoapMarshaler
Marshaler class for AuditHistorySoapList.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoapMarshalergetInstance()Returns the singleton class instance.protected voidprotectedRmiToSoap(AuditHistorySoapList soapList, com.vasoftware.sf.server.services.auditing.AuditHistoryList rmiList, com.vasoftware.sf.server.services.comment.CommentList commentList, boolean translateFields)Overloaded method to marshal RMI auditing list and comment list into a single SOAP auditing history list.protected voidprotectedRmiToSoap(Object soapObject, Object rmiObject)Unmarshals data from an rmi object to a given SOAP object.protected voidprotectedSoapToRmi(Object soapObject, Object rmiObject)Marshals data from a soap object to a given rmi object.AuditHistorySoapListrmiToSoap(com.vasoftware.sf.server.services.auditing.AuditHistoryList auditHistoryList, com.vasoftware.sf.server.services.comment.CommentList commentList, boolean translateFields)Overloaded version of the marshaler that merges history and comments into SOAP audit history list.ObjectrmiToSoap(Object rmiObject)Unmarshals an object used by RMI APIs to a SOAP objectObjectsoapToRmi(Object soapObject)Converts a SOAP object to an object type required by RMI APIs.-
Methods inherited from class com.collabnet.ce.soap60.marshaling.AbstractSoapMarshaler
getCoreService
-
Methods inherited from class com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
isStateless
-
-
-
-
Method Detail
-
getInstance
public static SoapMarshaler getInstance()
Returns the singleton class instance.- Returns:
- Singleton class instance.
-
soapToRmi
public Object soapToRmi(Object soapObject) throws SoapMarshalingException
Description copied from interface:SoapMarshalerConverts a SOAP object to an object type required by RMI APIs.- Parameters:
soapObject- SOAP object to marshal.- Returns:
- Object required by RMI APIs.
- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.soapToRmi(java.lang.Object)
-
protectedSoapToRmi
protected void protectedSoapToRmi(Object soapObject, Object rmiObject) throws SoapMarshalingException
Description copied from class:AbstractSoapMarshalerMarshals data from a soap object to a given rmi object. This protected method is primarily used by marshaler classes to marshal members from a super-class marshaler.- Overrides:
protectedSoapToRmiin classAbstractSoapMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.soapToRmi(java.lang.Object)
-
rmiToSoap
public Object rmiToSoap(Object rmiObject) throws SoapMarshalingException
Description copied from interface:SoapMarshalerUnmarshals an object used by RMI APIs to a SOAP object- Parameters:
rmiObject- Object used by RMI apis.- Returns:
- Unmarshaled SOAP object.
- Throws:
SoapMarshalingException- when an error is encountered during unmarshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
protectedRmiToSoap
protected void protectedRmiToSoap(Object soapObject, Object rmiObject) throws SoapMarshalingException
Description copied from class:AbstractSoapMarshalerUnmarshals data from an rmi object to a given SOAP object. This protected method is primarily used by the marshaler classes to unmarshal members from a super-class marshaler.- Overrides:
protectedRmiToSoapin classAbstractSoapMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
rmiToSoap
public AuditHistorySoapList rmiToSoap(com.vasoftware.sf.server.services.auditing.AuditHistoryList auditHistoryList, com.vasoftware.sf.server.services.comment.CommentList commentList, boolean translateFields) throws SoapMarshalingException
Overloaded version of the marshaler that merges history and comments into SOAP audit history list.- Parameters:
auditHistoryList- Audit history list.commentList- Comment list.translateFields- denotes whether fields not known to pre 5.3 versions of TeamForge should be translated- Returns:
- Audit history SOAP list.
- Throws:
SoapMarshalingException- when an error is encountered duirng marshaling.
-
protectedRmiToSoap
protected void protectedRmiToSoap(AuditHistorySoapList soapList, com.vasoftware.sf.server.services.auditing.AuditHistoryList rmiList, com.vasoftware.sf.server.services.comment.CommentList commentList, boolean translateFields) throws SoapMarshalingException
Overloaded method to marshal RMI auditing list and comment list into a single SOAP auditing history list.- Parameters:
soapList- SOAP auditing history list.rmiList- RMI auditing history list.commentList- List of comments.translateFields- denotes whether fields not known to pre 5.3 versions of TeamForge should be translated- Throws:
SoapMarshalingException- when an error is encountered during marshaling.
-
-