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()
calculatejava.lang.String
getAuthor()
getAuthorjava.lang.String
getBaseDir()
getBaseDirjava.lang.String
getCategoryName()
getCategoryNamejava.lang.String
getLogoURL()
getLogoURLjava.lang.String
getMonthFormat()
getMonthFormatjava.lang.String
getOutputFileName()
getOutputFileNamejava.util.Date
getPeriodEndDate()
getPeriodEndDateReport
getReport()
getReportjava.lang.String
getReportFormat()
getReportFormatvoid
marshal(java.io.File outputFile)
marshalvoid
setAuthor(java.lang.String author)
setAuthorvoid
setAvailabilityData(AvailabilityData availabilityData)
setAvailabilityDatavoid
setBaseDir(java.lang.String baseDir)
setBaseDirvoid
setCategoryName(java.lang.String categoryName)
setCategoryNamevoid
setLogoURL(java.lang.String logoURL)
setLogoURLvoid
setMonthFormat(java.lang.String monthFormat)
setMonthFormatvoid
setOutputFileName(java.lang.String outputFileName)
setOutputFileNamevoid
setPeriodEndDate(java.util.Date periodEndDate)
setPeriodEndDatevoid
setReportFormat(java.lang.String reportFormat)
setReportFormatvoid
setReportStoreService(ReportStoreService reportStoreService)
setReportStoreServicejava.lang.String
writeLocateableXML(java.lang.String id)
writeLocateableXMLjava.lang.String
writeXML()
writeXMLvoid
writeXML(java.io.OutputStream outputStream)
writeXMLvoid
writeXML(java.lang.String outputFileName)
writeXML
-
-
-
Method Detail
-
calculate
void calculate() throws AvailabilityCalculationException
calculate
- Throws:
AvailabilityCalculationException
- if any.
-
writeXML
java.lang.String writeXML() throws AvailabilityCalculationException
writeXML
- Returns:
- a
String
object. - Throws:
AvailabilityCalculationException
- if any.
-
writeXML
void writeXML(java.lang.String outputFileName) throws AvailabilityCalculationException
writeXML
- Parameters:
outputFileName
- aString
object.- Throws:
AvailabilityCalculationException
- if any.
-
writeXML
void writeXML(java.io.OutputStream outputStream) throws AvailabilityCalculationException
writeXML
- Parameters:
outputStream
- aOutputStream
object.- Throws:
AvailabilityCalculationException
- if any.
-
writeLocateableXML
java.lang.String writeLocateableXML(java.lang.String id) throws AvailabilityCalculationException
writeLocateableXML
- Parameters:
id
- aString
object.- Returns:
- a
String
object. - Throws:
AvailabilityCalculationException
- if any.
-
marshal
void marshal(java.io.File outputFile) throws AvailabilityCalculationException
marshal
- Parameters:
outputFile
- aFile
object.- Throws:
AvailabilityCalculationException
- if any.
-
getLogoURL
java.lang.String getLogoURL()
getLogoURL
- Returns:
- a
String
object.
-
setLogoURL
void setLogoURL(java.lang.String logoURL)
setLogoURL
- Parameters:
logoURL
- aString
object.
-
getOutputFileName
java.lang.String getOutputFileName()
getOutputFileName
- Returns:
- a
String
object.
-
setOutputFileName
void setOutputFileName(java.lang.String outputFileName)
setOutputFileName
- Parameters:
outputFileName
- aString
object.
-
getAuthor
java.lang.String getAuthor()
getAuthor
- Returns:
- a
String
object.
-
setAuthor
void setAuthor(java.lang.String author)
setAuthor
- Parameters:
author
- aString
object.
-
getCategoryName
java.lang.String getCategoryName()
getCategoryName
- Returns:
- a
String
object.
-
setCategoryName
void setCategoryName(java.lang.String categoryName)
setCategoryName
- Parameters:
categoryName
- aString
object.
-
getMonthFormat
java.lang.String getMonthFormat()
getMonthFormat
- Returns:
- a
String
object.
-
setMonthFormat
void setMonthFormat(java.lang.String monthFormat)
setMonthFormat
- Parameters:
monthFormat
- aString
object.
-
getReportFormat
java.lang.String getReportFormat()
getReportFormat
- Returns:
- a
String
object.
-
setReportFormat
void setReportFormat(java.lang.String reportFormat)
setReportFormat
- Parameters:
reportFormat
- aString
object.
-
getPeriodEndDate
java.util.Date getPeriodEndDate()
getPeriodEndDate
- Returns:
- a
Date
object.
-
setPeriodEndDate
void setPeriodEndDate(java.util.Date periodEndDate)
setPeriodEndDate
- Parameters:
periodEndDate
- aDate
object.
-
setReportStoreService
void setReportStoreService(ReportStoreService reportStoreService)
setReportStoreService
- Parameters:
reportStoreService
- aReportStoreService
object.
-
getBaseDir
java.lang.String getBaseDir()
getBaseDir
- Returns:
- a
String
object.
-
setBaseDir
void setBaseDir(java.lang.String baseDir)
setBaseDir
- Parameters:
baseDir
- aString
object.
-
setAvailabilityData
void setAvailabilityData(AvailabilityData availabilityData)
setAvailabilityData
- Parameters:
availabilityData
- aAvailabilityData
object.
-
-