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
public class PromotionLog extends _PromotionLog
Provides a record of a form being promoted to a certain status, such as "Ready For Production".- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROMOTION_STATUS_DEVELOPMENT
Initial status of a form, indicating that it is in developmentstatic String
PROMOTION_STATUS_NOT_READY_FOR_PRODUCTION
Status indicating that a form has not been approved for productionstatic String
PROMOTION_STATUS_PRODUCTION
Status indicating that a form is in productionstatic String
PROMOTION_STATUS_READY_FOR_PRODUCTION
Status indicating that a form has been approved for promotion to productionstatic String
PROMOTION_STATUS_READY_FOR_TEST
Status indicating that a form is ready to be testedstatic String
PROMOTION_STATUS_TEST_FAILED
Status indicating that a form failed acceptance testsstatic String
PROMOTION_STATUS_TEST_PASSED
Status indicating that a form passed acceptance testsstatic String[]
PROMOTION_Status_Values
The full set of promotion status values-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description PromotionLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isProductionStatus()
Checks if is production status.boolean
isReadyForProductionStatus()
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
-
-
-
-
Field Detail
-
PROMOTION_STATUS_DEVELOPMENT
public static final String PROMOTION_STATUS_DEVELOPMENT
Initial status of a form, indicating that it is in development- See Also:
- Constant Field Values
-
PROMOTION_STATUS_READY_FOR_TEST
public static final String PROMOTION_STATUS_READY_FOR_TEST
Status indicating that a form is ready to be tested- See Also:
- Constant Field Values
-
PROMOTION_STATUS_TEST_FAILED
public static final String PROMOTION_STATUS_TEST_FAILED
Status indicating that a form failed acceptance tests- See Also:
- Constant Field Values
-
PROMOTION_STATUS_TEST_PASSED
public static final String PROMOTION_STATUS_TEST_PASSED
Status indicating that a form passed acceptance tests- See Also:
- Constant Field Values
-
PROMOTION_STATUS_READY_FOR_PRODUCTION
public static final String PROMOTION_STATUS_READY_FOR_PRODUCTION
Status indicating that a form has been approved for promotion to production- See Also:
- Constant Field Values
-
PROMOTION_STATUS_NOT_READY_FOR_PRODUCTION
public static final String PROMOTION_STATUS_NOT_READY_FOR_PRODUCTION
Status indicating that a form has not been approved for production- See Also:
- Constant Field Values
-
PROMOTION_STATUS_PRODUCTION
public static final String PROMOTION_STATUS_PRODUCTION
Status indicating that a form is in production- See Also:
- Constant Field Values
-
PROMOTION_Status_Values
public static final String[] PROMOTION_Status_Values
The full set of promotion status values
-
-
Method Detail
-
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
-
-