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
FieldsModifier and TypeFieldDescriptionstatic final StringInitial status of a form, indicating that it is in developmentstatic final StringStatus indicating that a form has not been approved for productionstatic final StringStatus indicating that a form is in productionstatic final StringStatus indicating that a form has been approved for promotion to productionstatic final StringStatus indicating that a form is ready to be testedstatic final StringStatus indicating that a form failed acceptance testsstatic final StringStatus 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_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 TypeMethodDescriptionbooleanChecks if is production status.booleanChecks 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, setVersionMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods 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
-
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
-