Videoautomat
A C D F G H I L M P Q R S T V

A

accept(LogEntry) - Method in class videoautomat.LogEntryFilterImpl
 
AdminLTFContentCreator - Class in videoautomat.contentcreator
Content creator to add button with stop action.
AdminLTFContentCreator() - Constructor for class videoautomat.contentcreator.AdminLTFContentCreator
 
AdminMFContentCreator - Class in videoautomat.contentcreator
Content creator to add quit action to the MsgForm ok button.
AdminMFContentCreator() - Constructor for class videoautomat.contentcreator.AdminMFContentCreator
 
AutomatUser - Class in videoautomat
This class implements the User of this application.
AutomatUser(String, char[], boolean) - Constructor for class videoautomat.AutomatUser
Constructs a new AutomatUser.

C

C_CURRENCY - Static variable in class videoautomat.VideoShop
Key of the currency -Catalog
C_VIDEOS - Static variable in class videoautomat.VideoShop
Key of the video -Catalog
CAPABILITY_ADMIN - Static variable in class videoautomat.AutomatUser
Key used to get the ActionCapability used to start a SaleProcessAdmin.
CAPTION_AUTOMAT - Static variable in class videoautomat.VideoShop
The Caption of the VideoAutomat
CC_VIDEOS - Static variable in class videoautomat.VideoShop
Key of the video -CountingStock
checkRentedVideos() - Static method in class videoautomat.VideoShop
Method to iterate over all rented videos and taking out those, which renting costs exceed the purchase price
CHG_MONEY_KEY - Static variable in class videoautomat.SaleProcessHandBack
 
CommitAction - Class in videoautomat.contentcreator.stdactions
Standart action to change next to commit gate.
CommitAction() - Constructor for class videoautomat.contentcreator.stdactions.CommitAction
 
commitAddStockItems(StockChangeEvent) - Method in class videoautomat.StockChangeLogger
Called whenever the adding of StockItems was commited.
commitRemoveStockItems(StockChangeEvent) - Method in class videoautomat.StockChangeLogger
Called whenever the removing of StockItems was commited.
ComparatorCurrency<T> - Class in videoautomat
Comparator used to compare NumberValues of CatalogItems and CountingStockTableModel.Records
ComparatorCurrency() - Constructor for class videoautomat.ComparatorCurrency
Constructs a new ComparatorCurrency
compare(T, T) - Method in class videoautomat.ComparatorCurrency
Compares CatalogItems or CountingStockTableModel.Records.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.AdminLTFContentCreator
Add button with stop action.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.AdminMFContentCreator
Adds quit action to the MsgForm ok button.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.HandBackSTFSContentCreator
Add label and commit action to given FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.HandBackTTFSContentCreator
Add GiveBack and Cancel Buttons to the FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.LogOnLOFContentCreator
Adds the needed actions to the LogOnForm buttons.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.LogOnMFContentCreator
Adds button to FormSheet that does the LogOnFailTransition
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.LogOnSTFSContentCreator
Generates the content and adds the four main buttons.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RegisterContentCreator
Method will be called from the FormSheet to which this ContentCreator is added.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentConfirmFSContentCreator
Creates additional content to the given FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentPayFSContentCreator
Changes the FormSheetContent of the gives FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentTTFSContentCreator
Adds buttons and actions
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.StartFSContentCreator
 
createShopMenuSheet() - Method in class videoautomat.VideoShop
 

D

DisplayMoneyStockError - Class in videoautomat
This class implements a JDisplayDialog informing the customer that he/she has to insert the correct amount of money.
DisplayMoneyStockError() - Constructor for class videoautomat.DisplayMoneyStockError
Constructs a new DisplayMoneyStockError and shows it.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.CommitAction
Changes to the commit gate.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.LogOutAction
Changes to the stop gate and detaches User.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.QuitAction
Changes to the quit gate.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.RollBackAction
Changes to the callback gate.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.RunProcessAction
Applies the action and start the given process.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.StopAction
Changes to the stop gate.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.TransitWithAction
Performes the given transition.

F

FB_LOGON - Static variable in class videoautomat.contentcreator.StartFSContentCreator
 
FB_REGISTER - Static variable in class videoautomat.contentcreator.StartFSContentCreator
 
FILENAME - Static variable in class videoautomat.VideoShop
The name of the global log file

G

getCellRenderer(int) - Method in class videoautomat.TEDVideoStock
 
getChangeGate() - Method in class videoautomat.SaleProcessHandBack
 
getColumnClass(int) - Method in class videoautomat.TEDVideoCassette
 
getColumnClass(int) - Method in class videoautomat.TEDVideoStock
 
getColumnCount() - Method in class videoautomat.TEDVideoCassette
 
getColumnCount() - Method in class videoautomat.TEDVideoStock
 
getColumnName(int) - Method in class videoautomat.TEDVideoCassette
 
getColumnName(int) - Method in class videoautomat.TEDVideoStock
 
getConfirmedPassword() - Method in class videoautomat.contentcreator.RegisterContentCreator
Returns the value of the confirmed password.
getConfirmGate() - Method in class videoautomat.SaleProcessRent
 
getCost() - Method in class videoautomat.VideoCassette
 
getCurrency() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getDays() - Method in class videoautomat.VideoCassette
 
getDefaultFormSheet() - Method in class videoautomat.VideoAutomat
 
getFaultGate() - Method in class videoautomat.SaleProcessLogOn
 
getInitialGate() - Method in class videoautomat.SaleProcessAdmin
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessHandBack
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessLogOn
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessRegister
Overridden from SalePrecess to initialize and start the process.
getInitialGate() - Method in class videoautomat.SaleProcessRent
Implementation of the inherited abstract method.
getLogData() - Method in class videoautomat.LoggableImpl
 
getLogDate() - Method in class videoautomat.LogEntryVideo
 
getMainGate() - Method in class videoautomat.SaleProcessLogOn
 
getMoneyBag() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getPassword() - Method in class videoautomat.contentcreator.RegisterContentCreator
Returns the value of the password.
getPayGate() - Method in class videoautomat.SaleProcessRent
 
getUserName() - Method in class videoautomat.contentcreator.RegisterContentCreator
Returns the value of the username.
getValueAt(Object, int) - Method in class videoautomat.TEDVideoCassette
 
getValueAt(Object, int) - Method in class videoautomat.TEDVideoStock
 
getVideoCatalog() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getVideoStock() - Method in class videoautomat.AutomatUser
 
getVideoStock() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.

H

HandBackCalculateSumTransition - Class in videoautomat.transition
a Transition that calculates the money the user get back, temporary re-adds the handed back videos to the VideoShops stock and change to the SaleProcessHandBack.getChangeGate().
HandBackCalculateSumTransition() - Constructor for class videoautomat.transition.HandBackCalculateSumTransition
 
HandBackSTFSContentCreator - Class in videoautomat.contentcreator
Content creator to add label with get back money and to add commit action.
HandBackSTFSContentCreator(NumberValue) - Constructor for class videoautomat.contentcreator.HandBackSTFSContentCreator
 
HandBackTTFSContentCreator - Class in videoautomat.contentcreator
Content creator to add the giveback and cancel buttons and there actions.
HandBackTTFSContentCreator() - Constructor for class videoautomat.contentcreator.HandBackTTFSContentCreator
 

I

initializeMoney() - Static method in class videoautomat.MainClass
Method to initial add some coins to the VideoShops MoneyBag.
initializeUsers() - Static method in class videoautomat.MainClass
Method to initial add some users to the global UserManager.
initializeVideos() - Static method in class videoautomat.MainClass
Method to initial add some videos to the VideoShops Stock.

L

LogEntryFilterImpl - Class in videoautomat
This class implements a LogEntryFilter to filter out LogEntryVideo
LogEntryFilterImpl() - Constructor for class videoautomat.LogEntryFilterImpl
 
LogEntryVideo - Class in videoautomat
This class implements a LogEntry that describes the rent or hand back of a video.
LogEntryVideo(String, String, boolean) - Constructor for class videoautomat.LogEntryVideo
Constructs a new LogEntryVideo by the given params and the current date.
LoggableImpl - Class in videoautomat
This class implements Loggable to achieve the logging of LogEntryVideo.
LoggableImpl(String, String, boolean) - Constructor for class videoautomat.LoggableImpl
Constructs a new LoggableImpl, that will log LogEntryVideos.
LogOnFailTransition - Class in videoautomat.transition
Transition that redirects to the process' initial gate.
LogOnFailTransition() - Constructor for class videoautomat.transition.LogOnFailTransition
 
LogOnLOFContentCreator - Class in videoautomat.contentcreator
Content Creator to add action to LogOnForm's buttons.
LogOnLOFContentCreator() - Constructor for class videoautomat.contentcreator.LogOnLOFContentCreator
 
LogOnMFContentCreator - Class in videoautomat.contentcreator
Content creator to add button with fail transition.
LogOnMFContentCreator() - Constructor for class videoautomat.contentcreator.LogOnMFContentCreator
 
LogOnSTFSContentCreator - Class in videoautomat.contentcreator
Content creator to add the four main buttons to the FormSheet
LogOnSTFSContentCreator(SaleProcessLogOn) - Constructor for class videoautomat.contentcreator.LogOnSTFSContentCreator
Constructor for referencing the User
LogOnTransition - Class in videoautomat.transition
a Transition that proves the selected name and password and with success leads to the SaleProcessLogOn.getMainGate(), otherwise it returns the SaleProcessLogOn.getFaultGate().
LogOnTransition(LogOnForm) - Constructor for class videoautomat.transition.LogOnTransition
Constructor for referencing the LogOnForm
LogOutAction - Class in videoautomat.contentcreator.stdactions
Standard action to change to stop gate and detach user.
LogOutAction() - Constructor for class videoautomat.contentcreator.stdactions.LogOutAction
 

M

main(String[]) - Static method in class videoautomat.MainClass
The main void of the application, starts up the automat.
MainClass - Class in videoautomat
This class implements the start up of the whole application, it contains also the main void of this app.
MainClass() - Constructor for class videoautomat.MainClass
 
MB_MONEY - Static variable in class videoautomat.VideoShop
Key of the MoneyBag
MB_TEMP_KEY - Static variable in class videoautomat.SaleProcessHandBack
 
MB_TEMP_KEY - Static variable in class videoautomat.SaleProcessRent
Key to the temp money bag for the porcess data of the process context
MS_NEW - Static variable in class videoautomat.VideoShop
Label for the menusheet that contains self-defined items
MSG_ACCESS - Static variable in class videoautomat.VideoShop
Label for the admin- ActionCapability, if it`s not granted.
MSI_AUTOMAT - Static variable in class videoautomat.VideoShop
Label for the button to start the automat
MSI_DAY - Static variable in class videoautomat.VideoShop
Label for the time setter button

P

perform(SaleProcess, User) - Method in class videoautomat.transition.HandBackCalculateSumTransition
Gate that performes the handback actions.
perform(SaleProcess, User) - Method in class videoautomat.transition.LogOnFailTransition
Redirects to the initial gate of the current process.
perform(SaleProcess, User) - Method in class videoautomat.transition.LogOnTransition
Proves the user and its password.
perform(SaleProcess, User) - Method in class videoautomat.transition.RegisterOKTransition
Implemeneted from the Transition-Interface to perform the registration
perform(SaleProcess, User) - Method in class videoautomat.transition.RentPayConfirmTransition
Performes the transition.
perform(SaleProcess, User) - Method in class videoautomat.transition.RentPayRollbackTransition
Performes the transition.
perform(SaleProcess, User) - Method in class videoautomat.transition.RentSumUpTransition
Performes the transition.

Q

quit() - Method in class videoautomat.VideoShop
Overidden to avoid the annoying save-query, when quiting the application.
QuitAction - Class in videoautomat.contentcreator.stdactions
Standard action to change to quit gate.
QuitAction() - Constructor for class videoautomat.contentcreator.stdactions.QuitAction
 

R

RegisterContentCreator - Class in videoautomat.contentcreator
Content creator of the register process.
RegisterContentCreator(String) - Constructor for class videoautomat.contentcreator.RegisterContentCreator
Creates a new content creator with an initial message
RegisterOKTransition - Class in videoautomat.transition
Transition to register a new users.User.
RegisterOKTransition(RegisterContentCreator) - Constructor for class videoautomat.transition.RegisterOKTransition
Construts a new RegisterOKTransition with the given ContentCreator from wich the Transition is called.
RENT_VALUE_DAY - Static variable in class videoautomat.MainClass
Represents the cost per day for renting a video.
RentConfirmFSContentCreator - Class in videoautomat.contentcreator
ContentCreator which changes the existing FormSheet to an addidtional table with the change money and some additional labels
RentConfirmFSContentCreator(SaleProcessRent, UIGate) - Constructor for class videoautomat.contentcreator.RentConfirmFSContentCreator
Constructs a new RentConfirmFSContentCreator.
RentPayConfirmTransition - Class in videoautomat.transition
Transition that temporary adds the selected videos to the AutomatUser.getVideoStock(), the inserted money to the VideoShop.getVideoStock() and from there transacts the change money
RentPayConfirmTransition() - Constructor for class videoautomat.transition.RentPayConfirmTransition
 
RentPayFSContentCreator - Class in videoautomat.contentcreator
Changes the FormSheet layout and adds some labels and a listener to change the pay button state.
RentPayFSContentCreator(SaleProcessRent) - Constructor for class videoautomat.contentcreator.RentPayFSContentCreator
Creates the content creator.
RentPayRollbackTransition - Class in videoautomat.transition
Transition that rollback the money-transactions and leads back to the SaleProcessRent.getInitialGate()
RentPayRollbackTransition() - Constructor for class videoautomat.transition.RentPayRollbackTransition
 
RentSumUpTransition - Class in videoautomat.transition
Transition that sums up the prices of the selected videos and leads to the SaleProcessRent.getPayGate(), if no video is selected it leads to the SaleProcessRent.getInitialGate()
RentSumUpTransition() - Constructor for class videoautomat.transition.RentSumUpTransition
 
RentTTFSContentCreator - Class in videoautomat.contentcreator
Content creator which adds rent, cancel button and there actions to the given formsheet
RentTTFSContentCreator() - Constructor for class videoautomat.contentcreator.RentTTFSContentCreator
 
restart() - Method in class videoautomat.SaleProcessHandBack
 
restart() - Method in class videoautomat.SaleProcessLogOn
 
restart() - Method in class videoautomat.SaleProcessRent
 
RollBackAction - Class in videoautomat.contentcreator.stdactions
Standart action to change next to rollback gate.
RollBackAction() - Constructor for class videoautomat.contentcreator.stdactions.RollBackAction
 
RunProcessAction - Class in videoautomat.contentcreator.stdactions
Standart action to start an sale.SaleProcess.
RunProcessAction(SaleProcess) - Constructor for class videoautomat.contentcreator.stdactions.RunProcessAction
Constructs a new action to start the process.
RunProcessAction(SaleProcess, DataBasket) - Constructor for class videoautomat.contentcreator.stdactions.RunProcessAction
Constructs a new action to start the process.

S

SaleProcessAdmin - Class in videoautomat
This class implements a SaleProcess for the administrative work.
SaleProcessAdmin() - Constructor for class videoautomat.SaleProcessAdmin
Constructs a new SaleProcessAdmin.
SaleProcessHandBack - Class in videoautomat
This class implements a SaleProcess to hand back the videos.
SaleProcessHandBack() - Constructor for class videoautomat.SaleProcessHandBack
Constructs a new SaleProcessHandBack
SaleProcessLogOn - Class in videoautomat
This class implements a SaleProcess used to log on and choose which activity should follow.
SaleProcessLogOn() - Constructor for class videoautomat.SaleProcessLogOn
Constructs a new SaleProcessLogOn
SaleProcessRegister - Class in videoautomat
A sales.salesProcess to register new users.
SaleProcessRegister() - Constructor for class videoautomat.SaleProcessRegister
Constructs the new process
SaleProcessRent - Class in videoautomat
This class implements a SaleProcess used to rent videos.
SaleProcessRent() - Constructor for class videoautomat.SaleProcessRent
Constructs a new SaleProcessRent
setErrorMessage(String) - Method in class videoautomat.contentcreator.RegisterContentCreator
Sets the error message to this formsheet.
setPayValue(String) - Method in class videoautomat.contentcreator.RentPayFSContentCreator
 
setUserName(String) - Method in class videoautomat.contentcreator.RegisterContentCreator
Sets the value of the username
SS_TEMP_KEY - Static variable in class videoautomat.SaleProcessHandBack
 
StartFSContentCreator - Class in videoautomat.contentcreator
Content creator of the register process.
StartFSContentCreator() - Constructor for class videoautomat.contentcreator.StartFSContentCreator
 
StockChangeLogger - Class in videoautomat
This class implements a StockChangeListener, which reacts to changes on AutomatUser.getVideoStock().
StockChangeLogger(String) - Constructor for class videoautomat.StockChangeLogger
Constructs a new StockChangeLogger
StopAction - Class in videoautomat.contentcreator.stdactions
Standard action to change to stop gate.
StopAction() - Constructor for class videoautomat.contentcreator.stdactions.StopAction
 
SUB_SHOP_MONEY - Static variable in class videoautomat.SaleProcessRent
 
SUB_SHOP_VIDEO - Static variable in class videoautomat.SaleProcessRent
 
SUB_TMP_MONEY - Static variable in class videoautomat.SaleProcessRent
 
SUB_USER_VIDEO - Static variable in class videoautomat.SaleProcessRent
 
SUM_KEY - Static variable in class videoautomat.SaleProcessRent
 

T

TEDVideoCassette - Class in videoautomat
This class implements a TableEntryDescriptor used to display rented VideoCassettes
TEDVideoCassette() - Constructor for class videoautomat.TEDVideoCassette
 
TEDVideoStock - Class in videoautomat
This class implements a TableEntryDescriptor used to display the VideoShop.getVideoStock()
TEDVideoStock() - Constructor for class videoautomat.TEDVideoStock
 
toString() - Method in class videoautomat.LogEntryVideo
 
TransitWithAction - Class in videoautomat.contentcreator.stdactions
Standart action to perform the given transition
TransitWithAction(Transition) - Constructor for class videoautomat.contentcreator.stdactions.TransitWithAction
Constructs an new action.

V

videoautomat - package videoautomat
 
VideoAutomat - Class in videoautomat
This class is an implementation of a SalesPoint, at which all the user activities take place.
VideoAutomat() - Constructor for class videoautomat.VideoAutomat
The Constructor of VideoAutomat
videoautomat.contentcreator - package videoautomat.contentcreator
 
videoautomat.contentcreator.stdactions - package videoautomat.contentcreator.stdactions
 
videoautomat.transition - package videoautomat.transition
 
VideoCassette - Class in videoautomat
This class implements a StockItem, representing a rented video, including the Date when it was rented
VideoCassette(String) - Constructor for class videoautomat.VideoCassette
Constructs a new VideoCassette with the given name and the current time as renting time
VideoShop - Class in videoautomat
This is the central class for this application - the Shop.
VideoShop() - Constructor for class videoautomat.VideoShop
Constructs a new VideoShop and set it as Shop#setTheShop().

A C D F G H I L M P Q R S T V
Videoautomat