ShopChest/javadoc/de/epiceric/shopchest/utils/class-use/Callback.html
2017-06-08 15:23:20 +02:00

273 lines
15 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_74) on Thu Jun 08 15:19:10 CEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class de.epiceric.shopchest.utils.Callback (ShopChest 1.12 API)</title>
<meta name="date" content="2017-06-08">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class de.epiceric.shopchest.utils.Callback (ShopChest 1.12 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?de/epiceric/shopchest/utils/class-use/Callback.html" target="_top">Frames</a></li>
<li><a href="Callback.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class de.epiceric.shopchest.utils.Callback" class="title">Uses of Class<br>de.epiceric.shopchest.utils.Callback</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#de.epiceric.shopchest.sql">de.epiceric.shopchest.sql</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#de.epiceric.shopchest.utils">de.epiceric.shopchest.utils</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="de.epiceric.shopchest.sql">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a> in <a href="../../../../../de/epiceric/shopchest/sql/package-summary.html">de.epiceric.shopchest.sql</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../de/epiceric/shopchest/sql/package-summary.html">de.epiceric.shopchest.sql</a> with parameters of type <a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#addShop-de.epiceric.shopchest.shop.Shop-de.epiceric.shopchest.utils.Callback-">addShop</a></span>(<a href="../../../../../de/epiceric/shopchest/shop/Shop.html" title="class in de.epiceric.shopchest.shop">Shop</a>&nbsp;shop,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Adds a shop to the database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#connect-de.epiceric.shopchest.utils.Callback-">connect</a></span>(<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">(Re-)Connects to the the database and initializes it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#getLastLogout-org.bukkit.entity.Player-de.epiceric.shopchest.utils.Callback-">getLastLogout</a></span>(org.bukkit.entity.Player&nbsp;player,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Get the last logout of a player</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#getRevenue-org.bukkit.entity.Player-long-de.epiceric.shopchest.utils.Callback-">getRevenue</a></span>(org.bukkit.entity.Player&nbsp;player,
long&nbsp;logoutTime,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Get the revenue a player got while he was offline</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#getShops-boolean-de.epiceric.shopchest.utils.Callback-">getShops</a></span>(boolean&nbsp;showConsoleMessages,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Get all shops from the database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#isShop-int-de.epiceric.shopchest.utils.Callback-">isShop</a></span>(int&nbsp;id,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#logEconomy-org.bukkit.entity.Player-org.bukkit.inventory.ItemStack-org.bukkit.OfflinePlayer-de.epiceric.shopchest.shop.Shop.ShopType-org.bukkit.Location-double-de.epiceric.shopchest.event.ShopBuySellEvent.Type-de.epiceric.shopchest.utils.Callback-">logEconomy</a></span>(org.bukkit.entity.Player&nbsp;executor,
org.bukkit.inventory.ItemStack&nbsp;product,
org.bukkit.OfflinePlayer&nbsp;vendor,
<a href="../../../../../de/epiceric/shopchest/shop/Shop.ShopType.html" title="enum in de.epiceric.shopchest.shop">Shop.ShopType</a>&nbsp;shopType,
org.bukkit.Location&nbsp;location,
double&nbsp;price,
<a href="../../../../../de/epiceric/shopchest/event/ShopBuySellEvent.Type.html" title="enum in de.epiceric.shopchest.event">ShopBuySellEvent.Type</a>&nbsp;type,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Log an economy transaction to the database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#logLogout-org.bukkit.entity.Player-long-de.epiceric.shopchest.utils.Callback-">logLogout</a></span>(org.bukkit.entity.Player&nbsp;player,
long&nbsp;timestamp,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Log a logout to the database</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Database.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/sql/Database.html#removeShop-de.epiceric.shopchest.shop.Shop-de.epiceric.shopchest.utils.Callback-">removeShop</a></span>(<a href="../../../../../de/epiceric/shopchest/shop/Shop.html" title="class in de.epiceric.shopchest.shop">Shop</a>&nbsp;shop,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Remove a shop from the database</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="de.epiceric.shopchest.utils">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a> in <a href="../../../../../de/epiceric/shopchest/utils/package-summary.html">de.epiceric.shopchest.utils</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../de/epiceric/shopchest/utils/package-summary.html">de.epiceric.shopchest.utils</a> with parameters of type <a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ShopUtils.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/utils/ShopUtils.html#addShop-de.epiceric.shopchest.shop.Shop-boolean-de.epiceric.shopchest.utils.Callback-">addShop</a></span>(<a href="../../../../../de/epiceric/shopchest/shop/Shop.html" title="class in de.epiceric.shopchest.shop">Shop</a>&nbsp;shop,
boolean&nbsp;addToDatabase,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Add a shop</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ShopUtils.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/utils/ShopUtils.html#reloadShops-boolean-boolean-de.epiceric.shopchest.utils.Callback-">reloadShops</a></span>(boolean&nbsp;reloadConfig,
boolean&nbsp;showConsoleMessages,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Reload the shops</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ShopUtils.</span><code><span class="memberNameLink"><a href="../../../../../de/epiceric/shopchest/utils/ShopUtils.html#removeShop-de.epiceric.shopchest.shop.Shop-boolean-de.epiceric.shopchest.utils.Callback-">removeShop</a></span>(<a href="../../../../../de/epiceric/shopchest/shop/Shop.html" title="class in de.epiceric.shopchest.shop">Shop</a>&nbsp;shop,
boolean&nbsp;removeFromDatabase,
<a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Callback</a>&nbsp;callback)</code>
<div class="block">Remove a shop</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../de/epiceric/shopchest/utils/Callback.html" title="class in de.epiceric.shopchest.utils">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?de/epiceric/shopchest/utils/class-use/Callback.html" target="_top">Frames</a></li>
<li><a href="Callback.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>