Class DataTransferCallable

java.lang.Object
de.uplanet.lucy.server.datatrans.callable.DataTransferCallable

@VelocityCallable("singleton") public final class DataTransferCallable extends Object
Only used for old Datatransfer application.
  • Constructor Details

    • DataTransferCallable

      public DataTransferCallable()
  • Method Details

    • getConnections

      public de.uplanet.lucy.datatrans.DataTransferJobListEntry[] getConnections()
      Returns the currently defined data transfer jobs.
      Returns:
      A list of data transfer job enties.
    • getJobExecutions

      public de.uplanet.lucy.scheduler.SchedulerJobExecution[] getJobExecutions(String p_strJobGuid) throws Exception
      Returns the job history for the connection with the specified name.
      Parameters:
      p_strJobGuid - The job GUID.
      Returns:
      The history as an array.
      Throws:
      Exception - If an error occurred.
    • getLastJobMessage

      public String getLastJobMessage(String p_strJobDefinitionGuid) throws Exception
      Returns the message of the last job executed for the specified connection.
      Parameters:
      p_strJobDefinitionGuid - The job GUID.
      Throws:
      Exception - If an error occurred.
    • getJobMessages

      public String getJobMessages(String p_strGuid) throws Exception
      Returns the message for the job with the specified GUID.
      Parameters:
      p_strGuid - The job execution GUID.
      Returns:
      The message.
      Throws:
      IOException - If an I/O error occurred.
      Exception
    • startJob

      public void startJob(String p_strGuid)
      Starts the specified scheduler job.
      Parameters:
      p_strGuid - The job GUID.