input
stringlengths
10
828
output
stringlengths
5
107
private boolean is connection ok connection the connection try if the connection is closed return false catch exception e2 non epo code 04 04 2005 log warn exception line s 427 return false return true
tests if the given connection of the pool is still opened
public string store request uid the session uid string the ctrl file name throws jbpa exception service not available exception try non epo code 04 04 2005 log traces line s 501 502 check opened session return store request the session uid the ctrl file name 0 finally non epo code 04 04 2005 log traces line s 506 507
store a request request info and ctlfile
public string store temp appdoc byte the appdata string the appdoc id string the req num throws jbpa exception service not available exception try non epo code 04 04 2005 log traces line s 533 534 check opened session return store temp appdoc the appdata the appdoc id the req num 0 finally non epo code 04 04 2005 log t...
store a temporary appdoc and its data in the j bpa database
public void update request uid the session uid string the req num int the status throws jbpa exception service not available exception try non epo code 04 04 2005 log traces line s 564 565 check opened session update request the session uid the req num the status 0 finally non epo code 04 04 2005 log traces line s 569 ...
update a request in the j bpa database
private string get name return name
name variable accesser
public bpa polling get poller return poller
poller variable accesser
private void set db password string the db password this db password the db password
db password variable setter
public jbpa system param get system param return system param
system param variable accesser
public int get nb pages return nb pages
nb pages variable accesser
public bpa req info get next request string the jbps id throws jbpa exception service not available exception try non epo code 04 04 2005 log traces line s 596 597 check opened session return get next request the jbps id 0 finally non epo code 04 04 2005 log traces line s 601 602
get the next ready request for a given j bps
public int get nb retry return nb retry
nb retry variable accesser
public timestamp get req completion timestamp string my str ts get completion timestamp if my str ts null return null string my conv ts convert ts my str ts timestamp my ts null my ts new timestamp timestamp value of my conv ts get time return my ts
gets back completion timestamp of the ticket in a timestamp format
private void set db user id string the db user id this db user id the db user id
db user id variable setter
private void set status char new value this status new value
status variable setter
public linked list get request list linked list the field list throws jbpa exception service not available exception try non epo code 04 04 2005 log traces line s 626 627 check opened session return get request list the field list 0 finally non epo code 04 04 2005 log traces line s 631 632
get list of requests
public timestamp get req creation timestamp string my str ts get creation timestamp if my str ts null return null string my conv ts convert ts my str ts timestamp my ts null my ts new timestamp timestamp value of my conv ts get time return my ts
gets back creation timestamp of the ticket in a timestamp format
public void set system param jbpa system param new system param system param new system param
system param variable setter
private void set free connection list linked list new value this free connection list new value
free connection list variable setter
public timestamp get req printed timestamp string my str ts get printed timestamp if my str ts null return null string my conv ts convert ts my str ts timestamp my ts null my ts new timestamp timestamp value of my conv ts get time return my ts
gets back printed timestamp of the ticket in a timestamp format
public bpa network link get network link return network link
network link variable accesser
private void set network link bpa network link new value this network link new value
network link variable setter
public boolean check printer jbpa system param the sys param throws jbpa exception if the printer exists and valid for int i 0 i the sys param get printer list handler get printers list size i if get printer name equals ignore case string the sys param get printer list handler get printers list get i non epo code 04 04...
checks if the printer of the control file exists and is valid
private bpa network link get network return network
network variable accesser
public array list get appdoc list return appdoc list
appdoc list variable accesser
private void set network bpa network link new value this network new value
network variable setter
public boolean is workable return if the request is workable switch its status switch get request status case reqstat jbps ready return true default return false
tests if the bpa request is workable in a ready status
public char get appdoc type return appdoc type
appdoc type variable accesser
private void set nb max connection int the nb max connection this nb max connection the nb max connection
nb max connection variable setter
public void set appdoc type char new appdoc type appdoc type new appdoc type
appdoc type variable setter
public void set job name string the job name this job name the job name
job name variable setter
public void set file name string new file name file name new file name
file name variable setter
public string get access rights return access rights
access rights variable accesser
private void set used connection list linked list new value this used connection list new value
used connection list variable setter
public void set req completion timestamp timestamp the ts if the ts null simple date format df new simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set completion timestamp my string ts
completion timestamp ticket variable setter
private bpa bps system get bpa bps system return bpa bps system
bpa bps system variable accesser
public void set req creation timestamp timestamp the ts if the ts null simple date format df new simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set creation timestamp my string ts
creation timestamp ticket variable setter
public bpa session get bpa session return bpa session
bpa session variable accesser
public jbpa service get server inst return server inst
server inst variable accesser
public void set req printed timestamp timestamp the ts if the ts null simple date format df new simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set printed timestamp my string ts
printed timestamp ticket variable setter
private jbpa system param get sys param return sys param
get the reference to the general parameters of the system
public void set access rights string new access rights access rights new access rights
access rights variable setter
public void set server inst jbpa service new server inst server inst new server inst
server inst variable setter
public void run while it is not stopped while is stopped non epo code 04 04 2005 log traces line s 90 93 clean session get system param get connected client list sleep till the next clean try thread sleep get system param get cleaner timeout 1000 catch interrupted exception inter excep non epo code 04 04 2005 log trace...
jbpa cleaner thread run method
public void set password string new password password new password
password variable setter
public void set user id string new user id user id new user id
user id variable setter
private void set name string new name name new name
name variable setter
public bns network link get bns network link return bns network link
bns network link variable accesser
private void set possible values string new possible values possible values new possible values
label variable setter
public void close monitoring session uid the uid throws remote exception inc hits try close jbpa session the uid catch jbpa exception e string err jbpa error e get return code e get message non epo code 04 04 2005 log warn exception line s 464 throw new remote exception err
p b enables to close a session with a j phoenix rmi server
public jbpa service get server return server
server variable accesser
public string get filter return filter
filter variable accesser
private properties get db prop return db prop
db prop variable accesser
private string get usr db driver return usr db driver
usr db driver variable accesser
private string get usr db password return usr db password
usr db password variable accesser
private string get usr db url return usr db url
usr db url variable accesser
private string get usr db userid return usr db userid
usr db userid variable accesser
public void set name string new name name new name
name variable setter
private void set server jbpa service new server server new server
server variable setter
private jbpa monitoring get jbpa monitoring return j bpa monitoring
j bpa monitoring variable accesser
private void set db prop properties new db prop db prop new db prop
new db prop variable setter
private void set usr db password string new value this usr db password new value
usr db password variable setter
public void set htype string new value this h type new value
h type standard accessor
public void set title string new value this title new value
title standard accessor
public string get macro return macro
macro standard accessor
public void set parameter string new value this parameter new value
parameter standard accessor
public string get monitoring protocol version throws remote exception inc hits return monitoring protocol version number
remote method returning the product version number br
public void set tag attributes sgml attribute list new value this tag attributes new value
tag attributes standard accessor
public void set tag param string new value this tag param new value
tag param standard accessor
public linked list get xml page list return xml page list
xml page list standard accessor
public void set macro string new value this macro new value
macro standard accessor
public void set position string new value this position new value
position standard accessor
public void set sep char string new value this sep char new value
sep char standard accessor
public int get style return style
style standard accessor
public void set source string new value this source new value
source standard accessor
public void set style string new value this style new value
style standard accessor
public void set bottom left xml page sub tag new value this bottom left new value
bottom left standard accessor
public void write file java io random access file the file string the level throws bps exception try the file write bytes the level overlay r n for int my cpt 0 my cpt xml page list size my cpt xml page xml page list get my cpt write file the file the level t the file write bytes the level overlay r n catch ioexception...
write in a file
public void set number string new value this number new value
number standard accessor
public int get type return tag line
return the type of the tag
public void set tag col list xml sub tag list new value this tag col list new value
tag col list standard accessor
public void write file java io random access file the file string the level throws bps exception try the file write bytes the level line r n for int my cpt 0 my cpt get tag col list size my cpt xml tag col get tag col list get my cpt write file the file the level t the file write bytes the level line r n catch ioexcept...
write in a file
public void set style int new value this style new value
style standard accessor
public int get backcolor return backcolor
backcolor standard accessor
public string get font return font
font standard accessor
public string get free text return free text
free text standard accessor
public void set upper right xml page sub tag new value this upper right new value
upper right standard accessor
public int get type return tag text
return the type of the tag
public void set backcolor int new value this backcolor new value
backcolor standard accessor
public void set font string new value this font new value
font standard accessor
public void set tag line list xml sub tag list new value this tag line list new value
tag line list standard accessor
public void write phxfrm java io random access file the file string the level throws bps exception
write phxfrm method
public void write phxpap java io random access file the file string the level throws bps exception for int my cpt 0 my cpt get position list size my cpt xml position sub tag get position list get my cpt write file the file the level
write phxpap method
public string get copies return copies
copies standard accessor
public void set xml overlay xml overlay new value this xml overlay new value
xml overlay standard accessor
public double get h return h
h standard accessor
public double get w return w
w standard accessor
public string get server connection time return server connection time
server connection time variable accesser
public void set border string new value this border new value
border standard accessor
public void set h double new value this h new value
h standard accessor
public boolean get staple return staple
staple standard accessor