Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: ctoestreich/shake4bribe
base: 8eeecdfeb0
...
head fork: ctoestreich/shake4bribe
compare: db193f60e6
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 25 files changed
  • 0 commit comments
  • 1 contributor
Showing with 53 additions and 53 deletions.
  1. +3 −3 grails-app/services/com/team4/s4b/service/ShakeService.groovy
  2. +1 −1  web-app/docs/gapi/DefaultPackage/BootStrap.html
  3. +1 −1  web-app/docs/gapi/DefaultPackage/UrlMappings.html
  4. +1 −1  web-app/docs/gapi/com/team4/s4b/ItemStatus.html
  5. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/BenefactorController.html
  6. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/BribeContractController.html
  7. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/BribeController.html
  8. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/BribePortfolioController.html
  9. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/DataController.html
  10. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/OpportunityController.html
  11. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/RecipientController.html
  12. +1 −1  web-app/docs/gapi/com/team4/s4b/controller/ShakeController.html
  13. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/Benefactor.html
  14. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/Bribe.html
  15. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/BribeContract.html
  16. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/BribePortfolio.html
  17. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/Opportunity.html
  18. +1 −1  web-app/docs/gapi/com/team4/s4b/domain/Recipient.html
  19. +1 −1  web-app/docs/gapi/com/team4/s4b/exception/BribeShakeException.html
  20. +1 −1  web-app/docs/gapi/com/team4/s4b/service/DataService.html
  21. +11 −11 web-app/docs/gapi/com/team4/s4b/service/ShakeService.html
  22. BIN  web-app/docs/gapi/groovy.ico
  23. +19 −19 web-app/docs/gapi/index-all.html
  24. BIN  web-app/docs/gapi/inherit.gif
  25. +1 −1  web-app/docs/gapi/spring/resources.html
View
6 grails-app/services/com/team4/s4b/service/ShakeService.groovy
@@ -10,14 +10,14 @@ class ShakeService {
/**
* Will return a random bribe from a portfolio taking probability and count into account.
- * <BR>
+ * <BR><BR>
* If the usage count is -1 (unlimited) or > 0, then each bribe will exist bribe.probability times in the list.
* If two bribes with counts != 0 are in the portfolio one with [b1] bribe.probability=3 and the other one with
* [b2] bribe.probability=1, the map will look like the following: [b1, b1, b1, b2].
- * <BR>
+ * <BR><BR>
* A random number between 0 and the list.size() is selected and the list.get(random) bribe is returned.
* This will also mark the bribe as used by calling useBribe(Bribe) to decrement the usage count (if not unlimited).
- * <br>
+ * <br><BR>
* Will also create a contract for the shake for the given bribe, benefactor and recipient
*
* @param bribePortfolio A BribePortfolio on which to run the shake on
View
2  web-app/docs/gapi/DefaultPackage/BootStrap.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BootStrap (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/DefaultPackage/UrlMappings.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>UrlMappings (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/ItemStatus.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>ItemStatus (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/BenefactorController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BenefactorController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/BribeContractController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribeContractController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/BribeController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribeController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/BribePortfolioController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribePortfolioController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/DataController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>DataController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/OpportunityController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>OpportunityController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/RecipientController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>RecipientController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/controller/ShakeController.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>ShakeController (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/Benefactor.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:28 CDT 2012 -->
<title>Benefactor (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/Bribe.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>Bribe (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/BribeContract.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribeContract (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/BribePortfolio.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribePortfolio (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/Opportunity.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>Opportunity (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/domain/Recipient.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>Recipient (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/exception/BribeShakeException.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>BribeShakeException (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
2  web-app/docs/gapi/com/team4/s4b/service/DataService.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>DataService (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
View
22 web-app/docs/gapi/com/team4/s4b/service/ShakeService.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>ShakeService (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
@@ -167,7 +167,7 @@
<CODE>private&nbsp;void</CODE></FONT>
</TD>
<TD>
- <CODE><b><a href="#createContract(com.team4.s4b.domain.Bribe, com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)">createContract</a></b>(<a href='../domain/Bribe.html'>Bribe</a> bribe, <a href='../domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../domain/Recipient.html'>Recipient</a> recipient)</CODE>
+ <CODE><b><a href="#createContract(com.team4.s4b.domain.Bribe, com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)">createContract</a></b>(<a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a> bribe, <a href='../../../../com/team4/s4b/domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../../../../com/team4/s4b/domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../../../../com/team4/s4b/domain/Recipient.html'>Recipient</a> recipient)</CODE>
<BR>
<P>Method will create and persist a contract give a bribe and/or portfolio and benefactor and recipient.</P>
</TD>
@@ -175,10 +175,10 @@
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1" CLASS="ClassItemFont">
- <CODE><a href='../domain/Bribe.html'>Bribe</a></CODE></FONT>
+ <CODE><a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a></CODE></FONT>
</TD>
<TD>
- <CODE><b><a href="#shakeForBribe(com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)">shakeForBribe</a></b>(<a href='../domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../domain/Recipient.html'>Recipient</a> recipient)</CODE>
+ <CODE><b><a href="#shakeForBribe(com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)">shakeForBribe</a></b>(<a href='../../../../com/team4/s4b/domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../../../../com/team4/s4b/domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../../../../com/team4/s4b/domain/Recipient.html'>Recipient</a> recipient)</CODE>
<BR>
<P>Will return a random bribe from a portfolio taking probability and count into account.
</P>
@@ -190,7 +190,7 @@
<CODE>private&nbsp;void</CODE></FONT>
</TD>
<TD>
- <CODE><b><a href="#useBribe(com.team4.s4b.domain.Bribe)">useBribe</a></b>(<a href='../domain/Bribe.html'>Bribe</a> bribe)</CODE>
+ <CODE><b><a href="#useBribe(com.team4.s4b.domain.Bribe)">useBribe</a></b>(<a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a> bribe)</CODE>
<BR>
<P>Method that will decrement the availableCount and save the bribe</P>
</TD>
@@ -265,7 +265,7 @@
<A NAME="createContract(com.team4.s4b.domain.Bribe, com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)"><!-- --></A><H3>
createContract</H3>
- <PRE>private&nbsp;void <B>createContract</B>(<a href='../domain/Bribe.html'>Bribe</a> bribe, <a href='../domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../domain/Recipient.html'>Recipient</a> recipient)</PRE>
+ <PRE>private&nbsp;void <B>createContract</B>(<a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a> bribe, <a href='../../../../com/team4/s4b/domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../../../../com/team4/s4b/domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../../../../com/team4/s4b/domain/Recipient.html'>Recipient</a> recipient)</PRE>
<DL>
<DD> Method will create and persist a contract give a bribe and/or portfolio and benefactor and recipient.
<DL><DT><B>Parameters:</B></DT><DD><code>bribe</code> - Bribe to create contract against</DD><DD><code>bribePortfolio</code> - Portfolio to create contract against</DD><DD><code>benefactor</code> - Benefactor to create contract against</DD><DD><code>recipient</code> - Recipient to create contract against</DD></DL>
@@ -276,17 +276,17 @@
<A NAME="shakeForBribe(com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)"><!-- --></A><H3>
shakeForBribe</H3>
- <PRE><a href='../domain/Bribe.html'>Bribe</a> <B>shakeForBribe</B>(<a href='../domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../domain/Recipient.html'>Recipient</a> recipient)</PRE>
+ <PRE><a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a> <B>shakeForBribe</B>(<a href='../../../../com/team4/s4b/domain/BribePortfolio.html'>BribePortfolio</a> bribePortfolio, <a href='../../../../com/team4/s4b/domain/Benefactor.html'>Benefactor</a> benefactor, <a href='../../../../com/team4/s4b/domain/Recipient.html'>Recipient</a> recipient)</PRE>
<DL>
<DD> Will return a random bribe from a portfolio taking probability and count into account.
- <BR>
+ <BR><BR>
If the usage count is -1 (unlimited) or > 0, then each bribe will exist bribe.probability times in the list.
If two bribes with counts != 0 are in the portfolio one with [b1] bribe.probability=3 and the other one with
[b2] bribe.probability=1, the map will look like the following: [b1, b1, b1, b2].
- <BR>
+ <BR><BR>
A random number between 0 and the list.size() is selected and the list.get(random) bribe is returned.
This will also mark the bribe as used by calling useBribe(Bribe) to decrement the usage count (if not unlimited).
- <br>
+ <br><BR>
Will also create a contract for the shake for the given bribe, benefactor and recipient<DL><DT><B>throws:</B></DT><DD>BribeShakeException Exception that could occur if no bribes are in the portfolio</DD></DL>
<DL><DT><B>Parameters:</B></DT><DD><code>bribePortfolio</code> - A BribePortfolio on which to run the shake on</DD><DD><code>benefactor</code> - A Benefactor on which to create a contract for</DD><DD><code>recipient</code> - A Recipient on which to create a contract for</DD></DL><DL><DT><B>Returns:</B></DT><DD>A bribe from the portfolio</DD></DL>
</DD>
@@ -296,7 +296,7 @@
<A NAME="useBribe(com.team4.s4b.domain.Bribe)"><!-- --></A><H3>
useBribe</H3>
- <PRE>private&nbsp;void <B>useBribe</B>(<a href='../domain/Bribe.html'>Bribe</a> bribe)</PRE>
+ <PRE>private&nbsp;void <B>useBribe</B>(<a href='../../../../com/team4/s4b/domain/Bribe.html'>Bribe</a> bribe)</PRE>
<DL>
<DD> Method that will decrement the availableCount and save the bribe
<DL><DT><B>Parameters:</B></DT><DD><code>bribe</code> - Bribe to update adn persist</DD></DL>
View
BIN  web-app/docs/gapi/groovy.ico
Binary file not shown
View
38 web-app/docs/gapi/index-all.html
@@ -169,11 +169,11 @@
</dt><dd></dd>
<dt><a href="com/team4/s4b/domain/Recipient.html#belongsTo" title="Property in Recipient"><b>belongsTo</b></a> - Property in <a href="com/team4/s4b/domain/Recipient.html">Recipient</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/domain/Benefactor.html" title="Class in com.team4.s4b.domain"><b>Benefactor</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/Benefactor.html" title="Class in com.team4.s4b.domain"><b>Benefactor</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>A person who will be offering a bribe.</dd>
<dt><a href="com/team4/s4b/domain/Benefactor.html#Benefactor()" title="Constructor in Benefactor"><b>Benefactor</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/Benefactor.html">Benefactor</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/BenefactorController.html" title="Class in com.team4.s4b.controller"><b>BenefactorController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/BenefactorController.html" title="Class in com.team4.s4b.controller"><b>BenefactorController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/BenefactorController.html#BenefactorController()" title="Constructor in BenefactorController"><b>BenefactorController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/BenefactorController.html">BenefactorController</a>
</dt><dd></dd>
@@ -181,35 +181,35 @@
</dt><dd></dd>
<dt><a href="DefaultPackage/BootStrap.html#BootStrap()" title="Constructor in BootStrap"><b>BootStrap</b>()</b></a> - Constructor in <a href="DefaultPackage/BootStrap.html">BootStrap</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/domain/Bribe.html" title="Class in com.team4.s4b.domain"><b>Bribe</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/Bribe.html" title="Class in com.team4.s4b.domain"><b>Bribe</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>Class that represents a bribe to be given.</dd>
<dt><a href="com/team4/s4b/domain/Bribe.html#Bribe()" title="Constructor in Bribe"><b>Bribe</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/Bribe.html">Bribe</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/domain/BribeContract.html#bribe" title="Property in BribeContract"><b>bribe</b></a> - Property in <a href="com/team4/s4b/domain/BribeContract.html">BribeContract</a>
</dt><dd>The bribe associated with the contract. </dd>
-<dt><a href="com/team4/s4b/domain/BribeContract.html" title="Class in com.team4.s4b.domain"><b>BribeContract</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/BribeContract.html" title="Class in com.team4.s4b.domain"><b>BribeContract</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>Represents the relationship of the Opportunity and Bribe/BribePortfolio to a Benefactor and Recipient.</dd>
<dt><a href="com/team4/s4b/domain/BribeContract.html#BribeContract()" title="Constructor in BribeContract"><b>BribeContract</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/BribeContract.html">BribeContract</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/BribeContractController.html" title="Class in com.team4.s4b.controller"><b>BribeContractController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/BribeContractController.html" title="Class in com.team4.s4b.controller"><b>BribeContractController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/BribeContractController.html#BribeContractController()" title="Constructor in BribeContractController"><b>BribeContractController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/BribeContractController.html">BribeContractController</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/BribeController.html" title="Class in com.team4.s4b.controller"><b>BribeController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/BribeController.html" title="Class in com.team4.s4b.controller"><b>BribeController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/BribeController.html#BribeController()" title="Constructor in BribeController"><b>BribeController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/BribeController.html">BribeController</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/domain/BribePortfolio.html" title="Class in com.team4.s4b.domain"><b>BribePortfolio</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/BribePortfolio.html" title="Class in com.team4.s4b.domain"><b>BribePortfolio</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>Represents a collection of bribes that are grouped together into come context.</dd>
<dt><a href="com/team4/s4b/domain/BribeContract.html#bribePortfolio" title="Property in BribeContract"><b>bribePortfolio</b></a> - Property in <a href="com/team4/s4b/domain/BribeContract.html">BribeContract</a>
</dt><dd>The bribe portfolio linked to this contract as the bribe may be shaken for on a later date.</dd>
<dt><a href="com/team4/s4b/domain/BribePortfolio.html#BribePortfolio()" title="Constructor in BribePortfolio"><b>BribePortfolio</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/BribePortfolio.html">BribePortfolio</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/BribePortfolioController.html" title="Class in com.team4.s4b.controller"><b>BribePortfolioController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/BribePortfolioController.html" title="Class in com.team4.s4b.controller"><b>BribePortfolioController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/BribePortfolioController.html#BribePortfolioController()" title="Constructor in BribePortfolioController"><b>BribePortfolioController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/BribePortfolioController.html">BribePortfolioController</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/exception/BribeShakeException.html" title="Class in com.team4.s4b.exception"><b>BribeShakeException</b></a> - Class in <a href="com/team4/s4b/exception/package-summary.html">com.team4.s4b.exception</a>
+<dt><a href="com/team4/s4b/exception/BribeShakeException.html" title="Class in com.team4.s4b.exception"><b>BribeShakeException</b></a> - Class in <a href="./com/team4/s4b/exception/package-summary.html">com.team4.s4b.exception</a>
</dt><dd>Exception that represents something that went wrong with a shake</dd>
<dt><a href="com/team4/s4b/exception/BribeShakeException.html#BribeShakeException(java.lang.String)" title="Constructor in BribeShakeException"><b>BribeShakeException</b>(String)</b></a> - Constructor in <a href="com/team4/s4b/exception/BribeShakeException.html">BribeShakeException</a>
</dt><dd></dd>
@@ -263,11 +263,11 @@
<dl>
-<dt><a href="com/team4/s4b/controller/DataController.html" title="Class in com.team4.s4b.controller"><b>DataController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/DataController.html" title="Class in com.team4.s4b.controller"><b>DataController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd>Web controller to help manage testing data</dd>
<dt><a href="com/team4/s4b/controller/DataController.html#DataController()" title="Constructor in DataController"><b>DataController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/DataController.html">DataController</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/service/DataService.html" title="Class in com.team4.s4b.service"><b>DataService</b></a> - Class in <a href="com/team4/s4b/service/package-summary.html">com.team4.s4b.service</a>
+<dt><a href="com/team4/s4b/service/DataService.html" title="Class in com.team4.s4b.service"><b>DataService</b></a> - Class in <a href="./com/team4/s4b/service/package-summary.html">com.team4.s4b.service</a>
</dt><dd>Helper service to manage testing data</dd>
<dt><a href="DefaultPackage/BootStrap.html#dataService" title="Property in BootStrap"><b>dataService</b></a> - Property in <a href="DefaultPackage/BootStrap.html">BootStrap</a>
</dt><dd></dd>
@@ -384,7 +384,7 @@
@return</dd>
<dt><a href="DefaultPackage/BootStrap.html#init" title="Property in BootStrap"><b>init</b></a> - Property in <a href="DefaultPackage/BootStrap.html">BootStrap</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/ItemStatus.html" title="Enum in com.team4.s4b"><b>ItemStatus</b></a> - Enum in <a href="com/team4/s4b/package-summary.html">com.team4.s4b</a>
+<dt><a href="com/team4/s4b/ItemStatus.html" title="Enum in com.team4.s4b"><b>ItemStatus</b></a> - Enum in <a href="./com/team4/s4b/package-summary.html">com.team4.s4b</a>
</dt><dd>Represents the concrete status that an item can be in</dd>
<dt><a href="com/team4/s4b/ItemStatus.html#ItemStatus(int)" title="Constructor in ItemStatus"><b>ItemStatus</b>(int)</b></a> - Constructor in <a href="com/team4/s4b/ItemStatus.html">ItemStatus</a>
</dt><dd></dd>
@@ -474,13 +474,13 @@
<dl>
-<dt><a href="com/team4/s4b/domain/Opportunity.html" title="Class in com.team4.s4b.domain"><b>Opportunity</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/Opportunity.html" title="Class in com.team4.s4b.domain"><b>Opportunity</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>Represents the action that needs to be performed to receive a bribe.</dd>
<dt><a href="com/team4/s4b/domain/BribeContract.html#opportunity" title="Property in BribeContract"><b>opportunity</b></a> - Property in <a href="com/team4/s4b/domain/BribeContract.html">BribeContract</a>
</dt><dd>The opportunity linked to this contract.</dd>
<dt><a href="com/team4/s4b/domain/Opportunity.html#Opportunity()" title="Constructor in Opportunity"><b>Opportunity</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/Opportunity.html">Opportunity</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/OpportunityController.html" title="Class in com.team4.s4b.controller"><b>OpportunityController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/OpportunityController.html" title="Class in com.team4.s4b.controller"><b>OpportunityController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/OpportunityController.html#OpportunityController()" title="Constructor in OpportunityController"><b>OpportunityController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/OpportunityController.html">OpportunityController</a>
</dt><dd></dd>
@@ -525,17 +525,17 @@
<dl>
-<dt><a href="com/team4/s4b/domain/Recipient.html" title="Class in com.team4.s4b.domain"><b>Recipient</b></a> - Class in <a href="com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
+<dt><a href="com/team4/s4b/domain/Recipient.html" title="Class in com.team4.s4b.domain"><b>Recipient</b></a> - Class in <a href="./com/team4/s4b/domain/package-summary.html">com.team4.s4b.domain</a>
</dt><dd>A person who will be offered a bribe.</dd>
<dt><a href="com/team4/s4b/domain/Recipient.html#Recipient()" title="Constructor in Recipient"><b>Recipient</b>()</b></a> - Constructor in <a href="com/team4/s4b/domain/Recipient.html">Recipient</a>
</dt><dd></dd>
-<dt><a href="com/team4/s4b/controller/RecipientController.html" title="Class in com.team4.s4b.controller"><b>RecipientController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/RecipientController.html" title="Class in com.team4.s4b.controller"><b>RecipientController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/RecipientController.html#RecipientController()" title="Constructor in RecipientController"><b>RecipientController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/RecipientController.html">RecipientController</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/DataController.html#reset()" title="Method in DataController"><b>reset</b>()</b></a> - Method in <a href="com/team4/s4b/controller/DataController.html">DataController</a>
</dt><dd>Method to reset the data on the fly for testing the application</dd>
-<dt><a href="spring/resources.html" title="Class in spring"><b>resources</b></a> - Class in <a href="spring/package-summary.html">spring</a>
+<dt><a href="spring/resources.html" title="Class in spring"><b>resources</b></a> - Class in <a href="./spring/package-summary.html">spring</a>
</dt><dd></dd>
<dt><a href="spring/resources.html#resources()" title="Constructor in resources"><b>resources</b>()</b></a> - Constructor in <a href="spring/resources.html">resources</a>
</dt><dd></dd>
@@ -563,14 +563,14 @@
</dt><dd></dd>
<dt><a href="com/team4/s4b/controller/ShakeController.html#shake()" title="Method in ShakeController"><b>shake</b>()</b></a> - Method in <a href="com/team4/s4b/controller/ShakeController.html">ShakeController</a>
</dt><dd>Ajax method to invoke the shake service to perform the rolling and contract creation.</dd>
-<dt><a href="com/team4/s4b/controller/ShakeController.html" title="Class in com.team4.s4b.controller"><b>ShakeController</b></a> - Class in <a href="com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
+<dt><a href="com/team4/s4b/controller/ShakeController.html" title="Class in com.team4.s4b.controller"><b>ShakeController</b></a> - Class in <a href="./com/team4/s4b/controller/package-summary.html">com.team4.s4b.controller</a>
</dt><dd>Main web controller for doing shakes</dd>
<dt><a href="com/team4/s4b/controller/ShakeController.html#ShakeController()" title="Constructor in ShakeController"><b>ShakeController</b>()</b></a> - Constructor in <a href="com/team4/s4b/controller/ShakeController.html">ShakeController</a>
</dt><dd></dd>
<dt><a href="com/team4/s4b/service/ShakeService.html#shakeForBribe(com.team4.s4b.domain.BribePortfolio, com.team4.s4b.domain.Benefactor, com.team4.s4b.domain.Recipient)" title="Method in ShakeService"><b>shakeForBribe</b>(BribePortfolio, Benefactor, Recipient)</b></a> - Method in <a href="com/team4/s4b/service/ShakeService.html">ShakeService</a>
</dt><dd>Will return a random bribe from a portfolio taking probability and count into account.
</dd>
-<dt><a href="com/team4/s4b/service/ShakeService.html" title="Class in com.team4.s4b.service"><b>ShakeService</b></a> - Class in <a href="com/team4/s4b/service/package-summary.html">com.team4.s4b.service</a>
+<dt><a href="com/team4/s4b/service/ShakeService.html" title="Class in com.team4.s4b.service"><b>ShakeService</b></a> - Class in <a href="./com/team4/s4b/service/package-summary.html">com.team4.s4b.service</a>
</dt><dd>Transactional boundary service for doing shakes and creating contracts in one atomic action.</dd>
<dt><a href="com/team4/s4b/controller/ShakeController.html#shakeService" title="Property in ShakeController"><b>shakeService</b></a> - Property in <a href="com/team4/s4b/controller/ShakeController.html">ShakeController</a>
</dt><dd></dd>
View
BIN  web-app/docs/gapi/inherit.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  web-app/docs/gapi/spring/resources.html
@@ -6,7 +6,7 @@
<html>
<head>
-<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:04:05 CDT 2012 -->
+<!-- Generated by groovydoc (1.8.6) on Mon Apr 23 15:23:29 CDT 2012 -->
<title>resources (Groovy Documentation)</title>
<meta name="date" content="2012-04-23">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">

No commit comments for this range

Something went wrong with that request. Please try again.