Package com.avoka.fc.core.entity
Class JobStep
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._JobStep
com.avoka.fc.core.entity.JobStep
- All Implemented Interfaces:
IEntity,Serializable,org.apache.cayenne.DataObject,org.apache.cayenne.Persistent,org.apache.cayenne.Validating
Provides a Collaboration Job Step entity.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides a JobStep Actions Comparator. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Job Step "Cancelled" status.static final StringThe Job Step "Completed" status.static final StringThe Job Step "Expired" status.static final StringThe Job Step "In Progress" status.static final String[]The valid Job Step status values.static final StringThe "endpoint" step type.Fields inherited from class com.avoka.fc.core.entity.auto._JobStep
ALL_FORMS_EDITABLE_FLAG, ALL_FORMS_EDITABLE_FLAG_PROPERTY, CURRENT_ACTION, CURRENT_ACTION_PROPERTY, CURRENT_STEP_JOB, CURRENT_STEP_JOB_PROPERTY, DYNAMIC_PRE_CONDITIONS_FLAG, DYNAMIC_PRE_CONDITIONS_FLAG_PROPERTY, EXPIRY_SERVICE, EXPIRY_SERVICE_PROPERTY, JOB, JOB_ACTIONS, JOB_ACTIONS_PROPERTY, JOB_PROPERTY, JOB_STEP_OID_PK_COLUMN, NAME, NAME_PROPERTY, NEXT_STEP_NAME, NEXT_STEP_NAME_PROPERTY, REDIRECT_NEXT_FLAG, REDIRECT_NEXT_FLAG_PROPERTY, SHARE_EXTRACT_DATA_FLAG, SHARE_EXTRACT_DATA_FLAG_PROPERTY, SHARE_FORM_DATA_FLAG, SHARE_FORM_DATA_FLAG_PROPERTY, SHOW_PREVIOUS_FORMS_FLAG, SHOW_PREVIOUS_FORMS_FLAG_PROPERTY, STATUS, STATUS_PROPERTY, TIME_COMPLETION_SCHEDULED, TIME_COMPLETION_SCHEDULED_PROPERTY, TIME_CREATED, TIME_CREATED_PROPERTY, TIME_FINISHED, TIME_FINISHED_PROPERTY, TYPE, TYPE_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the step has expired or false otherwise.booleanbooleanbooleanbooleanbooleanvoidsetTimeCompletionScheduled(Date timeCompletionScheduled) Set the timeCompletionScheduled value.voidsetTimeCreated(Date timeCreated) Set the timeCreated value.voidsetTimeFinished(Date timeFinished) Set the timeFinished value.toString()Methods inherited from class com.avoka.fc.core.entity.auto._JobStep
addToJobActions, getCurrentAction, getCurrentStepJob, getExpiryService, getJob, getJobActions, getName, getNextStepName, getStatus, getTimeCompletionScheduled, getTimeCreated, getTimeFinished, getType, isAllFormsEditableFlag, isDynamicPreConditionsFlag, isRedirectNextFlag, isShareExtractDataFlag, isShareFormDataFlag, isShowPreviousFormsFlag, removeFromJobActions, setAllFormsEditableFlag, setCurrentAction, setCurrentStepJob, setDynamicPreConditionsFlag, setExpiryService, setJob, setName, setNextStepName, setRedirectNextFlag, setShareExtractDataFlag, setShareFormDataFlag, setShowPreviousFormsFlag, setStatus, setTypeMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setIdMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
STATUS_IN_PROGRESS
The Job Step "In Progress" status.- See Also:
-
STATUS_COMPLETED
The Job Step "Completed" status.- See Also:
-
STATUS_CANCELLED
The Job Step "Cancelled" status.- See Also:
-
STATUS_EXPIRED
The Job Step "Expired" status.- See Also:
-
STATUS_VALUES
The valid Job Step status values. -
TYPE_ENDPOINT
The "endpoint" step type.- See Also:
-
-
Constructor Details
-
JobStep
public JobStep()
-
-
Method Details
-
isStatusCancelled
public boolean isStatusCancelled()- Returns:
- true if the status is "Cancelled"
-
isStatusCompleted
public boolean isStatusCompleted()- Returns:
- true if the status is "Completed"
-
isStatusExpired
public boolean isStatusExpired()- Returns:
- true if the status is "Expired"
-
isStatusInProgress
public boolean isStatusInProgress()- Returns:
- true if the status is "In Progress"
-
isTypeEndpoint
public boolean isTypeEndpoint()- Returns:
- true is "endpoint" step type
-
hasScheduledCompletionExpired
public boolean hasScheduledCompletionExpired()Return true if the step has expired or false otherwise.- Returns:
- true if the step has expired or false otherwise.
-
getJobActionMap
- Returns:
- an map of Job Actions keyed on job action name.
-
getOrderedJobActions
- Returns:
- the list of job actions ordered by id.
-
toString
- Overrides:
toStringin classBaseEntity- Returns:
- the string representation of this object.
-
setTimeFinished
Description copied from class:_JobStepSet the timeFinished value.- Overrides:
setTimeFinishedin class_JobStep- Parameters:
timeFinished- the timeFinished value to set
-
setTimeCreated
Description copied from class:_JobStepSet the timeCreated value.- Overrides:
setTimeCreatedin class_JobStep- Parameters:
timeCreated- the timeCreated value to set
-
setTimeCompletionScheduled
Description copied from class:_JobStepSet the timeCompletionScheduled value.- Overrides:
setTimeCompletionScheduledin class_JobStep- Parameters:
timeCompletionScheduled- the timeCompletionScheduled value to set
-