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 videoautomat.contentcreator.AdminLTFContentCreator.
Content creator to add button with stop action.
AdminLTFContentCreator() - Constructor for class videoautomat.contentcreator.AdminLTFContentCreator
 
AdminMFContentCreator - class videoautomat.contentcreator.AdminMFContentCreator.
Content creator to add quit action to the MsgForm ok button.
AdminMFContentCreator() - Constructor for class videoautomat.contentcreator.AdminMFContentCreator
 
AutomatUser - class videoautomat.AutomatUser.
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 videoautomat.contentcreator.stdactions.CommitAction.
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 - class videoautomat.ComparatorCurrency.
Comparator used to compare NumberValues of CatalogItems and CountingStockTableModel.Records
ComparatorCurrency() - Constructor for class videoautomat.ComparatorCurrency
Constructs a new ComparatorCurrency
compare(Object, Object) - Method in class videoautomat.ComparatorCurrency
Compares CatalogItemes or CountingStockTableModel.Records.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.StartFSContentCreator
 
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentTTFSContentCreator
Adds buttons and actions
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentPayFSContentCreator
Changes the FormSheetContent of the gives FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.RentConfirmFSContentCreator
Creates additional content to the given FormSheet.
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.LogOnSTFSContentCreator
Generates the content and adds the four main buttons.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.LogOnMFContentCreator
Adds button to FormSheet that does the LogOnFailTransition
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.LogOnLOFContentCreator
Adds the needed actions to the LogOnForm buttons.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.HandBackTTFSContentCreator
Add GiveBack and Cancel Buttons to the FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.HandBackSTFSContentCreator
Add label and commit action to given FormSheet.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.AdminMFContentCreator
Adds quit action to the MsgForm ok button.
createFormSheetContent(FormSheet) - Method in class videoautomat.contentcreator.AdminLTFContentCreator
Add button with stop action.
createShopMenuSheet() - Method in class videoautomat.VideoShop
 

D

DisplayMoneyStockError - class videoautomat.DisplayMoneyStockError.
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.TransitWithAction
Performes the given transition.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.StopAction
Changes to the stop 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.RollBackAction
Changes to the callback gate.
doAction(SaleProcess, SalesPoint) - Method in class videoautomat.contentcreator.stdactions.QuitAction
Changes to the quit 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.CommitAction
Changes to the commit gate.

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.TEDVideoStock
 
getColumnClass(int) - Method in class videoautomat.TEDVideoCassette
 
getColumnCount() - Method in class videoautomat.TEDVideoStock
 
getColumnCount() - Method in class videoautomat.TEDVideoCassette
 
getColumnName(int) - Method in class videoautomat.TEDVideoStock
 
getColumnName(int) - Method in class videoautomat.TEDVideoCassette
 
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.SaleProcessRent
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.SaleProcessLogOn
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessHandBack
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessAdmin
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.TEDVideoStock
 
getValueAt(Object, int) - Method in class videoautomat.TEDVideoCassette
 
getVideoCatalog() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getVideoStock() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getVideoStock() - Method in class videoautomat.AutomatUser
 

H

HandBackCalculateSumTransition - class videoautomat.transition.HandBackCalculateSumTransition.
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 videoautomat.contentcreator.HandBackSTFSContentCreator.
Content creator to add label with get back money and to add commit action.
HandBackSTFSContentCreator(NumberValue) - Constructor for class videoautomat.contentcreator.HandBackSTFSContentCreator
 
HandBackTTFSContentCreator - class videoautomat.contentcreator.HandBackTTFSContentCreator.
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 videoautomat.LogEntryFilterImpl.
This class implements a LogEntryFilter to filter out LogEntryVideo
LogEntryFilterImpl() - Constructor for class videoautomat.LogEntryFilterImpl
 
LogEntryVideo - class videoautomat.LogEntryVideo.
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 videoautomat.LoggableImpl.
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 videoautomat.transition.LogOnFailTransition.
Transition that redirects to the process' initial gate.
LogOnFailTransition() - Constructor for class videoautomat.transition.LogOnFailTransition
 
LogOnLOFContentCreator - class videoautomat.contentcreator.LogOnLOFContentCreator.
Content Creator to add action to LogOnForm's buttons.
LogOnLOFContentCreator() - Constructor for class videoautomat.contentcreator.LogOnLOFContentCreator
 
LogOnMFContentCreator - class videoautomat.contentcreator.LogOnMFContentCreator.
Content creator to add button with fail transition.
LogOnMFContentCreator() - Constructor for class videoautomat.contentcreator.LogOnMFContentCreator
 
LogOnSTFSContentCreator - class videoautomat.contentcreator.LogOnSTFSContentCreator.
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 videoautomat.transition.LogOnTransition.
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 videoautomat.contentcreator.stdactions.LogOutAction.
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 videoautomat.MainClass.
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.SaleProcessRent
Key to the temp money bag for the porcess data of the process context
MB_TEMP_KEY - Static variable in class videoautomat.SaleProcessHandBack
 
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.RentSumUpTransition
Performes the transition.
perform(SaleProcess, User) - Method in class videoautomat.transition.RentPayRollbackTransition
Performes the transition.
perform(SaleProcess, User) - Method in class videoautomat.transition.RentPayConfirmTransition
Performes the transition.
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.LogOnTransition
Proves the user and its password.
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.HandBackCalculateSumTransition
Gate that performes the handback actions.

Q

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

R

RegisterContentCreator - class videoautomat.contentcreator.RegisterContentCreator.
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 videoautomat.transition.RegisterOKTransition.
Transition to register a new 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 videoautomat.contentcreator.RentConfirmFSContentCreator.
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 videoautomat.transition.RentPayConfirmTransition.
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 videoautomat.contentcreator.RentPayFSContentCreator.
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 videoautomat.transition.RentPayRollbackTransition.
Transition that rollback the money-transactions and leads back to the SaleProcessRent.getInitialGate()
RentPayRollbackTransition() - Constructor for class videoautomat.transition.RentPayRollbackTransition
 
RentSumUpTransition - class videoautomat.transition.RentSumUpTransition.
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 videoautomat.contentcreator.RentTTFSContentCreator.
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.SaleProcessRent
 
restart() - Method in class videoautomat.SaleProcessLogOn
 
restart() - Method in class videoautomat.SaleProcessHandBack
 
RollBackAction - class videoautomat.contentcreator.stdactions.RollBackAction.
Standart action to change next to rollback gate.
RollBackAction() - Constructor for class videoautomat.contentcreator.stdactions.RollBackAction
 
RunProcessAction - class videoautomat.contentcreator.stdactions.RunProcessAction.
Standart action to start an 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 videoautomat.SaleProcessAdmin.
This class implements a SaleProcess for the administrative work.
SaleProcessAdmin() - Constructor for class videoautomat.SaleProcessAdmin
Constructs a new SaleProcessAdmin.
SaleProcessHandBack - class videoautomat.SaleProcessHandBack.
This class implements a SaleProcess to hand back the videos.
SaleProcessHandBack() - Constructor for class videoautomat.SaleProcessHandBack
Constructs a new SaleProcessHandBack
SaleProcessLogOn - class videoautomat.SaleProcessLogOn.
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 videoautomat.SaleProcessRegister.
A sales.salesProcess to register new users.
SaleProcessRegister() - Constructor for class videoautomat.SaleProcessRegister
Constructs the new process
SaleProcessRent - class videoautomat.SaleProcessRent.
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 videoautomat.contentcreator.StartFSContentCreator.
Content creator of the register process.
StartFSContentCreator() - Constructor for class videoautomat.contentcreator.StartFSContentCreator
 
StockChangeLogger - class videoautomat.StockChangeLogger.
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 videoautomat.contentcreator.stdactions.StopAction.
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 videoautomat.TEDVideoCassette.
This class implements a TableEntryDescriptor used to display rented VideoCassettes
TEDVideoCassette() - Constructor for class videoautomat.TEDVideoCassette
 
TEDVideoStock - class videoautomat.TEDVideoStock.
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 videoautomat.contentcreator.stdactions.TransitWithAction.
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 videoautomat.VideoAutomat.
This class is an implementation of a SalesPoint, at which all the user activities take place.
videoautomat.contentcreator - package videoautomat.contentcreator
 
videoautomat.contentcreator.stdactions - package videoautomat.contentcreator.stdactions
 
videoautomat.transition - package videoautomat.transition
 
VideoAutomat() - Constructor for class videoautomat.VideoAutomat
The Constructor of VideoAutomat
VideoCassette - class videoautomat.VideoCassette.
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 videoautomat.VideoShop.
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