Makes the necessary database modifications.
1) Add the TransactionLog entries for the job.
The method inserts 1 entry indicating the finish of the backup phase and another entry
indicating assigning to the next phase if it is different from the backup phase ID.
2) pdate the job record to point ot the last inserted database record. Note:
1) The method executes in a transaction.
2) If an exception occurs, the database transaction is rolled back.
Makes the necessary database modifications.
1) Add the TransactionLog entries for the job.
The method inserts 1 entry indicating the finish of the backup phase .
2) update the job record to point ot the last inserted database record. Note:
1) The method executes in a transaction.
2) If an exception occurs, the database transaction is rolled back.
Changes the type of the job.
In order to change the type of a job the following actions take place:
1) See if the job has the right to change its type or not (database wise).
2) Apply the phase checks on the job.
4) Make the following database modifications, as needed.
a) Update the job to change its type.
b) Move the job entries from the oldTransactionLog to the TransactionLog.
c) Add an assign entry for the job new phase and user.
5) Copies the job folder back to the production server.
Makes the transition that will bring the job to the desired state.
For example: If the current state is StartingState and makeTransition is invoked and completes successfully,
the job will be considered started (i.e.
masterPanel is the panel that carry the basic components which are
the drop down list having the setting types, deleteCollectionButton and
createNewCollectionButton
masterPanel is the panel that carries the basic components which are
pendingJobsScrollPane, approveButton, denyButton, exportButton,
downloadButton, uploadButton and refreshButton
masterPanel is the panel that carries the basic components which are
ratesScrollPane, usersScrollPane, expandedRatesScrollPane, retrieveDataButton,
exportButton, fromDateButton, toDateButton and jobTypesComboBox and JCheckBoxes
masterPanel is the panel that carries the basic components which are
reportTable, exportButton, closeButton, deleteButton, assignButton
downloadButton, uploadButton and changeTypeButton
masterPanel is the panel that carries the basic components which are
workFlowScrollPane, ExpandedworkFlowScrollPane, exportButton,
workFlowButton, fromDateButton, toDateButton, jobTypesComboBox,
collectionsComboBox, batchesComboBox expandReportCheckBox and
specifyDateCheckBox
Copyright (c) 2006-2007 by Bibliotheca Alexandrina
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
Copyright (c) 2006-2007 by Bibliotheca Alexandrina
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.