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
public class SubmissionDeliveryFunc extends _SubmissionDeliveryFunc
Provides an submission delivery function entity.- Since:
- 17.10.0
- See Also:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description SubmissionDeliveryFunc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
incrementDeliveryAttempts()
Increment the number of delivery attempts by one.boolean
isCompleted()
boolean
isError()
boolean
isInProgress()
boolean
isNotReady()
boolean
isReady()
-
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
-
-
-
-
Method Detail
-
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.
-
-