This commit is contained in:
Giulio De Pasquale 2017-01-11 16:44:13 +01:00
parent 8103a84ca5
commit fe7b987cbf

View File

@ -7108,10 +7108,14 @@ The user data are correctly inserted in the database.
Events Handler
\end_layout
\begin_layout Paragraph
Notification Manager
\end_layout
\begin_layout Standard
Main functions implemented by the
\series bold
Events Handler
Notification Manager
\series default
:
\begin_inset VSpace smallskip
@ -7133,7 +7137,158 @@ Main functions implemented by the
\begin_layout Plain Layout
\family typewriter
register
notify(User, Notification)
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features tabularvalignment="middle">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top" width="44col%">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series bold
Description
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
This is a cool description
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="1pt">
<cell alignment="left" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Input
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Effect
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A null parameter
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A NullArgumentException is raised.
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A non-null user
\end_layout
\end_inset
</cell>
<cell mroffset="0.5pt" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
The user data are correctly inserted in the database.
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Paragraph
Payment Manager
\end_layout
\begin_layout Standard
Main functions implemented by the
\series bold
Payment Manager
\series default
:
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="1">
<features tabularvalignment="middle" tabularwidth="50page%">
<column alignment="center" valignment="top" width="0pt">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family typewriter
calculateReservationFees(Reservation)
\end_layout
\end_inset
@ -7272,7 +7427,424 @@ The user data are correctly inserted in the database.
\begin_layout Plain Layout
\family typewriter
register
calculateRentFees(Rent)
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features tabularvalignment="middle">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top" width="44col%">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series bold
Description
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
This is a cool description
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="1pt">
<cell alignment="left" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Input
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Effect
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A null parameter
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A NullArgumentException is raised.
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A non-null user
\end_layout
\end_inset
</cell>
<cell mroffset="0.5pt" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
The user data are correctly inserted in the database.
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="1">
<features tabularvalignment="middle" tabularwidth="50page%">
<column alignment="center" valignment="top" width="0pt">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family typewriter
calculateRentDiscount(Rent)
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features tabularvalignment="middle">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top" width="44col%">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series bold
Description
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
This is a cool description
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="1pt">
<cell alignment="left" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Input
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Effect
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A null parameter
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A NullArgumentException is raised.
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A non-null user
\end_layout
\end_inset
</cell>
<cell mroffset="0.5pt" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
The user data are correctly inserted in the database.
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="1">
<features tabularvalignment="middle" tabularwidth="50page%">
<column alignment="center" valignment="top" width="0pt">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family typewriter
calculateAdditionalFee(Rent)
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
<features tabularvalignment="middle">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top" width="44col%">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series bold
Description
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
This is a cool description
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="1pt">
<cell alignment="left" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Input
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\shape slanted
Effect
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A null parameter
\end_layout
\end_inset
</cell>
<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A NullArgumentException is raised.
\end_layout
\end_inset
</cell>
</row>
<row topspace="1pt" bottomspace="2pt">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
A non-null user
\end_layout
\end_inset
</cell>
<cell mroffset="0.5pt" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
The user data are correctly inserted in the database.
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Standard
\begin_inset VSpace smallskip
\end_inset
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="1">
<features tabularvalignment="middle" tabularwidth="50page%">
<column alignment="center" valignment="top" width="0pt">
<row topspace="1pt" bottomspace="1pt">
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\family typewriter
contactPaymentService()
\end_layout
\end_inset