input
stringlengths
10
828
output
stringlengths
5
107
public string to csv string date format date format if date format null throw new null pointer exception if is valid throw new illegal argument exception invalid box this test long constructor valid string result date format format get date get sequence number get location room get location get location room get room i...
produces a csv format string for exporting of box data to a writer
public date get package date int row index if row index 0 throw new illegal argument exception item composition package package var get internal package row index if package var null throw new illegal argument exception return date package var get date clone
retrieve the date of the package containing the document at the supplied
public void set path java lang string new path path new path
insert the methods description here
public void refresh throws phoenix exception map map new hash map for iterator iter get dms cache get dmsdocctl items iterator iter has next dmsdocctl dms docctl dmsdocctl iter next string code dms docctl get dct code trim item composition document code dc service indexing convert dmsdocctl to item composition document...
refresh the caches contents
public boolean is default team return default team
insert the methods description here
public boolean is valid return true
insert the methods description here
public void set default team boolean new default team default team new default team
insert the methods description here
public void set profile java lang string new profile if new profile null throw new null pointer exception string old profile profile profile new profile fire property change profile old profile profile
insert the methods description here
public item team algorithm get algorithm return algorithm
insert the methods description here
public boolean equals object obj if obj instanceof item team paperfile false return false return item team paperfile obj get name equals this get name
insert the methods description here
public boolean matches name string name dpstemp this should be removed try to store name in correct format string input this name trim if input length 2 input input substring 0 2 trim again to remove any new trailing whitespace input input trim return name equals input new string substring input length
insert the methods description here
public string get origin return origin
insert the methods description here
public boolean is valid language item language type the language if the language null throw new null pointer exception language return true
insert the methods description here
public void update overlay item overlay overlay throws phoenix exception if overlay null throw new null pointer exception invalid parameter if overlay is valid throw new illegal argument exception invalid overlay if is existing overlay overlay throw new phoenix exception overlay does not exist item overlay current over...
update overlay method comment
private item composition document participant get default document participant for procedure name string procedure name if procedure name equals dms procedure name oppo return item composition document participant proprietor else return item composition document participant applicant
dpstemp bad note the choice of participant is hardcoded to the
public boolean is valid return is valid comment get comment is valid procedure get procedure is valid unit name get unit name is valid validity date get validity date
is valid method comment
public boolean is valid comment string the comment if the comment null throw new null pointer exception comment return the comment length 128 the comment trim length the comment length
insert the methods description here
public boolean is valid procedure string the procedure if the procedure null throw new null pointer exception procedure return the procedure length 12 the procedure trim length the procedure length
insert the methods description here
public boolean is valid unit name string the unit name if the unit name null throw new null pointer exception unit name return the unit name length 24 the unit name trim length the unit name length
insert the methods description here
public boolean is valid validity date java sql date the date if the date null throw new null pointer exception return true
insert the methods description here
public void set comment string new comment throws phoenix exception if new comment null throw new null pointer exception comment string old comment comment string temp comment util truncate trim new comment 128 comment temp comment fire property change comment old comment comment
insert the methods description here
public void set validity date java sql date new validity date if new validity date null throw new null pointer exception unit name java sql date old validity date validity date validity date new validity date fire property change validity date old validity date validity date
insert the methods description here
public boolean is best dg1 return best dg1
insert the methods description here
public boolean is best dg2 return best dg2
insert the methods description here
public boolean is flag de return flag de
insert the methods description here
public boolean is flag en return flag en
insert the methods description here
public boolean is flag fr return flag fr
insert the methods description here
public void set best dg1 boolean new best dg1 boolean old best dg1 best dg1 best dg1 new best dg1 fire property change best dg1 new boolean old best dg1 new boolean best dg1
insert the methods description here
public void set best dg2 boolean new best dg2 boolean old best dg2 best dg2 best dg2 new best dg2 fire property change best dg2 new boolean old best dg2 new boolean best dg2
insert the methods description here
public void set flag de boolean new flag de boolean old flag de flag de flag de new flag de fire property change flag de new boolean old flag de new boolean flag de
insert the methods description here
public void set flag en boolean new flag en boolean old flag en flag en flag en new flag en fire property change flag en new boolean old flag en new boolean flag en
insert the methods description here
public void set flag fr boolean new flag fr boolean old flag fr flag fr flag fr new flag fr fire property change flag fr new boolean old flag fr new boolean flag fr
insert the methods description here
public void set task java lang string new task if new task null throw new null pointer exception invalid parameter string old task task task new task trim fire property change task old task task
insert the methods description here
public boolean is valid return is valid bitmap type get bitmap type is valid name get name is valid description get description is valid file name get file name is valid font get font
is valid method comment
public boolean is valid bitmap type item overlay layout item bitmap type bitmap type if bitmap type null throw new null pointer exception return true
insert the methods description here
public boolean is valid description string description if description null throw new null pointer exception description return true
insert the methods description here
public boolean is valid file name string file name if file name null throw new null pointer exception file name return true
insert the methods description here
public boolean is valid font string font if font null throw new null pointer exception font return true
insert the methods description here
public void set description string new description if new description null throw new null pointer exception description string old description description string temp description util truncate trim new description 128 description temp description fire property change description old description description
insert the methods description here
public void set file name java lang string new file name if new file name null throw new null pointer exception file name string old file name file name string temp file name util truncate trim new file name 128 file name temp file name fire property change file name old file name file name
insert the methods file name here
public void set font string new font if new font null throw new null pointer exception font string old font font string temp font util truncate trim new font 128 font temp font fire property change font old font font
insert the methods description here
public void add form item form form throws phoenix exception if form null throw new null pointer exception invalid parameter if form is valid false throw new illegal argument exception invalid form form if is existing form form true throw new phoenix exception duplicate form get form table add form
add form method comment
public void add overlay item overlay overlay item form owner form throws phoenix exception if overlay null owner form null throw new null pointer exception invalid parameter if overlay is valid false throw new illegal argument exception invalid overlay overlay possible to add multiple same overlays if is existing overl...
add overlay method comment
public void add overlay layout item overlay layout overlay layout throws phoenix exception if overlay layout null throw new null pointer exception invalid parameter if overlay layout is valid false throw new illegal argument exception invalid overlay layout overlay layout if is existing overlay layout overlay layout tr...
add overlay layout method comment
public int get sequence number return sequence number
insert the methods description here
public boolean is output created return output created
insert the methods description here
public item algorithm get algorithm return algorithm
insert the methods description here
public array list get algorithm list if algorithm list null algorithm list new array list return algorithm list
insert the methods description here
public list get dossier countries return dossier countries
note this method should be moved to a different class
public void set output created boolean new output created output created new output created
insert the methods description here
public string get description de return description de
insert the methods description here
public string get description en return description en
insert the methods description here
public item location get item location by name string name if name null throw new illegal argument exception name null string uppercase name name to upper case return item location item locations by uppercase name get uppercase name
note this method should be moved to a different class
public string get description fr return description fr
insert the methods description here
public list get item locations return item locations
note this method should be moved to a different class
public item page type get page type return page type
insert the methods description here
public int get xvalue return x value
insert the methods description here
public int get yvalue return y value
insert the methods description here
public void set layout item overlay layout new layout if new layout null throw new null pointer exception layout item overlay layout old layout layout if is valid layout new layout throw new illegal argument exception layout layout new layout fire property change layout old layout layout
insert the methods description here
public void set page type item page type new page type if new page type null throw new null pointer exception page type item page type old page type page type page type new page type fire property change page type old page type page type
insert the methods description here
public list get form table if form table null form table new array list return form table
insert the methods description here
public list get overlay layout list if overlay layout list null overlay layout list new array list return overlay layout list
insert the methods description here
public int get pm usage return pm usage
insert the methods description here
public item procedure get procedure return procedure
insert the methods description here
public array list get procedure list if procedure list null procedure list new array list return procedure list
insert the methods description here
public item public type get public type return public type
insert the methods description here
public item publish type get publish type return publish type
insert the methods description here
private string get time string if formatter null formatter new simple date format yyyy mm dd hh mm ss string date string formatter format new java util date return date string
returns a current date as a formatted string
public item register type get register type return register type
insert the methods description here
public item source type get source type return source type
insert the methods description here
private boolean intersect set set1 set set2 if set1 size set2 size return intersect set2 set1 optimized for hash set for iterator iter set1 iterator iter has next if set2 contains iter next return true return false
answer whether the given sets intersect
protected boolean is cache refresh enabled return cache refresh enabled
is the cache refresh thread active
public array list get team list if team list null team list new array list return team list
insert the methods description here
public item urgency type get urgency type return urgency type
insert the methods description here
public boolean is annex return annex
insert the methods description here
public boolean is cover return cover
insert the methods description here
public void refresh cache tables class dms object class set set new hash set set add dms object class refresh cache tables set
refresh the cache tables that are either related to the given
public boolean is final index return final index
insert the methods description here
public void refresh cache tables class dms object class1 class dms object class2 set set new hash set set add dms object class1 set add dms object class2 refresh cache tables set
refresh the cache tables that are either related to the given
public boolean is generate message return generate message
insert the methods description here
public void refresh cache tables set dms object classes refresh outdated cache tables dms object classes
refresh the cache tables that are either related to the given
public boolean is retrieve return retrieve
insert the methods description here
public boolean is suppress return suppress
insert the methods description here
private void refresh dependent caches set refreshed dms object classes throws phoenix exception for int i 0 i dependent caches size i dependent cache dependent cache dependent cache dependent caches get i if intersect refreshed dms object classes dependent cache get dms object subclasses dependency dependent cache refr...
refresh dependent caches as far as necessary with the given
public boolean is valid return is valid algorithm get algorithm is valid code get code is valid description get description de is valid description get description en is valid description get description fr is valid procedure get procedure is valid public type get public type is valid publish type get publish type is v...
is valid method comment
public boolean is valid algorithm item algorithm algorithm if algorithm null algorithm is optional return true return algorithm is valid
insert the methods description here
protected void refresh outdated cache tables boolean force it refresh outdated cache tables force it metadata classes set empty set
cache is refreshed as follows code dmsglobal table is refreshed from
protected void set cache refresh enabled boolean new cache refresh enabled if new cache refresh enabled cache refresh enabled stop auto cache refresh cache refresh enabled new cache refresh enabled start auto cache refresh
switch automatic cache refresh on or off
protected void set cache refresh period seconds int new cache refresh period seconds if new cache refresh period seconds cache refresh period seconds stop auto cache refresh cache refresh period seconds new cache refresh period seconds start auto cache refresh
set time between automatic cache refresh operations
public void remove form item form form throws phoenix exception if form null throw new null pointer exception invalid parameter if form is valid throw new illegal argument exception invalid form if is existing form form throw new phoenix exception non existent form get form table remove get existing form index form get...
remove form method comment
public void remove overlay layout item overlay layout overlay layout throws phoenix exception if overlay layout null throw new null pointer exception invalid parameter if overlay layout is valid throw new illegal argument exception invalid overlay layout if is existing overlay layout overlay layout throw new phoenix ex...
remove overlay layout method comment
public void set algorithm item algorithm new algorithm if new algorithm null throw new null pointer exception algorithm item algorithm old algorithm algorithm if is valid algorithm new algorithm throw new illegal argument exception algorithm algorithm new algorithm fire property change algorithm old algorithm algorithm
insert the methods description here
public void set annex boolean new annex boolean old annex annex annex new annex fire property change annex new boolean old annex new boolean annex
insert the methods description here
public void set publish type item publish type new publish type if new publish type null throw new null pointer exception publish type item publish type old publish type publish type publish type new publish type fire property change publish type old publish type publish type
insert the methods description here
public void set register type item register type new register type if new register type null throw new null pointer exception register type item register type old register type register type register type new register type fire property change register type old register type register type
insert the methods description here
public void set urgency type item urgency type new urgency type if new urgency type null throw new null pointer exception urgency type item urgency type old urgency type urgency type urgency type new urgency type fire property change urgency type old urgency type urgency type
insert the methods description here
public void update form item form form throws phoenix exception if form null throw new null pointer exception invalid parameter if form is valid throw new illegal argument exception invalid form if is existing form form throw new phoenix exception form does not exist item form current form get existing form form get co...
update form method comment
public void update overlay item overlay overlay item form owner form throws phoenix exception owner form update overlay overlay
update overlay method comment
private list find mail datas list mailbox headers list all mail data array list result new array list mailbox headers size for int i 0 size mailbox headers size i size i enum user settings mailbox header header enum user settings mailbox header mailbox headers get i if header is dynamic int header index header get dyna...
finds mail data objects corresponding to mailbox headers
private int find header index list mail data list legacy item item throws phoenix exception int header index 1 for int i 0 i mail data list size i item legacy mail data mail data item legacy mail data mail data list get i if mail data get name equals item get name header index i break if header index 1 throw new phoeni...
the item mailbox message has an array of dynamic headers