Skip to Main Content
Prefactoring
book

Prefactoring

by Ken Pugh
September 2005
Intermediate to advanced content levelIntermediate to advanced
240 pages
6h 28m
English
O'Reilly Media, Inc.
Content preview from Prefactoring

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(  )
    }
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Understanding Unittest.Mock

Understanding Unittest.Mock

Mario Corchero
Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 0596008740Supplemental ContentCatalog PageErrata