Class ReplicatedRepositorySoapRowMarshaler
- java.lang.Object
-
- com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
-
- com.collabnet.ce.soap60.marshaling.AbstractSoapMarshaler
-
- com.collabnet.ce.soap60.webservices.cemain.FolderSoapRowMarshaler
-
- com.collabnet.ce.soap60.webservices.scm.ReplicatedRepositorySoapRowMarshaler
-
- All Implemented Interfaces:
SoapMarshaler
public class ReplicatedRepositorySoapRowMarshaler extends FolderSoapRowMarshaler
Marshaler class for ReplicatedRepositorySoapRowMarshaler. This type departs from the pattern for other Soap Marshalers in that a public constructor, taking parameters, must be used
-
-
Constructor Summary
Constructors Constructor Description ReplicatedRepositorySoapRowMarshaler(String checkoutCommandUsername, com.vasoftware.sf.server.services.scm.RepositoryDO masterRepositoryDO)Constructor for this marshaler requires parameters to aid building SCM checkout strings
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class com.collabnet.ce.soap60.marshaling.AbstractSoapMarshaler
getCoreService
-
Methods inherited from class com.collabnet.ce.soap60.marshaling.AbstractStatelessSoapMarshaler
isStateless
-
-
-
-
Constructor Detail
-
ReplicatedRepositorySoapRowMarshaler
public ReplicatedRepositorySoapRowMarshaler(String checkoutCommandUsername, com.vasoftware.sf.server.services.scm.RepositoryDO masterRepositoryDO) throws com.collabnet.ctf.common.exceptions.NoSuchObjectException
Constructor for this marshaler requires parameters to aid building SCM checkout strings- Parameters:
checkoutCommandUsername- the checkout string usernamemasterRepositoryDO- repository data- Throws:
com.collabnet.ctf.common.exceptions.NoSuchObjectException- when replica strategy could not have been provided
-
-
Method Detail
-
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 classFolderSoapRowMarshaler- 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 classFolderSoapRowMarshaler- 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 classFolderSoapRowMarshaler- 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 classFolderSoapRowMarshaler- Parameters:
soapObject- SOAP object.rmiObject- RMI object.- Throws:
SoapMarshalingException- when an error is encountered during marshaling.- See Also:
SoapMarshaler.rmiToSoap(java.lang.Object)
-
-