B.2. com.samscdrental.controller Package

This package contains the three operation classes.

B.2.1. MaintenanceOperations.java

public class MaintenanceOperations
    {
    static public MaintenanceOperations getInstance(  )
    public void collectionsInitialize(
        String customerFilename, String cdDiscFilename,
        String cdReleaseFilename ) throws ImportFormatDeviation,
        ImportFileDeviation
    }

B.2.2. RentalOperations.java

public class RentalOperations
    {
    static public RentalOperations getInstance(  )
    public void checkinCDDisc( PhysicalID aPhysicalID ) throws CheckInDeviation,
        LateReturnDeviation
    public boolean isCDDiscRented( PhysicalID aPhysicalID ) throws
        StatusDeviation
    public RentalContractDTO checkoutCDDisc( PhysicalID aPhysicalID,
         CustomerID aCustomerID ) throws
        CheckOutDeviation
    public void dispose(  )
    }

B.2.3. ReportOperations.java

public class ReportOperations
    {
    static public ReportOperations getInstance(  )
    public CDDiscInventoryReportPlainTextFormat
        makeCDDiscInventoryReportPlainTextFormat(  )
    public CDDiscInventoryDTO makeCDDiscInventoryDTO(  )
    }

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.