Klasse DataTransferCallableV2
java.lang.Object
de.uplanet.lucy.server.auxiliaries.datatransfer.DataTransferCallableV2
@VelocityCallable("singleton")
@VelocityVariable("DataTransferCallable2")
public final class DataTransferCallableV2
extends Object
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungde.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferResult<de.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferJobListEntry> getConnections(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_appGuid, int p_page, int p_pageSize, String p_sortField, boolean p_ascending, int p_statusFilter, String p_titleFilter) de.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferResult<de.uplanet.lucy.server.auxiliaries.datatransfer.VCSchedulerJobExecution> getJobExecutions(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_appGuid, String p_strJobGuid, int p_page, int p_pageCount, String p_sortField, boolean p_ascending, int p_statusFilter) Returns the partial sorted list of job history for the connection with the specified name.getJobMessages(String p_strGuid) Returns the message for the job with the specified GUID.getLastJobMessage(String p_strJobDefinitionGuid) Returns the message of the last job executed for the specified connection.voidStarts the specified scheduler job.
-
Konstruktordetails
-
DataTransferCallableV2
public DataTransferCallableV2()
-
-
Methodendetails
-
getConnections
public de.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferResult<de.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferJobListEntry> getConnections(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_appGuid, int p_page, int p_pageSize, String p_sortField, boolean p_ascending, int p_statusFilter, String p_titleFilter) - Parameter:
p_ctx- The processing context.p_appGuid- The application GUID. (Used to get the application language constant values).p_page- The start page index. 0 for the first pagep_pageSize- The size of the page.p_sortField- Valid values are DESCRIPTION, DESTINATION, END, SOURCE, START, STATUS, TITLE ornullfor titlep_ascending- In Ascending orderp_statusFilter- The status filter value. -1 for not status filter otherwise a valid status id to filterp_titleFilter- The title filter ornullfor nothing. (*, ?) allowed. If filter string contains a * or ?- Gibt zurück:
- The ordered jobs result object
-
getJobExecutions
public de.uplanet.lucy.server.auxiliaries.datatransfer.VCDataTransferResult<de.uplanet.lucy.server.auxiliaries.datatransfer.VCSchedulerJobExecution> getJobExecutions(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_appGuid, String p_strJobGuid, int p_page, int p_pageCount, String p_sortField, boolean p_ascending, int p_statusFilter) throws Exception Returns the partial sorted list of job history for the connection with the specified name.- Parameter:
p_ctx- The processing context-.p_appGuid- The application GUID. (Used to get the application language constant values).p_strJobGuid- The job GUID.p_page- The startPagep_pageCount- The pageSize and max return item sizep_sortField- Valid values are START, END, STATUS ornullfor STARTp_ascending- In Ascending orderp_statusFilter- The status filter. If -1 not filter set otherwise entries will be filtered by the status.- Gibt zurück:
- The ordered jobs executions result object. (not
null) - Löst aus:
Exception- If an error occurred.
-
getLastJobMessage
Returns the message of the last job executed for the specified connection.- Parameter:
p_strJobDefinitionGuid- The job GUID.- Löst aus:
Exception- If an error occurred.
-
getJobMessages
Returns the message for the job with the specified GUID.- Parameter:
p_strGuid- The job execution GUID.- Gibt zurück:
- The message.
- Löst aus:
IOException- If an I/O error occurred.Exception
-
startJob
Starts the specified scheduler job.- Parameter:
p_strGuid- The job GUID.
-