@Templated public class ShiftTemplateGridObject extends AbstractHasTimeslotGridObject<RotationMetadata> implements GridObject<LocalDateTime,RotationMetadata>
| Constructor and Description |
|---|
ShiftTemplateGridObject() |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
getDaysInRotation() |
Long |
getId() |
ShiftTemplateModel |
getShiftTemplateModel() |
protected HasTimeslot |
getTimeslot() |
void |
init(Lane<LocalDateTime,RotationMetadata> lane) |
protected void |
reposition() |
void |
save()
Update the server version of this GridObject
|
void |
setEndPositionInScaleUnits(LocalDateTime newEndPosition)
This method only affects the backing data, not the actual position of the
element, which is handled in GridObjectPlacer
|
void |
setSelected(boolean isSelected) |
void |
setStartPositionInScaleUnits(LocalDateTime newStartPosition)
This method only affects the backing data, not the actual position of the
element, which is handled in GridObjectPlacer
|
protected void |
updateEndDateTimeWithoutRefresh(LocalDateTime newEndDateTime) |
protected void |
updateStartDateTimeWithoutRefresh(LocalDateTime newStartDateTime) |
void |
withShiftTemplateModel(ShiftTemplateModel model) |
getEndPositionInScaleUnits, getLane, getStartPositionInScaleUnits, onMouseClick, withLaneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndPositionInScaleUnits, getLane, getStartPositionInScaleUnits, setClassProperty, withLanepublic void withShiftTemplateModel(ShiftTemplateModel model)
public void setStartPositionInScaleUnits(LocalDateTime newStartPosition)
GridObjectsetStartPositionInScaleUnits in interface GridObject<LocalDateTime,RotationMetadata>public void setEndPositionInScaleUnits(LocalDateTime newEndPosition)
GridObjectsetEndPositionInScaleUnits in interface GridObject<LocalDateTime,RotationMetadata>public void init(Lane<LocalDateTime,RotationMetadata> lane)
init in class AbstractHasTimeslotGridObject<RotationMetadata>public Long getId()
getId in interface GridObject<LocalDateTime,RotationMetadata>protected void updateStartDateTimeWithoutRefresh(LocalDateTime newStartDateTime)
protected void updateEndDateTimeWithoutRefresh(LocalDateTime newEndDateTime)
protected Long getDaysInRotation()
protected void reposition()
protected HasTimeslot getTimeslot()
getTimeslot in class AbstractHasTimeslotGridObject<RotationMetadata>public ShiftTemplateModel getShiftTemplateModel()
public void setSelected(boolean isSelected)
public void save()
GridObjectsave in interface GridObject<LocalDateTime,RotationMetadata>Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.