Class ComposerImportAction

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
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:
  • Field Details

    • IMPORT_TYPE_NEW_FORM

      public static final String IMPORT_TYPE_NEW_FORM
      The new form action.
      See Also:
    • IMPORT_TYPE_UPDATE_MATCH

      public static final String IMPORT_TYPE_UPDATE_MATCH
      The new template version action.
      See Also:
    • IMPORT_TYPE_UPDATE_UNRELATED

      public static final String IMPORT_TYPE_UPDATE_UNRELATED
      The update template version action.
      See Also:
    • ACTION_NEW_FORM

      public static final String ACTION_NEW_FORM
      The new form action.
      See Also:
    • ACTION_NEW_TEMPLATE_VERSION

      public static final String ACTION_NEW_TEMPLATE_VERSION
      The new template version action.
      See Also:
    • ACTION_UPDATE_TEMPLATE_VERSION

      public static final String 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

      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