input
stringlengths
10
828
output
stringlengths
5
107
public void set continue html string value continue html value
set the continue html property
public string get continue html return continue html
get the continue html property
public void set ssl port int value this ssl port value
set the ssl port property
public int get ssl port return this ssl port
get the ssl port property
public void set base path string value this base path value
set the base path property
public string get base path return this base path
get the base path property
public void set is registry boolean value this is registry value
set the is registry property
public boolean get is registry return this is registry
get the is registry property
public void set selected boolean value selected value
set the selected property
public void add wiki link wiki util wiki util entry to entry if to entry null return hashtable links hashtable wiki util get property wikilinks if links null wiki util put property wikilinks links new hashtable links put to entry to entry
add a wiki link
public void set parent id string value parent id value
set the parent id property
public void set child xml string value child xml value
set the child xml property
public string get child xml return child xml
get the child xml property
public void set child ids list string value child ids value
set the child ids property
public void set pqinsert string value pqinsert value
set the pqinsert property
public string get pqinsert return pqinsert
get the pqinsert property
public void set feed string value feed value
set the feed property
public void set queue string value queue value
set the queue property
public void set product id string value product id value
set the product id property
public void set remote user id string value remote user id value
set the remote user id property
public string get remote user id return remote user id
get the remote user id property
public void set message template string value message template value
set the message template property
public string get message template if message template null message template get initial message template return message template
get the message template property
public void set parent group id string value this parent group id value
set the parent group id property
public string get parent group id return this parent group id
get the parent group id property
public void set sub group string value this sub group value
set the sub group property
public string get sub group return this sub group
get the sub group property
public void set exec line string value exec line value
set the exec line property
public string get exec line return exec line
get the exec line property
public void set field string value field value
set the field property
public void set do not boolean value do not value
set the do not property
public boolean get do not return do not
get the do not property
public void set server string value server value
set the server property
public void set directory string value directory value
set the directory property
public void set type handler type handler value type handler value
set the type property
public string msg string s return repository msg s
shortcut to repository
public string msg label string s return repository msg label s
shortcut to repository
public boolean show maps return repository get map manager show maps
show the maps
public void set values object value values value
set the values property
public void add html string s html append s
add the html to the output
public void add js string s get js append s
add java sript code to the output
private string get map div string contents string buffer result new string buffer string readout html utils div nbsp html utils id ramadda map latlonreadout html utils style font style italic width width px result append html utils div contents html utils style border 1px 888888 solid background color 7391ad width width px height height px html utils id map var name result append n result append readout result append n return result to string
get the map div
public string get html if show maps return get map div nbsp maps not available string buffer result new string buffer result append html result append get map div result append html utils script get js to string result append n return result to string
get the html for this map
private string buffer get js if js buffer null js buffer new string buffer js buffer append var map var name new repository map html utils squote map var name n js buffer append var the map map var name n if for selection js buffer append the map init map for selection n return js buffer
get the java script for this map
public string make selector string arg boolean popup string nwse return make selector arg popup nwse
make a selector
public string get selector clear link string msg return html utils mouse click href get variable name selection clear msg
get the selector clear link
public string get selector widget string arg string nwse boolean do region true if nwse null nwse new string string widget if nwse length 2 do region false if do region widget html utils make lat lon box arg nwse 2 nwse 0 nwse 3 nwse 1 else widget msg label latitude html utils input arg latitude nwse 0 html utils size 5 html utils id arg latitude msg label longitude html utils input arg longitude nwse 1 html utils size 5 html utils id arg longitude return widget
get the selector widget
public void add box entry entry map properties properties add box entry get id properties entry get north entry get west entry get south entry get east
add a box to the map
public void set max connections int value this max connections value
set the max connections property
public void add box string id lat lon rect llr map properties properties add box id properties llr get lat max llr get lon min llr get lat min llr get lon max
add a box to the map
public int get max connections return this max connections
get the max connections property
public void add lines string id double pts for int i 1 i pts length i add line id pts i 1 0 pts i 1 1 pts i 0 pts i 1
add a set of lines
public void add lines string id list double pts if pts size 0 return double last good point pts get 0 for int i 1 i pts size i double current point pts get i if double is na n current point 0 double is na n current point 0 last good point null continue if last good point null add line id last good point 0 last good point 1 current point 0 current point 1 last good point current point
add a set of lines
public void set number of connections int value this number of connections value
set the number of connections property
public void set filters list filter value filters value
set the filters property
public void center on rectangle2 d double bounds if bounds null get js append var bounds new open layers bounds bounds get x bounds get y bounds get x bounds get width bounds get y bounds get height n get js append map var name center on markers bounds n else center
center the map on the bounds
public int get number of connections return this number of connections
get the number of connections property
public void center get js append map var name center on markers null n
center the map
public void center on entry entry if entry null center return if entry has area defined center on entry get north entry get west entry get south entry get east else center
center on the entry bounds
public string get hilite href string id string label return a href javascript get variable name hilite marker html utils squote id label a
get the highlight href tag
public void set width int value width value
set the width property
public void set from date date value from date value
set the from date property
public void set map var name string value map var name value
set the map var name property
public string get variable name return map var name
get the map var name property
public void set to date date value to date value
set the to date property
private string format uptime long milliseconds string buffer buf new string buffer int seconds int milliseconds 1000 60 int minutes int milliseconds 1000 60 60 int hours int milliseconds 1000 60 60 24 int days int milliseconds 1000 60 60 24 if days 0 buf append days buf append day if days 1 buf append s buf append if hours 0 buf append hours buf append hour if hours 1 buf append s buf append buf append minutes buf append minute if minutes 1 buf append s return buf to string
format the uptime
public void set altitude top double value altitude top value
set the altitude top property
public void set actions list monitor action value actions value
set the actions property
public boolean doing publish request request return request defined arg publish entry hidden
did the user choose an entry to publish to
public double get altitude top return altitude top
get the altitude top property
public void set altitude bottom double value altitude bottom value
set the altitude bottom property
public boolean should show maps return show maps
should maps be shown
public boolean show maps return get repository get property prop showmap true
should maps be shown
public double get altitude bottom return altitude bottom
get the altitude bottom property
public map info create map request request boolean for selection return create map request map info dflt width map info dflt height for selection
create a map
public void set color string value color value
set the color property
public void apply admin config request request ge keys null
apply the admin configuration
public void set zoom to extent boolean value zoom to extent value
set the zoom to extent property
public boolean get zoom to extent return zoom to extent
get the zoom to extent property
public boolean is google earth enabled request request exclude iphone android and linux if request is mobile return false string user agent request get user agent to lower case if user agent index of linux 0 return false return get google maps key request null
is google earth plugin enabled
public void set columns list column info value this columns value
set the columns property
public void set indices list index info value this indices value
set the indices property
public void set category string value category value
set the category property
public void set is local file boolean value is local file value
set the is local file property
public void set input stream input stream value string mime type this mime type mime type this input stream value
set the input stream property
public boolean get is local file return is local file
get the is local file property
public void set is remote entry boolean value is remote entry value
set the is remote entry property
public boolean get is remote entry return is remote entry
get the is remote entry property
public void set remote server string value remote server value
set the remote server property
public string get remote server return remote server
get the remote server property
public void put property string key object value throws exception get properties true put key value
set the properties property
public hashtable get properties throws exception return get properties false
get the properties property
public string get properties string throws exception if properties null return repository encode object properties return null
get the properties string property
public void set sub groups list entry value sub groups value
set the sub groups property
public void xxxset parent type handler value parent value
set the parent property
public void set sub entries list entry value sub entries value
set the sub entries property
public type handler get parent return parent
get the parent property
public void set sql string value sql value
set the sql property
public void set statement prepared statement value statement value
set the statement property
public void set link string value link value
set the link property