Class DocumentReviewSoapListMarshaler

All Implemented Interfaces:
SoapMarshaler

public class DocumentReviewSoapListMarshaler extends AbstractSoapMarshaler
Marshaler class for DocumentSoapList.
  • Method Details

    • 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: SoapMarshaler
      Converts 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:
    • protectedSoapToRmi

      protected void protectedSoapToRmi(Object soapObject, Object rmiObject) throws SoapMarshalingException
      Description copied from class: AbstractSoapMarshaler
      Marshals 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:
      protectedSoapToRmi in class AbstractSoapMarshaler
      Parameters:
      soapObject - SOAP object.
      rmiObject - RMI object.
      Throws:
      SoapMarshalingException - when an error is encountered during marshaling.
      See Also:
    • rmiToSoap

      public Object rmiToSoap(Object rmiObject) throws SoapMarshalingException
      Description copied from interface: SoapMarshaler
      Unmarshals 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:
    • protectedRmiToSoap

      protected void protectedRmiToSoap(Object soapObject, Object rmiObject) throws SoapMarshalingException
      Description copied from class: AbstractSoapMarshaler
      Unmarshals 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:
      protectedRmiToSoap in class AbstractSoapMarshaler
      Parameters:
      soapObject - SOAP object.
      rmiObject - RMI object.
      Throws:
      SoapMarshalingException - when an error is encountered during marshaling.
      See Also:
    • marshalDocumentReviewList

      public static DocumentReviewSoapList marshalDocumentReviewList(com.collabnet.ctf.document.service.DocumentService docman, com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.services.docman.DocumentReviewList documentReviewList) throws SystemFault
      Converts a list of document reviews to a SOAP compatible list.
      Parameters:
      docman - Document manager handle.
      sessionKey - User session key.
      documentReviewList - Document review list (RMI).
      Returns:
      Document review SOAP list.
      Throws:
      SystemFault - when a system level error is encountered.
    • marshalDocumentReviewList

      public static DocumentReviewSoapList marshalDocumentReviewList(com.collabnet.ctf.document.service.DocumentService docman, com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.services.docman.OutstandingReviewList outstandingReviewList) throws SystemFault
      Converts a list of outstanding reviews to a SOAP compatible list.
      Parameters:
      docman - Document manager handle.
      sessionKey - User session key.
      outstandingReviewList - Document review list (RMI).
      Returns:
      Document review SOAP list.
      Throws:
      SystemFault - when a system level error is encountered.
    • marshalDocumentReviewList

      public static DocumentReviewSoapList marshalDocumentReviewList(com.collabnet.ctf.document.service.DocumentService docman, com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.services.docman.CreatedReviewList createdReviewList) throws SystemFault
      Converts a list of outstanding reviews to a SOAP compatible list.
      Parameters:
      docman - Document manager handle.
      sessionKey - User session key.
      createdReviewList - Document review list (RMI).
      Returns:
      Document review SOAP list.
      Throws:
      SystemFault - when a system level error is encountered.