Provides auto-routing of DICOM objects to a remote DICOM application that fulfills criteria defined by an SQL Query.

The SQL statement must be defined with following rules:

1) Series.series_iuid and Series.retrieve_aets must be the first columns of the select statement.
2) The where clause should contain a Series.updated_time. ]]>
org.dcm4chex.archive.dcm.movescu.ForwardByQueryService The default constructor ForwardByQueryService AE title of the STORE SCP, to which the Dicom objects should be forwarded. CalledAETitle java.lang.String PollInterval java.lang.String Default Query to find series that are stored (series_status=0) and not forwarded (ext_retr_aet is null) and has associated Request Attributes (a reference in series_req):
SELECT DISTINCT series.series_iuid, series.retrieve_aets, series.pk FROM series INNER JOIN series_req ON series.pk = series_req.series_fk WHERE series.series_status = 0 AND series.ext_retr_aet IS NULL AND series.updated_time < ? ORDER BY series.pk
Mote: The first three columns in the SELECT statement must be: series_iuid, retrieve_aets and pk (Series table)!
If limit > 0 the SQL statement is extended with:
1) a database specific LIMIT
2) a 'series.pk > ?' as first criteria in WHERE clause (if sql hasn't already a 'pk > ?')
3) an 'ORDER BY series.pk' (if sql hasn't already a 'ORDER BY')]]>
Query java.lang.String
If there is an error no automatic forward will be perfromed until the Query is corrected.
]]>
LastQueryCheckResult java.lang.String
Delay java.lang.String This will add database specfic limit statements to the Query! Set this to 0 if the query already contains a limitation.]]> Limit int Current state if a forward task is running. Used to avoid concurrency! isRunning boolean Last used Series.pk. Used as additional query parameter (SERIES.pk > lastPk) if a Limit > 0 is specified! LastSeriesPk long Forwarding priority. Enumerated Values: LOW, MEDIUM, HIGH. ForwardPriority java.lang.String Used internally. Do NOT modify. TimerIDForwardByQuery java.lang.String Used internally. Do NOT modify. MoveScuServiceName javax.management.ObjectName Used internally. Do NOT modify. SchedulerServiceName javax.management.ObjectName &defaultAttributes; &defaultOperations; Return number of series that are scheduled to be sent to calledAET.]]> checkForward int showSQL java.lang.String