Interface AvailabilityCalculator
-
- All Known Implementing Classes:
AvailabilityCalculatorImpl
public interface AvailabilityCalculator
AvailabilityCalculator interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
calculate()
calculateString
getAuthor()
getAuthorString
getBaseDir()
getBaseDirString
getCategoryName()
getCategoryNameString
getLogoURL()
getLogoURLString
getMonthFormat()
getMonthFormatString
getOutputFileName()
getOutputFileNameDate
getPeriodEndDate()
getPeriodEndDateReport
getReport()
getReportString
getReportFormat()
getReportFormatvoid
marshal(File outputFile)
marshalvoid
setAuthor(String author)
setAuthorvoid
setAvailabilityData(AvailabilityData availabilityData)
setAvailabilityDatavoid
setBaseDir(String baseDir)
setBaseDirvoid
setCategoryName(String categoryName)
setCategoryNamevoid
setLogoURL(String logoURL)
setLogoURLvoid
setMonthFormat(String monthFormat)
setMonthFormatvoid
setOutputFileName(String outputFileName)
setOutputFileNamevoid
setPeriodEndDate(Date periodEndDate)
setPeriodEndDatevoid
setReportFormat(String reportFormat)
setReportFormatvoid
setReportStoreService(ReportStoreService reportStoreService)
setReportStoreServiceString
writeLocateableXML(String id)
writeLocateableXMLString
writeXML()
writeXMLvoid
writeXML(OutputStream outputStream)
writeXMLvoid
writeXML(String outputFileName)
writeXML
-
-
-
Method Detail
-
calculate
void calculate() throws AvailabilityCalculationException
calculate
- Throws:
AvailabilityCalculationException
- if any.
-
writeXML
String writeXML() throws AvailabilityCalculationException
writeXML
- Returns:
- a
String
object. - Throws:
AvailabilityCalculationException
- if any.
-
writeXML
void writeXML(String outputFileName) throws AvailabilityCalculationException
writeXML
- Parameters:
outputFileName
- aString
object.- Throws:
AvailabilityCalculationException
- if any.
-
writeXML
void writeXML(OutputStream outputStream) throws AvailabilityCalculationException
writeXML
- Parameters:
outputStream
- aOutputStream
object.- Throws:
AvailabilityCalculationException
- if any.
-
writeLocateableXML
String writeLocateableXML(String id) throws AvailabilityCalculationException
writeLocateableXML
- Parameters:
id
- aString
object.- Returns:
- a
String
object. - Throws:
AvailabilityCalculationException
- if any.
-
marshal
void marshal(File outputFile) throws AvailabilityCalculationException
marshal
- Parameters:
outputFile
- aFile
object.- Throws:
AvailabilityCalculationException
- if any.
-
setOutputFileName
void setOutputFileName(String outputFileName)
setOutputFileName
- Parameters:
outputFileName
- aString
object.
-
setCategoryName
void setCategoryName(String categoryName)
setCategoryName
- Parameters:
categoryName
- aString
object.
-
setMonthFormat
void setMonthFormat(String monthFormat)
setMonthFormat
- Parameters:
monthFormat
- aString
object.
-
setReportFormat
void setReportFormat(String reportFormat)
setReportFormat
- Parameters:
reportFormat
- aString
object.
-
setPeriodEndDate
void setPeriodEndDate(Date periodEndDate)
setPeriodEndDate
- Parameters:
periodEndDate
- aDate
object.
-
setReportStoreService
void setReportStoreService(ReportStoreService reportStoreService)
setReportStoreService
- Parameters:
reportStoreService
- aReportStoreService
object.
-
setAvailabilityData
void setAvailabilityData(AvailabilityData availabilityData)
setAvailabilityData
- Parameters:
availabilityData
- aAvailabilityData
object.
-
-