@MappedSuperclass public abstract class StateAware extends AbstractAuditable
| Constructor and Description |
|---|
StateAware() |
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDategetId, getIndexId, getVersion, isNew, setId, toStringpublic abstract String getStateDetails()
public String myLinkId()
public State getState()
protected void setState(State state)
public final State getCurrentState()
public final List<StateHistory> getStateHistory()
public final String getStateType()
public final boolean stateIsNew()
public final boolean stateIsEnded()
public final boolean stateInProgress()
public final boolean hasState()
public final StateAware transition()
public final StateAware transition(boolean clone)
public final StateAware start()
public final StateAware end()
public final StateAware reopen(boolean clone)
public final StateAware reinitiateTransition()
public final StateAware withOwner(User owner)
public final StateAware withOwner(Position owner)
public final StateAware withInitiator(Position owner)
public final StateAware withStateValue(String currentStateValue)
public final StateAware withNextAction(String nextAction)
public final StateAware withComments(String comments)
public final StateAware withNatureOfTask(String natureOfTask)
public final StateAware withExtraInfo(String extraInfo)
public final StateAware withDateInfo(Date dateInfo)
public final StateAware withExtraDateInfo(Date extraDateInfo)
public final StateAware withSenderName(String senderName)
public static Comparator<? super StateAware> byCreatedDate()
protected StateInfoBuilder buildStateInfo()
public String getStateInfoJson()
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.