Package com.avoka.fc.core.entity
Class SubmissionDeliveryFunc
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._SubmissionDeliveryFunc
com.avoka.fc.core.entity.SubmissionDeliveryFunc
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides an submission delivery function entity.
- Since:
- 17.10.0
- See Also:
-
Field Summary
Fields inherited from class com.avoka.fc.core.entity.auto._SubmissionDeliveryFunc
DELIVERY_ATTEMPTS, DELIVERY_ATTEMPTS_PROPERTY, DELIVERY_STATUS, DELIVERY_STATUS_PROPERTY, GROOVY_SERVICE_LOG, GROOVY_SERVICE_LOG_PROPERTY, MAX_ATTEMPTS, MAX_ATTEMPTS_PROPERTY, NEXT_DELIVERY_TIME, NEXT_DELIVERY_TIME_PROPERTY, SERVICE, SERVICE_PROPERTY, SUB_DELIVERY_FUNC_OID_PK_COLUMN, SUBMISSION, SUBMISSION_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
Methods inherited from class com.avoka.fc.core.entity.auto._SubmissionDeliveryFunc
getDeliveryAttempts, getDeliveryStatus, getGroovyServiceLog, getMaxAttempts, getNextDeliveryTime, getService, getSubmission, setDeliveryAttempts, setDeliveryStatus, setGroovyServiceLog, setMaxAttempts, setNextDeliveryTime, setService, setSubmission
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
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
-
Constructor Details
-
SubmissionDeliveryFunc
public SubmissionDeliveryFunc()
-
-
Method Details
-
isCompleted
public boolean isCompleted()- Returns:
- true if delivery status is 'Completed'.
-
isError
public boolean isError()- Returns:
- true if delivery status is 'Error'.
-
isInProgress
public boolean isInProgress()- Returns:
- true if delivery status is 'In Progress'.
-
isReady
public boolean isReady()- Returns:
- true if delivery status is 'Ready'.
-
isNotReady
public boolean isNotReady()- Returns:
- true if delivery status is 'Not Ready'.
-
incrementDeliveryAttempts
public void incrementDeliveryAttempts()Increment the number of delivery attempts by one.
-