Package com.avoka.fc.core.entity
Class ComposerImportAction
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- 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
public class ComposerImportAction extends _ComposerImportAction
Provides a Composer package import summary action.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_NEW_FORM
The new form action.static String
ACTION_NEW_TEMPLATE_VERSION
The new template version action.static String
ACTION_UPDATE_TEMPLATE_VERSION
The update template version action.static String
IMPORT_TYPE_NEW_FORM
The new form action.static String
IMPORT_TYPE_UPDATE_MATCH
The new template version action.static String
IMPORT_TYPE_UPDATE_UNRELATED
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
-
-
Constructor Summary
Constructors Constructor Description ComposerImportAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNewFormAction()
Return whether this import action resulted in the creation of a new form.void
setResult(String result)
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
addToManyTarget, getSnapshotVersion, makePath, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setObjectContext, setPersistenceState, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writePropertyDirectly
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
IMPORT_TYPE_NEW_FORM
public static final String IMPORT_TYPE_NEW_FORM
The new form action.- See Also:
- Constant Field Values
-
IMPORT_TYPE_UPDATE_MATCH
public static final String IMPORT_TYPE_UPDATE_MATCH
The new template version action.- See Also:
- Constant Field Values
-
IMPORT_TYPE_UPDATE_UNRELATED
public static final String IMPORT_TYPE_UPDATE_UNRELATED
The update template version action.- See Also:
- Constant Field Values
-
ACTION_NEW_FORM
public static final String ACTION_NEW_FORM
The new form action.- See Also:
- Constant Field Values
-
ACTION_NEW_TEMPLATE_VERSION
public static final String ACTION_NEW_TEMPLATE_VERSION
The new template version action.- See Also:
- Constant Field Values
-
ACTION_UPDATE_TEMPLATE_VERSION
public static final String ACTION_UPDATE_TEMPLATE_VERSION
The update template version action.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public void setResult(String result)
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
-
-