Package com.avoka.fc.core.entity
Class ComposerImportAction
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._ComposerImportAction
com.avoka.fc.core.entity.ComposerImportAction
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides a Composer package import summary action.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The new form action.static final String
The new template version action.static final String
The update template version action.static final String
The new form action.static final String
The new template version action.static final String
The update template version action.Fields inherited from class com.avoka.fc.core.entity.auto._ComposerImportAction
ACTION, ACTION_PROPERTY, CLIENT, CLIENT_PROPERTY, COMPOSER_IMPORT_ACTION_OID_PK_COLUMN, COMPOSER_PACKAGE_QUEUE, COMPOSER_PACKAGE_QUEUE_PROPERTY, FAR_FORM_KEY, FAR_FORM_KEY_PROPERTY, FAR_FORM_NAME, FAR_FORM_NAME_PROPERTY, FORM, FORM_NAME, FORM_NAME_PROPERTY, FORM_PROPERTY, IMPORT_TYPE, IMPORT_TYPE_PROPERTY, RESULT, RESULT_PROPERTY, USER, USER_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
Return whether this import action resulted in the creation of a new form.void
Set the result attribute.Methods inherited from class com.avoka.fc.core.entity.auto._ComposerImportAction
getAction, getClient, getComposerPackageQueue, getFarFormKey, getFarFormName, getForm, getFormName, getImportType, getResult, getUser, setAction, setClient, setComposerPackageQueue, setFarFormKey, setFarFormName, setForm, setFormName, setImportType, setUser
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
-
IMPORT_TYPE_NEW_FORM
The new form action.- See Also:
-
IMPORT_TYPE_UPDATE_MATCH
The new template version action.- See Also:
-
IMPORT_TYPE_UPDATE_UNRELATED
The update template version action.- See Also:
-
ACTION_NEW_FORM
The new form action.- See Also:
-
ACTION_NEW_TEMPLATE_VERSION
The new template version action.- See Also:
-
ACTION_UPDATE_TEMPLATE_VERSION
The update template version action.- See Also:
-
-
Constructor Details
-
ComposerImportAction
public ComposerImportAction()
-
-
Method Details
-
isNewFormAction
public boolean isNewFormAction()Return whether this import action resulted in the creation of a new form.- Returns:
- whether the action is
ACTION_NEW_FORM
- Since:
- 3.6.5
-
setResult
Set the result attribute. Note that this method will truncate the input if needed.- Overrides:
setResult
in class_ComposerImportAction
- Parameters:
result
- the new value for the result attribute
-