Package org.jitterbit.integration.server.implementation.webservice.interchange.checkout.client

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.checkout.client.CheckoutInterchangeData


   *
   * @throws RemoteException Thrown if the web service call fails.
   * @throws ServiceException Thrown if the web service call fails.
   */
  public DownloadDataHolder downloadProject(String projectGUID, ServerCallback callback) throws RemoteException, ServiceException {
    CheckoutInterchangeData checkout = getCheckoutInterchangeData(callback);
        if (checkout == null) {
            // The callback should already have been notified.
            return null;
        }
        logger.info("Asking the server for project definitions");
        return checkout.downloadIntegrationProject(user, password, projectGUID);
  }
View Full Code Here


   * @return List of all the required files. Null if the current thread has been cancelled.
   * @throws RemoteException Thrown if the web service call fails.
   * @throws ServiceException Thrown if the web service call fails.
   */
  public RequiredFiles downloadFiles(int entityId, String guid, ServerCallback callback) throws ServiceException, RemoteException {
    CheckoutInterchangeData checkout = getCheckoutInterchangeData(callback);
        if (checkout == null) {
            // The callback should already have been notified.
            return null;
        }

        if( Thread.currentThread().isInterrupted() ) {
      callback.cancelled();
            return null;
        }

        RequiredFiles retval = checkout.downloadRequiredFiles(user, password, entityId, guid);
        if( Thread.currentThread().isInterrupted() ) {
      callback.cancelled();
            return null;
        }
        return retval;
View Full Code Here

   * @throws ServiceException
   */
  public List<IntegrationProject> getProjectTree(DownloadProjectInfoCallback callback)
    throws RemoteException, ServiceException {

    CheckoutInterchangeData checkout = getCheckoutInterchangeData(callback);
        if (checkout == null) {
            // The callback should already have been notified.
            return null;
        }

        if( Thread.currentThread().isInterrupted() ) {
      callback.cancelled();
            return null;
        }

    // Get the data from the web service.
    InterchangeDataHolder dataHolder = checkout.getOperationTree(user, password);
    if( Thread.currentThread().isInterrupted() ) {
      callback.cancelled();
            return null;
    }

View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.interchange.checkout.client.CheckoutInterchangeData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.