Package com.avoka.fc.core.entity
Class PromotionLog
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._PromotionLog
com.avoka.fc.core.entity.PromotionLog
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a record of a form being promoted to a certain status, such as "Ready For Production".
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Initial status of a form, indicating that it is in developmentstatic final String
Status indicating that a form has not been approved for productionstatic final String
Status indicating that a form is in productionstatic final String
Status indicating that a form has been approved for promotion to productionstatic final String
Status indicating that a form is ready to be testedstatic final String
Status indicating that a form failed acceptance testsstatic final String
Status indicating that a form passed acceptance testsstatic final String[]
The full set of promotion status valuesFields inherited from class com.avoka.fc.core.entity.auto._PromotionLog
ADMIN_USER, ADMIN_USER_PROPERTY, CLIENT, CLIENT_PROPERTY, CREATED_TIME, CREATED_TIME_PROPERTY, CURRENT_FLAG, CURRENT_FLAG_PROPERTY, FORM, FORM_PROPERTY, PROMOTION_LOG_OID_PK_COLUMN, PROMOTION_NOTES, PROMOTION_NOTES_PROPERTY, PROMOTION_STATUS, PROMOTION_STATUS_PROPERTY, VERSION, VERSION_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
Checks if is production status.boolean
Checks if is ready for production status.Methods inherited from class com.avoka.fc.core.entity.auto._PromotionLog
getAdminUser, getClient, getCreatedTime, getForm, getPromotionNotes, getPromotionStatus, getVersion, isCurrentFlag, setAdminUser, setClient, setCreatedTime, setCurrentFlag, setForm, setPromotionNotes, setPromotionStatus, setVersion
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
-
Field Details
-
PROMOTION_STATUS_DEVELOPMENT
Initial status of a form, indicating that it is in development- See Also:
-
PROMOTION_STATUS_READY_FOR_TEST
Status indicating that a form is ready to be tested- See Also:
-
PROMOTION_STATUS_TEST_FAILED
Status indicating that a form failed acceptance tests- See Also:
-
PROMOTION_STATUS_TEST_PASSED
Status indicating that a form passed acceptance tests- See Also:
-
PROMOTION_STATUS_READY_FOR_PRODUCTION
Status indicating that a form has been approved for promotion to production- See Also:
-
PROMOTION_STATUS_NOT_READY_FOR_PRODUCTION
Status indicating that a form has not been approved for production- See Also:
-
PROMOTION_STATUS_PRODUCTION
Status indicating that a form is in production- See Also:
-
PROMOTION_Status_Values
The full set of promotion status values
-
-
Constructor Details
-
PromotionLog
public PromotionLog()
-
-
Method Details
-
isReadyForProductionStatus
public boolean isReadyForProductionStatus()Checks if is ready for production status.- Returns:
- true, if is ready for production status
-
isProductionStatus
public boolean isProductionStatus()Checks if is production status.- Returns:
- true, if is production status
-