input
stringlengths
10
828
output
stringlengths
5
107
public void set error msg string new error msg error msg new error msg
standard accessor updates the error message
private void set update ts long new update ts update ts new update ts
standard accessor updates the last update timestamp
public void update timestamp set update ts system current time millis
updates the last update timestamp with the current time
public dmsteam get team return team
standard accessor returns the dmsteam related to the current message
public hashtable get owner teams return owner teams
standard accessor returns the hashtable containing the possible
public hashtable get owner members return owner members
standard accessor returns the hashtable containing the possible
public msg addressee get msg addressee return msg addressee
standard accessor returns the msg addressee related to the current message
public void set owner teams hashtable hashtable owner teams hashtable
standard accessor updates the hashtable containing the possible
public void set team dmsteam team this team team
standard accessor returns the dmsteam related to the current message
public void set owner members hashtable hashtable owner members hashtable
standard accessor updtaes the hashtable containing the possible
public void del own mem dmsdossier the dossier dmsownmem the dmsownmem throws dms link exception non epo code 04 04 2005 log traces line s 527 528 delete member from the dossier try the dossier del child the dmsownmem false catch dms link exception de non epo code 04 04 2005 log warn exception line s 534 throw new dms ...
delete locally the member owner dmsownmem from a dossier
public void set msg addressee msg addressee addressee msg addressee addressee
standard accessor updates the msg addressee related to the current message
private boolean check thread thread the thread string the thread name boolean my return value my return value the thread is alive if my return value non epo code 04 04 2005 log info traces line s 130 131 else non epo code 04 04 2005 log warn traces line s 133 return my return value
check whether the current thread is alive or not
public void del own team dmsdossier the dossier dmsownteam the dmsownteam throws dms link exception non epo code 04 04 2005 log traces line s 550 551 delete team from the dossier try the dossier del child the dmsownteam false catch dms link exception de non epo code 04 04 2005 log warn exception line s 557 throw new dm...
delete localy the team owner dmsownteam from dossier
private string check get property string the prop name throws jdist exception string my value get properties get property the prop name if my value null my value trim equals string my error msg missing mandatory field in the properties file the prop name non epo code 04 04 2005 log warn traces line s 205 throw new jdis...
check of a mandatory parameter in a properties file
public date get current date return current date
standard accessor returns the current date
public long get db expiration delay return db expiration delay
standard accessor returns the expiration delay of a connection from the
public int get db max connection return db max connection
standard accessor returns the maximum number of free connections from the
public int get day of week return day of week
standard accessor returns the day of the week
public int get db pool size return db pool size
standard accessor returns the size of the database pool i
public algo processing interface get dms algo interface return dms algo interface
standard accessor returns the interface used to process nos specific
public long get dms poller timeout return dms poller timeout
standard accessor returns the dms poller timeout between 2 dms link checks
public dmsdocset get docset by key string the key throws dms link exception non epo code 04 04 2005 log traces line s 621 622 dmsdocset my docset new dmsdocset my docset set key the key try my docset get by key catch dms link exception de non epo code 04 04 2005 log warn exception line s 629 throw new dms link exceptio...
retrieval of a doc set dmsdocset by key
public dms service get dms server return dms server
standard accessor returns the interface used to access dms
public dmsprocedure get procedure by key string the key throws dms link exception non epo code 04 04 2005 log traces line s 646 647 dmsprocedure my procedure new dmsprocedure my procedure set key the key try my procedure get by key catch dms link exception de non epo code 04 04 2005 log warn exception line s 654 throw ...
retrieval of a procedure dmsprocedure by key
public int get rmi server port return rmi server port
standard accessor returns the j dist rmi server port
public dmsrange get range by key string the key throws dms link exception non epo code 04 04 2005 log traces line s 671 672 dmsrange my range new dmsrange my range set key the key try my range get by key catch dms link exception de non epo code 04 04 2005 log warn exception line s 679 throw new dms link exception get r...
retrieval of a range dmsrange by key
public jdist message get current message return current message
standard accessor retrieves the current processed message
public string get server instance id return server instance id
standard accessor returns the j dist instance id
public string get server version return server version
standard accessor returns the j dist version number
public long get session cleaner timeout return session cleaner timeout
standard accessor returns the session cleaner timeout between 2 session
public long get session timeout return session timeout
standard accessor returns the session timeout during which the session is
public void set current date date new current date current date new current date
standard accessor updates the current date
public long get thread checker timeout return thread checker timeout
standard accessor returns the thread checker timeout between 2 thread checks
public database info get user authent info return user authent info
standard accessor returns the user authentication information
public dmslink get dms link return dms link
standard accessor returns the dms link
public void set day of week int new day of week day of week new day of week
standard accessor updates the day of the week
public void set db expiration delay long new db expiration delay db expiration delay new db expiration delay
standard accessor updates the expiration delay of a connection from the
public void add session jdist session the session throws jdist exception manipulate session list add session the session
add a session to the jdist session list
public int get opened sessions return opened sessions
standard accessor returns the number of open sessions
public void remove session jdist session the session throws jdist exception manipulate session list remove session the session
remove a session from the jdist session list
public void set db max connection int new db max connection db max connection new db max connection
standard accessor updates the maximum number of free connections from the
public void set db pool size int new db pool size db pool size new db pool size
standard accessor updates the size of the database pool i
private void successful distribution msg addressee the obj addressee non epo code 04 04 2005 log traces line s 1007 1010 get current message set successful true
common process in case of successful distribution
private string format timestamp long the timestamp create and set a date object java util date my date new java util date the timestamp my date set time the timestamp format the date java text simple date format my df new java text simple date format yyyy mm dd hh mm ss sss return my df format my date
format a timestamp into a displayable time
public void set dms server dms service new dms server dms server new dms server
standard accessor updates the interface used to access dms
public void set rmi server port int new rmi server port rmi server port new rmi server port
standard accessor updates the j dist rmi server port
public void set rmi server url java lang string new rmi server url rmi server url new rmi server url
standard accessor updates the j dist rmi server url
public void set session cleaner timeout long new session cleaner timeout session cleaner timeout new session cleaner timeout
standard accessor updates the session cleaner timeout between 2 session
public void set session timeout long new session timeout session timeout new session timeout
standard accessor updates the session timeout during which the session is
public void set dms link dmslink new dms link dms link new dms link
standard accessor updates the dms link
public void set thread checker timeout long new thread checker timeout thread checker timeout new thread checker timeout
standard accessor updates the thread checker timeout between 2 thread checks
public void set rmi server registry name java lang string server registry name this rmi server registry name server registry name
standard accessor sets the j dist rmi server registry name
public boolean is user authent activated return user authent activated
standard accessor returns whether the user authentication is activated or not
public void set user authent activated boolean b user authent activated b
standard accessor updates the flag indicating whether the user
public string get error mbx id return error mbx id
standard accessor returns the error mailbox identifier
private string try to rollback bck uow the uow string my msg null if the uow null non epo code 04 04 2005 log traces line s 1229 1230 try the uow rollback catch tsexception tse my msg tsexception during rollback tse get message non epo code 04 04 2005 log error exception line s 1235 return my msg
try to rollback the current uow
public void set error mbx id string string error mbx id string
standard accessor updates the error mailbox identifier
public properties get properties return properties
standard accessor returns the j dist properties
public string get dms connection return dms connection
standard accessor returns the type of dms connection cics jini
public long get db access delay return db access delay
standard accessor returns the delay between 2 db accesses when the
public void close admin session uid the uid throws java rmi remote exception close monitoring session the uid
enables to close an administration session
public void service started service id the id string the host name non epo code 04 04 2005 log info traces line s 58 59
method called when the service is considered as started
public void service terminated service id the id string the host name non epo code 04 04 2005 log info traces line s 69 70 server stop provide a graceful shutdown of this service new thread this starter class start
method called when the service is considered as terminated
private string check get property properties the prop string the token throws jdist exception string my read value my read value the prop get property the token if my read value null my read value trim equals string my msg missing mandatory field in the properties file the token non epo code 04 04 2005 log warn traces ...
check of a mandatory parameter in a properties file
public jdist monitoring get jdist monitoring return jdist monitoring
standard accessor returns the jdist monitoring object
public string get server url uid the uid throws java rmi remote exception return null
get the url of the j dist server
public jdist session list get session list return session list
standard accessor returns the j dist session list
public string get status the j dist server is seen as in a started status only when it is in a running state if get server get state jdist service running state return status started else return status stopped
return the current status of the j dist server as a string representation
public string get version throws java rmi remote exception return version number
standard accessor returns the j dist version number
public void set monit dbexpiry string the dbexpiry throws jdist exception long my dbexpiry get server get sys param get db expiration delay try try to cast the session timeout in a long my dbexpiry long parse long the dbexpiry 1000 catch number format exception nfe string my msg number format exception for db expiratio...
update the db connection expiration time
public uid open admin session string the user string the password throws java rmi remote exception return open monitoring session the user the password
open an administration session
public void set monit session timeout string the session timeout throws jdist exception long my session timeout get server get sys param get session timeout try try to cast the session timeout in a long my session timeout long parse long the session timeout 1000 catch number format exception nfe string my msg number fo...
update the session timeout
public void set monit trace level string the trace level throws jdist exception non epo code 04 04 2005 log traces line s 3171 3172 non epo code 04 04 2005 set trace level line s 3174 non epo code 04 04 2005 log traces line s 3176 3177
update the trace level
public void set manager org epo jdist heart jdist manager new manager manager new manager
standard accessor returns the j dist manager
public void set session cleaner org epo jdist heart jdist session cleaner new session cleaner session cleaner new session cleaner
standard accessor returns the j dist session cleaner
private void unbind try registry my registry locate registry get registry get sys param get rmi server port my registry unbind get sys param get rmi server registry name non epo code 04 04 2005 log info traces line s 2132 2133 catch not bound exception nbe non epo code 04 04 2005 log warn exception line s 2135 catch re...
unbind of j dist
public void stop non epo code 04 04 2005 log info traces line s 2149 2150 stop the thread possibly running stop threads try to unbind the service unbind non epo code 04 04 2005 log info traces line s 2164 2165
stop immediatly the j dist threads try to unbind j dist
public long get current load throws remote exception return the number of messages to be processed by the manager return get msg list get nb msgs2be processed
method used for load balancing
private jini service get service return service
standard accesssor returns the service
public void set service jini service service this service service
standard accesssor sets the service
public string get service details throws remote exception return null
should return data in xml format that is interpreted by the epo
public service status get status throws remote exception return null
should return the status of the service that is interpreted by the
public long get total hits throws remote exception return 0
should return the number of times the service is called any method
private registry retrieve registry throws remote exception registry my registry null try start the rmi registry my registry locate registry create registry get sys param get rmi server port non epo code 04 04 2005 log traces line s 2485 2486 catch remote exception re non epo code 04 04 2005 log warn exception line s 24...
retrieve the rmi registry on the monitoring port
public void run while true try check the registry every minute thread sleep 60 1000 try to rmi register catch interrupted exception e
thread run method checking every minute whether rmi registration is already done
public void test get supported dossier attributes try array list dossier attrs proxy get supported dossier attributes assert true test if dossier attributes are supported dossier attrs size 0 catch exception e assert false e get message true
test on get supported dossier attributes
private string convert value if date string val val val trim if e usage char at 0 val length 8 string buffer buf new string buffer 10 buf append val substring 6 8 append buf append val substring 4 6 append buf append val substring 0 4 return buf to string else return val
convert a string into an epo standard formatted date
public string get as string throws legacy exception return get single value
return the string value in case only one answer is known
public string get as string int index throws legacy exception return this multi vals index
return retrieved value with an index
public int get total number of values return multi vals null 0 multi vals length
get total number of values method
public void set message java lang string new message status message new message
insert the methods description here
public void remove all items get item list clear
removes all previously added items
public void set name string a name i name a name
set name method
public void set single value java lang string new single value i single value new single value
creation date 08 02 02 09 51 44
public void remove item string a name throws legacy exception get item list remove get item a name
removes a single previously added item
public void add item legacy server item interface an item throws legacy exception get item list add an item
adds an item to the to be requested list
public void set dossier java lang string new dossier i dossier new dossier
sets the dossier
protected void add or set document string doc id string package id check if already exists iterator iter document list iterator while iter has next string cur string iter next if cur docidindx equals doc id cur pckpxiindx package id over write if necessary return apparently nothing has been found so add it to the end s...
index or set a document
public void set id string an id throws legacy exception i id an id
set id method