input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void set to vertex big integer new to vertex to vertex new to vertex | method for setting the identifier of an ending vertex of an edge |
public void set from vertex big integer new from vertex from vertex new from vertex | method for setting the identifier of an starting vertex of an edge |
private string normalize word string word return word trim to lower case replace all replace all | normalizes a word by |
private long get word id string word if word length 0 return 0 long result word2id word if result null string stemmed word stemming algorithm strip affixes word result word2id stemmed word if result null result morph2wordid word if result null return result else return 0 | gets the unique id of a word by performing the following operations |
public string input stream2 string input stream is throws ioexception exception dao string line null try string builder sb0 new string builder buffered reader reader new buffered reader new input stream reader is utf 8 while line reader read line null sb0 append line append n return sb0 to string trim catch unsupported encoding exception e e print stack trace throw new exception dao io error e get message catch ioexception e e print stack trace throw new exception dao io error e get message finally is close | return the inputstream as a string |
public void set current string value current new string buffer current replace 0 current length value cursor 0 limit current length limit backward 0 bra cursor ket limit | set the current string |
private type arc find pre arc tepc element element type epc epc for object obj epc get event or function or role if obj null type arc obj get flow null type arc obj get flow get target null element null if obj instanceof type arc if type arc obj get flow get target equals element get id return type arc obj return null | it take two parameters and returns the previous arc element for |
private type arc find post arc tepc element element type epc epc for object obj epc get event or function or role if obj null obj instanceof type arc type arc obj get flow null type arc obj get flow get source null element null if obj instanceof type arc if type arc obj get flow get source equals element get id return type arc obj return null | it take two parameters and returns the post arc element for |
protected void sync read only r event event this annotation only cb set disabled this no annotation i is selected | if no annotation has been selected in the list box the row |
public void refresh string val int j 0 while j this references size this references get j compare to val 0 j iterator comboitem it get items iterator for int cnt 10 cnt 0 j this references size this references get j starts with val j if it null it has next it next set label this references get j else it null new comboitem this references get j set parent this while it null it has next it next it remove | refreshes comboitem based on the specified value |
protected void import all process throws exception import wrong value exception interrupted exception ioexception if this process name tb get value compare to 0 this version name tb get value compare to 0 messagebox show please enter a value for each field attention messagebox ok messagebox exclamation else this import processes c import all process this version name tb get value this domain cb get value | the user clicked ok for all the default values apply for all |
protected void create account throws interrupted exception messagebox show not yet available attention messagebox ok messagebox information | create an account |
private void signin main controller main c throws interrupted exception try this signin c new signin controller this main c catch dialog exception e messagebox show error incorrect user details cancel messagebox ok messagebox error | perform sign in |
private void cancel this signin window detach | perform sign out of the current user |
public void reset user information throws exception erase message this current user null this simplesearch clear searches | reset displayed informations |
public void display new process process summary type returned process this processtable display new process returned process this display message this processtable get process hm size processes | forward to the controller process table controller the request to |
protected void edit native throws interrupted exception suspend not allowed exception exception formats this main c erase message hash map process summary type list version summary type selected process versions get selected process versions if selected process versions size 0 edit list processes controller edit list new edit list processes controller this main c this selected process versions else this main c display message no process version selected | edit all selected process versions |
protected void delete selected process versions throws exception this main c erase message hash map process summary type list version summary type selected process versions get selected process versions if selected process versions size 0 this main c delete process versions selected process versions else this main c display message no process version selected | delete all selected process versions |
private void edit data throws suspend not allowed exception interrupted exception exception domains exception all users this main c erase message hash map process summary type list version summary type selected process versions get selected process versions if selected process versions size 0 edit list process data controller edit list new edit list process data controller this main c this selected process versions else this main c display message no process version selected | edit meta data of selected process versions |
protected void process search throws exception string query this previoussearches cb get value request to manager request new request to manager process summaries type process summaries request read process summaries type query int nb answers process summaries get process summary size string message search returned nb answers if nb answers 1 message processes else message process this main c display message message this main c display process summaries process summaries false null null keeps search history up to date this previoussearches cb add search hist query | process search specified previous search combobox display processes satisfying the query |
public void clear searches this previoussearches cb set value | clears last search left by previous user |
public void delete from to be edited edit one process data controller edit one process throws exception this to edit list remove edit one process if this to edit list size 0 report edit data | remove edit one process from list of controllers associated with process |
private void report edit data throws exception string report modification of this edited list size if this edited list size 0 report process else if this edited list size 1 report process completed else if this edited list size 1 report processes completed this main c reload process summaries this main c display message report | return a message which summarises edition work |
public void cancel all throws exception for int i 0 i this to edit list size i if this to edit list get i get edit data one process window null this to edit list get i get edit data one process window detach this to edit list clear report edit data | cancel edition of remining process versions empty the list of |
protected void cancel new model this model w detach | closes the window for entering process details |
private void refresh string val int j arrays binary search this dict val int j 0 while j this dict size this dict get j compare to val 0 j if j 0 j j 1 iterator it get items iterator for int cnt 10 cnt 0 j this dict size this dict get j starts with val j if it null it has next comboitem it next set label this dict get j else it null new comboitem this dict get j set parent this while it null it has next it next it remove | refresh comboitem based on the specified value |
public void display new process process summary type process this display one process process | add the process to the table |
public write new process input msg type create write new process input msg type return new write new process input msg type | create an instance of |
public read native output msg type create read native output msg type return new read native output msg type | create an instance of |
public write process input msg type create write process input msg type return new write process input msg type | create an instance of |
public write new process output msg type create write new process output msg type return new write new process output msg type | create an instance of |
public close session output msg type create close session output msg type return new close session output msg type | create an instance of |
public read native input msg type create read native input msg type return new read native input msg type | create an instance of |
public write new annotation output msg type create write new annotation output msg type return new write new annotation output msg type | create an instance of |
public write process output msg type create write process output msg type return new write process output msg type | create an instance of |
public write new annotation input msg type create write new annotation input msg type return new write new annotation input msg type | create an instance of |
public close session input msg type create close session input msg type return new close session input msg type | create an instance of |
public activity set create activity set return new activity set | create an instance of |
public xpression create xpression return new xpression | create an instance of |
public type declarations create type declarations return new type declarations | create an instance of |
public list type create list type return new list type | create an instance of |
public activities create activities return new activities | create an instance of |
public transition refs create transition refs return new transition refs | create an instance of |
public enumeration value create enumeration value return new enumeration value | create an instance of |
public package header create package header return new package header | create an instance of |
public workflow process create workflow process return new workflow process | create an instance of |
public sub flow create sub flow return new sub flow | create an instance of |
public automatic create automatic return new automatic | create an instance of |
public transition create transition return new transition | create an instance of |
public array type create array type return new array type | create an instance of |
public formal parameters create formal parameters return new formal parameters | create an instance of |
public applications create applications return new applications | create an instance of |
public split create split return new split | create an instance of |
public simulation information create simulation information return new simulation information | create an instance of |
public formal parameter create formal parameter return new formal parameter | create an instance of |
public implementation create implementation return new implementation | create an instance of |
public declared type create declared type return new declared type | create an instance of |
public external package create external package return new external package | create an instance of |
public activity sets create activity sets return new activity sets | create an instance of |
public tool create tool return new tool | create an instance of |
public member create member return new member | create an instance of |
public responsibles create responsibles return new responsibles | create an instance of |
public redefinable header create redefinable header return new redefinable header | create an instance of |
public union type create union type return new union type | create an instance of |
public type declaration create type declaration return new type declaration | create an instance of |
public workflow processes create workflow processes return new workflow processes | create an instance of |
public participant type create participant type return new participant type | create an instance of |
public data fields create data fields return new data fields | create an instance of |
public enumeration type create enumeration type return new enumeration type | create an instance of |
public external reference create external reference return new external reference | create an instance of |
public no create no return new no | create an instance of |
public manual create manual return new manual | create an instance of |
public external packages create external packages return new external packages | create an instance of |
public route create route return new route | create an instance of |
public basic type create basic type return new basic type | create an instance of |
public process header create process header return new process header | create an instance of |
public transition ref create transition ref return new transition ref | create an instance of |
public transition restriction create transition restriction return new transition restriction | create an instance of |
public finish mode create finish mode return new finish mode | create an instance of |
public start mode create start mode return new start mode | create an instance of |
public transition restrictions create transition restrictions return new transition restrictions | create an instance of |
public block activity create block activity return new block activity | create an instance of |
public join create join return new join | create an instance of |
public deadline create deadline return new deadline | create an instance of |
public extended attribute create extended attribute return new extended attribute | create an instance of |
public schema type create schema type return new schema type | create an instance of |
public time estimation create time estimation return new time estimation | create an instance of |
public conformance class create conformance class return new conformance class | create an instance of |
public actual parameters create actual parameters return new actual parameters | create an instance of |
public extended attributes create extended attributes return new extended attributes | create an instance of |
public data type create data type return new data type | create an instance of |
public participants create participants return new participants | create an instance of |
public transitions create transitions return new transitions | create an instance of |
public trigger rule create trigger rule return new trigger rule | create an instance of |
public resource costs create resource costs return new resource costs | create an instance of |
public input set create input set return new input set | create an instance of |
public performers create performers return new performers | create an instance of |
public task manual create task manual return new task manual | create an instance of |
public modification date create modification date return new modification date | create an instance of |
public lanes create lanes return new lanes | create an instance of |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.