Class Artifact2SoapDOMarshaler
- java.lang.Object
-
- com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.ObjectSoapDOMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.ItemSoapDOMarshaler
-
- com.collabnet.ce.soap60.webservices.tracker.Artifact2SoapDOMarshaler
-
- All Implemented Interfaces:
SoapMarshaler
public class Artifact2SoapDOMarshaler extends ItemSoapDOMarshaler
Marshaler class for Artifact2SoapDO.- Since:
- 8.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Artifact2SoapDOMarshalergetInstance(com.vasoftware.sf.server.types.UserSessionKey sessionKey)Returns the singleton class instance.booleanisStateless()Determines if this marshaller is stateless/cacheable.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.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.ObjectupdateRmiObjectWithSoapObject(Object soapObject, Object rmiObject)Updates an existing RMI object with a SOAP object-
Methods inherited from class com.collabnet.ce.soap60.webservices.cemain.ItemSoapDOMarshaler
getInstance
-
Methods inherited from class com.collabnet.ce.soap60.webservices.cemain.ObjectSoapDOMarshaler
getCoreService
-
-
-
-
Method Detail
-
getInstance
public static Artifact2SoapDOMarshaler getInstance(com.vasoftware.sf.server.types.UserSessionKey sessionKey)
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.- Specified by:
soapToRmiin interfaceSoapMarshaler- Overrides:
soapToRmiin classItemSoapDOMarshaler- 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:ObjectSoapDOMarshalerMarshals 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 classItemSoapDOMarshaler- 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- Specified by:
rmiToSoapin interfaceSoapMarshaler- Overrides:
rmiToSoapin classItemSoapDOMarshaler- 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)
-
updateRmiObjectWithSoapObject
public Object updateRmiObjectWithSoapObject(Object soapObject, Object rmiObject) throws SoapMarshalingException
Updates an existing RMI object with a SOAP object- Parameters:
soapObject- soap object that is used for (partial update)rmiObject- rmiObject that should be updated- Returns:
- updated RMI object
- Throws:
SoapMarshalingException
-
protectedRmiToSoap
protected void protectedRmiToSoap(Object soapObject, Object rmiObject) throws SoapMarshalingException
Description copied from class:ObjectSoapDOMarshalerUnmarshals 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 classItemSoapDOMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
isStateless
public boolean isStateless()
Description copied from interface:SoapMarshalerDetermines if this marshaller is stateless/cacheable.- Specified by:
isStatelessin interfaceSoapMarshaler- Overrides:
isStatelessin classAbstractStatelessSoapMarshaler- Returns:
- true if the the marshaller is stateless
- See Also:
SoapMarshaler.isStateless()
-
-