<li><ahref="../../../../de/epiceric/shopchest/sql/Database.DatabaseType.html"title="enum in de.epiceric.shopchest.sql"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li>de.epiceric.shopchest.sql.Database</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../de/epiceric/shopchest/sql/MySQL.html"title="class in de.epiceric.shopchest.sql">MySQL</a>, <ahref="../../../../de/epiceric/shopchest/sql/SQLite.html"title="class in de.epiceric.shopchest.sql">SQLite</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <spanclass="typeNameLabel">Database</span>
extends <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/sql/Database.DatabaseType.html"title="enum in de.epiceric.shopchest.sql">Database.DatabaseType</a></span></code> </td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/sql/Database.ShopInfo.html"title="enum in de.epiceric.shopchest.sql">Database.ShopInfo</a></span></code> </td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field.summary">
<!---->
</a>
<h3>Field Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Field Summary table, listing fields, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/sql/Database.html#Database-de.epiceric.shopchest.ShopChest-">Database</a></span>(<ahref="../../../../de/epiceric/shopchest/ShopChest.html"title="class in de.epiceric.shopchest">ShopChest</a> plugin)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/sql/Database.html#addShop-de.epiceric.shopchest.shop.Shop-int-">addShop</a></span>(<ahref="../../../../de/epiceric/shopchest/shop/Shop.html"title="class in de.epiceric.shopchest.shop">Shop</a> shop,
int reconnectAttempts)</code>
<divclass="block">Adds a shop to the database</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<ahref="../../../../de/epiceric/shopchest/sql/Database.ShopInfo.html"title="enum in de.epiceric.shopchest.sql">Database.ShopInfo</a> shopInfo,
int reconnectAttempts)</code> </td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code>abstract <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../de/epiceric/shopchest/sql/Database.html#removeShop-de.epiceric.shopchest.shop.Shop-int-">removeShop</a></span>(<ahref="../../../../de/epiceric/shopchest/shop/Shop.html"title="class in de.epiceric.shopchest.shop">Shop</a> shop,
int reconnectAttempts)</code>
<divclass="block">Remove a shop from the database</div>
<h3>Methods inherited from class java.lang.<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"title="class or interface in java.lang">toString</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<divclass="details">
<ulclass="blockList">
<liclass="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="field.detail">
<!---->
</a>
<h3>Field Detail</h3>
<aname="plugin">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>plugin</h4>
<pre>public <ahref="../../../../de/epiceric/shopchest/ShopChest.html"title="class in de.epiceric.shopchest">ShopChest</a> plugin</pre>
</li>
</ul>
<aname="connection">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>connection</h4>
<pre>public <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> connection</pre>
<pre>public Database(<ahref="../../../../de/epiceric/shopchest/ShopChest.html"title="class in de.epiceric.shopchest">ShopChest</a> plugin)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getConnection--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getConnection</h4>
<pre>public abstract <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> getConnection()</pre>
<pre>public void removeShop(<ahref="../../../../de/epiceric/shopchest/shop/Shop.html"title="class in de.epiceric.shopchest.shop">Shop</a> shop,
int reconnectAttempts)</pre>
<divclass="block">Remove a shop from the database</div>
<pre>public <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> get(int id,
<ahref="../../../../de/epiceric/shopchest/sql/Database.ShopInfo.html"title="enum in de.epiceric.shopchest.sql">Database.ShopInfo</a> shopInfo,
<pre>public void addShop(<ahref="../../../../de/epiceric/shopchest/shop/Shop.html"title="class in de.epiceric.shopchest.shop">Shop</a> shop,
int reconnectAttempts)</pre>
<divclass="block">Adds a shop to the database</div>
<li><ahref="../../../../de/epiceric/shopchest/sql/Database.DatabaseType.html"title="enum in de.epiceric.shopchest.sql"><spanclass="typeNameLink">Next Class</span></a></li>