Package com.plannaplan.entities
Class AppConfig
java.lang.Object
com.plannaplan.entities.AppConfig
@Entity
public class AppConfig
extends java.lang.Object
entity that keeps app configurations
- 
Constructor Summary
 - 
Method Summary
Modifier and Type Method Description java.sql.TimestampgetConfigDate()config date getterAppStategetCurrentState()current state getterjava.sql.DategetFirstTourEnd()first tour end getterorg.springframework.scheduling.support.CronTriggergetFirstTourEndCron()get cron expression of first tour endjava.sql.DategetFirstTourStart()first tour start getterorg.springframework.scheduling.support.CronTriggergetFirstTourStartCron()get cron expression of first tour startjava.sql.DategetSecondTourEnd()second tour end getterorg.springframework.scheduling.support.CronTriggergetSecondTourEndCron()get cron expression of second tour endjava.sql.DategetSecondTourStart()first second start getterorg.springframework.scheduling.support.CronTriggergetSecondTourStartCron()get cron expression of second tour start 
- 
Constructor Details
 - 
Method Details
- 
getSecondTourEnd
public java.sql.Date getSecondTourEnd()second tour end getter- Returns:
 - Date inforamtion when second tour ends
 
 - 
getSecondTourStart
public java.sql.Date getSecondTourStart()first second start getter- Returns:
 - Date inforamtion when second tour start
 
 - 
getFirstTourEnd
public java.sql.Date getFirstTourEnd()first tour end getter- Returns:
 - Date inforamtion when first tour end
 
 - 
getFirstTourStart
public java.sql.Date getFirstTourStart()first tour start getter- Returns:
 - Date inforamtion when first tour start
 
 - 
getConfigDate
public java.sql.Timestamp getConfigDate()config date getter- Returns:
 - Timestamp when configuration took place
 
 - 
getCurrentState
current state getter- Returns:
 - AppState of app at the moment of calling method
 
 - 
getFirstTourEndCron
public org.springframework.scheduling.support.CronTrigger getFirstTourEndCron()get cron expression of first tour end- Returns:
 - spring cron expression
 
 - 
getSecondTourEndCron
public org.springframework.scheduling.support.CronTrigger getSecondTourEndCron()get cron expression of second tour end- Returns:
 - spring cron expression
 
 - 
getFirstTourStartCron
public org.springframework.scheduling.support.CronTrigger getFirstTourStartCron()get cron expression of first tour start- Returns:
 - spring cron expression
 
 - 
getSecondTourStartCron
public org.springframework.scheduling.support.CronTrigger getSecondTourStartCron()get cron expression of second tour start- Returns:
 - spring cron expression
 
 
 -