<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static java.util.ArrayList<<ahref="../FrameWork/RequestPatient.html"title="class in FrameWork">RequestPatient</a>></code></td>
<divclass="block">Insert new patient into the database</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../FrameWork/DBconnector_server.html#insertRequestPatient(FrameWork.RequestPatient)">insertRequestPatient</a></strong>(<ahref="../FrameWork/RequestPatient.html"title="class in FrameWork">RequestPatient</a> rp)</code>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>ID_p</code> - the patient ID</dd><dd><code>userName</code> - the user name</dd><dd><code>password</code> - the password</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - the name</dd><dd><code>location</code> - the location</dd><dd><code>passwd</code> - the password</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
</li>
</ul>
<aname="getCFTable(int)">
<!-- -->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCFTable</h4>
<pre>public static <ahref="../FrameWork/ClinicalFactorsTable.html"title="class in FrameWork">ClinicalFactorsTable</a> getCFTable(int ID_dis)
throws java.sql.SQLException</pre>
<divclass="block">Gets the clinical factors table.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>ID_dis</code> - the test ID</dd>
<divclass="block">Insert new clinical factors for a patient</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id_p</code> - the patient ID</dd><dd><code>encCF</code> - the encrypted clinical factors</dd></dl>
<pre>public static void insertRequestPatient(<ahref="../FrameWork/RequestPatient.html"title="class in FrameWork">RequestPatient</a> rp)
throws java.sql.SQLException</pre>
<divclass="block">Insert request patient.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>rp</code> - the request patient</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
</li>
</ul>
<aname="checkNewRequestP(int)">
<!-- -->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>checkNewRequestP</h4>
<pre>public static java.util.ArrayList<<ahref="../FrameWork/RequestPatient.html"title="class in FrameWork">RequestPatient</a>> checkNewRequestP(int id)
throws java.sql.SQLException</pre>
<divclass="block">Check if there are Request that aren't saw yet.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - the id</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Return an arrayList of RequestPatient. If there is nothing null
is return.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id_p</code> - patient ID</dd><dd><code>key</code> - the keys</dd><dd><code>flag</code> - the flag for private key or public key</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
<divclass="block">Gets the value of the encrypted clinical factor of a patient by ID of the clinical factor</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id_p</code> - patient ID</dd><dd><code>integer</code> - the id of the clinical factor</dd>