A B C D E F G H I L M N O P R S T U V W

P

payButton - Variable in class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
Button for Pay for Items action
payForRental(String) - Method in class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
This method accepts a credit/debit card number to charge for the rented products.
payItems(DVDVendor, String) - Method in class edu.uci.ics.inf111.dvdvendor.gui.Actions
Method that collects the payment for all the products in the cart
paymentCollector - Variable in class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
An object representing the credit card or debit card accepting device.
PaymentCollector - Class in edu.uci.ics.inf111.dvdvendor.devices
This class represents the payment-collecting portion of the system: the credit-card or debit-card reader of the system.
PaymentCollector() - Constructor for class edu.uci.ics.inf111.dvdvendor.devices.PaymentCollector
Constructor for PaymentCollector
PaymentCollectorException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
An exception which is thrown when there is a problem with the payment interface, which in this case is represented by the PaymentCollector class.
PaymentCollectorException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PaymentCollectorException
 
PaymentCollectorException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PaymentCollectorException
 
PaymentCollectorException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PaymentCollectorException
 
PaymentCollectorException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PaymentCollectorException
 
PayWhileDispensingException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to pay once the system is ready to dispense the products.
PayWhileDispensingException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWhileDispensingException
 
PayWhileDispensingException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWhileDispensingException
 
PayWhileDispensingException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWhileDispensingException
 
PayWhileDispensingException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWhileDispensingException
 
PayWithNoItemsException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to pay and there are no items added to its CheckOutCart.
PayWithNoItemsException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWithNoItemsException
 
PayWithNoItemsException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWithNoItemsException
 
PayWithNoItemsException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWithNoItemsException
 
PayWithNoItemsException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PayWithNoItemsException
 
persistance - Variable in class edu.uci.ics.inf111.dvdvendor.lib.PersistenceTest
 
persistence - Variable in class edu.uci.ics.inf111.dvdvendor.app.TransactionDB
Persistence object that will help persist the database information in a file
persistence - Variable in class edu.uci.ics.inf111.dvdvendor.devices.Printer
Persistence object that will help to persist the information in the Printer.
Persistence - Class in edu.uci.ics.inf111.dvdvendor.lib
The Persistence class represents the interface to physically store information in a persistent way.
Persistence(String) - Constructor for class edu.uci.ics.inf111.dvdvendor.lib.Persistence
This constructor creates a persistance whose output will be shown in a file.
PersistenceException - Exception in edu.uci.ics.inf111.dvdvendor.lib
An exception which is thrown when the Persistence device fails because the file path is not valid, the data to print is null or contain nulls, or there was an error writing on the output file.
PersistenceException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.lib.PersistenceException
 
PersistenceException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.lib.PersistenceException
 
PersistenceException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.lib.PersistenceException
 
PersistenceException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.lib.PersistenceException
 
PersistenceTest - Class in edu.uci.ics.inf111.dvdvendor.lib
 
PersistenceTest(String) - Constructor for class edu.uci.ics.inf111.dvdvendor.lib.PersistenceTest
 
persistTransaction(Transaction) - Method in class edu.uci.ics.inf111.dvdvendor.app.TransactionDB
This method is called to persist a Transaction in the Transaction file.
plot - Variable in class edu.uci.ics.inf111.dvdvendor.app.DVD
The plot for this DVD.
price - Variable in class edu.uci.ics.inf111.dvdvendor.app.DVD
The price for this DVD.
print(ArrayList<String>) - Method in class edu.uci.ics.inf111.dvdvendor.devices.Printer
Prints the arrayList of Strings passed as parameter on the screen or file, depending on the constructor used to create the printer object.
printDB(Hashtable<String, Product>) - Static method in class edu.uci.ics.inf111.dvdvendor.app.Utils
A utility method which prints the contents of the ProductDB to System.out
Printer - Class in edu.uci.ics.inf111.dvdvendor.devices
This class represents the printer of the system.
Printer() - Constructor for class edu.uci.ics.inf111.dvdvendor.devices.Printer
This constructor creates a printer whose output will be shown in the console screen.
Printer(String) - Constructor for class edu.uci.ics.inf111.dvdvendor.devices.Printer
This constructor creates a printer whose output will be shown in a file.
PrinterException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
An exception which is thrown when the Printer device fails because the file path is not valid, the data to print is null or contain nulls, or there was an error writing on the output file.
PrinterException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PrinterException
 
PrinterException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PrinterException
 
PrinterException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PrinterException
 
PrinterException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.PrinterException
 
printShoppingCart(Enumeration<Product>) - Method in class edu.uci.ics.inf111.dvdvendor.gui.Actions
Method that prints the contents of the shopping cart This method is called internally for the GUI class and does not correspond to any external GUI action
Product - Interface in edu.uci.ics.inf111.dvdvendor.app
The Product interface is implemented by any class which represents a rentable product in our point of sale.
ProductAlreadyInCheckOutCartException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to add a product that is already in the CheckOutCart.
ProductAlreadyInCheckOutCartException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyInCheckOutCartException
 
ProductAlreadyInCheckOutCartException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyInCheckOutCartException
 
ProductAlreadyInCheckOutCartException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyInCheckOutCartException
 
ProductAlreadyInCheckOutCartException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyInCheckOutCartException
 
ProductAlreadyRentedException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to rent a product that is already rented.
ProductAlreadyRentedException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyRentedException
 
ProductAlreadyRentedException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyRentedException
 
ProductAlreadyRentedException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyRentedException
 
ProductAlreadyRentedException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductAlreadyRentedException
 
productDB - Variable in class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
The database of products in the point of sale.
ProductDB - Class in edu.uci.ics.inf111.dvdvendor.app
The ProductDB class encapsulates the list of all products sold in the store.
ProductDB() - Constructor for class edu.uci.ics.inf111.dvdvendor.app.ProductDB
Constructs an empty database.
ProductDBException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
An exception which is thrown when the database of Products fails
ProductDBException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductDBException
 
ProductDBException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductDBException
 
ProductDBException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductDBException
 
ProductDBException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductDBException
 
ProductNotRentedException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to return a product that has not been rented.
ProductNotRentedException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductNotRentedException
 
ProductNotRentedException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductNotRentedException
 
ProductNotRentedException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductNotRentedException
 
ProductNotRentedException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.ProductNotRentedException
 
productsHT - Variable in class edu.uci.ics.inf111.dvdvendor.app.ProductDB
This Hashtable is the core of our sample DB.
productsRentComboBox - Variable in class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
ComboBox for Products to Rent
productsReturnComboBox - Variable in class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
ComboBox for Products to Return

A B C D E F G H I L M N O P R S T U V W