Class RosterState
- java.lang.Object
-
- org.optaweb.employeerostering.domain.common.AbstractPersistable
-
- org.optaweb.employeerostering.domain.roster.RosterState
-
@Entity public class RosterState extends AbstractPersistable
-
-
Method Summary
-
Methods inherited from class org.optaweb.employeerostering.domain.common.AbstractPersistable
equals, getId, getTenantId, getVersion, hashCode, setId, setTenantId, setVersion, toString
-
-
-
-
Method Detail
-
isHistoric
public boolean isHistoric(OffsetDateTime dateTime)
-
isDraft
public boolean isDraft(OffsetDateTime dateTime)
-
isPublished
public boolean isPublished(OffsetDateTime dateTime)
-
isHistoric
public boolean isHistoric(LocalDateTime dateTime)
-
isDraft
public boolean isDraft(LocalDateTime dateTime)
-
isPublished
public boolean isPublished(LocalDateTime dateTime)
-
isHistoric
public boolean isHistoric(Shift shift)
-
isDraft
public boolean isDraft(Shift shift)
-
isPublished
public boolean isPublished(Shift shift)
-
getFirstPublishedDate
public LocalDate getFirstPublishedDate()
-
getFirstUnplannedDate
public LocalDate getFirstUnplannedDate()
-
getPublishDeadline
public LocalDate getPublishDeadline()
-
getPublishNotice
public Integer getPublishNotice()
-
setPublishNotice
public void setPublishNotice(Integer publishNotice)
-
getDraftLength
public Integer getDraftLength()
-
setDraftLength
public void setDraftLength(Integer draftLength)
-
getPublishLength
public Integer getPublishLength()
-
getRotationLength
public Integer getRotationLength()
-
setRotationLength
public void setRotationLength(Integer rotationLength)
-
getFirstDraftDate
public LocalDate getFirstDraftDate()
-
setFirstDraftDate
public void setFirstDraftDate(LocalDate firstDraftDate)
-
getUnplannedRotationOffset
public Integer getUnplannedRotationOffset()
-
setUnplannedRotationOffset
public void setUnplannedRotationOffset(Integer unplannedOffset)
-
setLastHistoricDate
public void setLastHistoricDate(LocalDate lastHistoricDate)
-
getLastHistoricDate
public LocalDate getLastHistoricDate()
-
getTimeZone
public ZoneId getTimeZone()
-
setTimeZone
public void setTimeZone(ZoneId timeZone)
-
getTenant
public Tenant getTenant()
-
setTenant
public void setTenant(Tenant tenant)
-
-