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
Modifier and TypeClassDescriptionstatic class
Provides a JobStep Actions Comparator. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Job Step "Cancelled" status.static final String
The Job Step "Completed" status.static final String
The Job Step "Expired" status.static final String
The Job Step "In Progress" status.static final String[]
The valid Job Step status values.static final String
The "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_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the step has expired or false otherwise.boolean
boolean
boolean
boolean
boolean
void
setTimeCompletionScheduled
(Date timeCompletionScheduled) Set the timeCompletionScheduled value.void
setTimeCreated
(Date timeCreated) Set the timeCreated value.void
setTimeFinished
(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, setType
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods 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, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
toString
in classBaseEntity
- Returns:
- the string representation of this object.
-
setTimeFinished
Description copied from class:_JobStep
Set the timeFinished value.- Overrides:
setTimeFinished
in class_JobStep
- Parameters:
timeFinished
- the timeFinished value to set
-
setTimeCreated
Description copied from class:_JobStep
Set the timeCreated value.- Overrides:
setTimeCreated
in class_JobStep
- Parameters:
timeCreated
- the timeCreated value to set
-
setTimeCompletionScheduled
Description copied from class:_JobStep
Set the timeCompletionScheduled value.- Overrides:
setTimeCompletionScheduled
in class_JobStep
- Parameters:
timeCompletionScheduled
- the timeCompletionScheduled value to set
-