How karvykapoor/auctionsystem works
Virtual Auction System is a Java console application for administering scheduled auctions and letting customers join, bid, and review outcomes. Its principal flow runs from Main into the interactive controller, through auction services, and to in-memory DAO storage; scheduled lifecycle actions and winner/invoice generation are also service responsibilities. The README documents file persistence, but the sampled service constructs in-memory DAOs and does not show FileStorage wired into runtime, so that capability is represented without an asserted connection. Unsampled product capabilities are retained where documented; links are limited to shown or documented relationships.
Main entry points: AuctionServiceImpl.java Auction service · AuctionController.java Console dashboards · AuctionService.java Service contract · Auction.java Auction state
Components 17
Console interaction
- Application entry
src/main/Main.java - Console dashboards
src/controller/AuctionController.java
Auction operations
- Auction service
src/service/impl/AuctionServiceImpl.java - Lifecycle scheduler
src/service/impl/AuctionServiceImpl.java - Service contract
src/service/AuctionService.java
Data and persistence
- Auction DAO
src/dao/impl/InMemoryAuctionDao.java - Customer DAO
src/dao/impl/InMemoryCustomerDao.java - File persistence utility
src/util/FileStorage.java
Auction domain
- Auction state
src/model/Auction.java - Auction products
src/model/Product.java - Customer records
src/model/Customer.java - Bids and history
src/model/Bid.java - Participation tokens
src/model/ParticipationToken.java - Winners and invoices
src/model/Winner.java - Bidder summaries
src/model/BidderSummary.java - Domain exceptions
src/exception
Other components
- Admin or customer
Connections 29
- Admin or customer → Application entry: starts
README.md - Application entry → Console dashboards: launches
src/main/Main.java - Admin or customer → Console dashboards: uses dashboards
README.md - Console dashboards → Auction service: invokes
src/controller/AuctionController.java - Console dashboards → Auction state: creates
src/controller/AuctionController.java - Console dashboards → Auction products: creates
src/controller/AuctionController.java - Console dashboards → Customer records: registers
src/controller/AuctionController.java - Console dashboards → Participation tokens: joins with
src/controller/AuctionController.java - Console dashboards → Bids and history: places
src/controller/AuctionController.java - Auction service → Auction DAO: reads and updates
src/service/impl/AuctionServiceImpl.java - Auction service → Customer DAO: reads and updates
src/service/impl/AuctionServiceImpl.java - Auction service → Lifecycle scheduler: schedules
src/service/impl/AuctionServiceImpl.java - Auction service → Auction state: manages
src/service/impl/AuctionServiceImpl.java - Auction service → Auction products: validates bids
src/service/impl/AuctionServiceImpl.java - Auction service → Bids and history: records
src/service/impl/AuctionServiceImpl.java - Auction service → Participation tokens: generates
src/service/impl/AuctionServiceImpl.java - Auction service → Winners and invoices: declares
src/service/impl/AuctionServiceImpl.java - Auction service → Bidder summaries: builds summaries
src/service/impl/AuctionServiceImpl.java - Auction service → Domain exceptions: signals failures
src/service/impl/AuctionServiceImpl.java - Service contract → Auction state: uses
src/service/AuctionService.java - Service contract → Auction products: uses
src/service/AuctionService.java - Service contract → Customer records: uses
src/service/AuctionService.java - Service contract → Bids and history: uses
src/service/AuctionService.java - Service contract → Participation tokens: uses
src/service/AuctionService.java - Service contract → Winners and invoices: returns
src/service/AuctionService.java - Auction DAO → Auction state: stores
src/dao/impl/InMemoryAuctionDao.java - Customer DAO → Customer records: stores
src/dao/impl/InMemoryCustomerDao.java - File persistence utility → Auction state: persists (documented)
README.md - File persistence utility → Customer records: persists (documented)
README.md