|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.bibalex.daf.managers.archive.ArchiverManagerGUI.Archiver
private class ArchiverManagerGUI.Archiver
This thread carries out downloading jobs folders and forming medias
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) java.util.ArrayList<java.lang.Object> |
argList
|
(package private) java.lang.Class |
c
|
(package private) java.lang.String |
className
|
(package private) DBConnection |
conn
|
(package private) java.lang.String |
destFolder
|
(package private) java.lang.String |
ftpPWD
|
(package private) java.lang.String |
ftpUser
|
(package private) java.lang.String |
hostIP
|
(package private) float |
mediaSize
|
(package private) java.lang.String |
methodName
|
(package private) int |
MTID
|
(package private) java.lang.String |
newMediaBarCode
|
(package private) int |
newMediaID
|
(package private) OperationInfo |
opInfo
|
(package private) java.lang.Class[] |
parameters
|
(package private) boolean |
returnVal
|
(package private) java.lang.String |
updateDAK
|
(package private) int |
userID
|
(package private) java.lang.reflect.Method |
userMethod
|
(package private) java.lang.String |
userName
|
(package private) int |
workstationID
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
private |
ArchiverManagerGUI.Archiver()
|
Method Summary | |
---|---|
private boolean |
checkSelectedJobs(CheckBoxList readyToArchiveCheckList,
int mediaType)
This method checks the validity of recording all the checked jobs in the archive list to DB |
private void |
clearGUI()
|
private boolean |
createMedia()
Thie method creates new media instance |
private boolean |
initialize()
This methos initialize variables used by run() method |
private boolean |
initRepository()
This methos initialize connection to Repository in order to update it with archived data |
private boolean |
recordJobsToDB(CheckBoxList readyToArchiveCheckList,
int mediaType,
int mediaID)
|
void |
run()
This method creats media and fill it up with job versions |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int MTID
int userID
int workstationID
int newMediaID
float mediaSize
java.lang.String destFolder
java.lang.String userName
java.lang.String hostIP
java.lang.String ftpUser
java.lang.String ftpPWD
DBConnection conn
java.util.ArrayList<java.lang.Object> argList
OperationInfo opInfo
java.lang.String newMediaBarCode
java.lang.String updateDAK
java.lang.String className
java.lang.String methodName
java.lang.Class c
java.lang.Class[] parameters
java.lang.reflect.Method userMethod
boolean returnVal
Constructor Detail |
---|
private ArchiverManagerGUI.Archiver()
Method Detail |
---|
private boolean initialize()
private boolean createMedia()
private boolean initRepository()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void clearGUI()
private boolean checkSelectedJobs(CheckBoxList readyToArchiveCheckList, int mediaType)
readyToArchiveCheckList
- The list of the checked jobs to be archivedmediaType
- The type of media to archive jobs to
private boolean recordJobsToDB(CheckBoxList readyToArchiveCheckList, int mediaType, int mediaID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |