Class ImportAction

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Auditable, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

public class ImportAction extends _ImportAction implements Auditable
Provides an entity describing an archive import action.
See Also:
  • Field Details

    • IMPORT_TYPE_APPLICATION_PACKAGE

      public static final String IMPORT_TYPE_APPLICATION_PACKAGE
      The "Application Package" import type
    • IMPORT_TYPE_CLIENT

      public static final String IMPORT_TYPE_CLIENT
      The "Organization" import type
    • IMPORT_TYPE_FORM_VERSION

      public static final String IMPORT_TYPE_FORM_VERSION
      The "FormVersion" import type
    • IMPORT_TYPE_GROUPS

      public static final String IMPORT_TYPE_GROUPS
      The "Roles" import type
    • IMPORT_TYPE_LIBRARY

      public static final String IMPORT_TYPE_LIBRARY
      The "Library" import type
    • IMPORT_TYPE_METADATA_TAGS

      public static final String IMPORT_TYPE_METADATA_TAGS
      The "MetadataTags" import type
    • IMPORT_TYPE_PORTAL

      public static final String IMPORT_TYPE_PORTAL
      The "Portal" import type
    • IMPORT_TYPE_ROLES

      public static final String IMPORT_TYPE_ROLES
      The "Roles" import type
    • IMPORT_TYPE_SERVICE

      public static final String IMPORT_TYPE_SERVICE
      The "Service" import type
    • IMPORT_TYPE_SERVICE_CONNECTION

      public static final String IMPORT_TYPE_SERVICE_CONNECTION
      The "Service Connection" import type
    • IMPORT_TYPE_SECURITY_MANAGER

      public static final String IMPORT_TYPE_SECURITY_MANAGER
      The "Security Manager" import type
    • IMPORT_TYPE_TPAC

      public static final String IMPORT_TYPE_TPAC
      The "TPac" import type
    • IMPORT_TYPE_CONFIGURATION_SERVICE

      public static final String IMPORT_TYPE_CONFIGURATION_SERVICE
      The "Configuration Service" import type
    • IMPORT_TYPE_SCHEDULED_SERVICE_JOB

      public static final String IMPORT_TYPE_SCHEDULED_SERVICE_JOB
      The "Scheduled Service Job" import type
    • IMPORT_TYPES

      public static final String[] IMPORT_TYPES
      The set of import types
    • IMPORT_STATUS_READY

      public static final String IMPORT_STATUS_READY
      The import status of "Ready"
      See Also:
    • IMPORT_STATUS_COMPLETED

      public static final String IMPORT_STATUS_COMPLETED
      The import status of "Completed"
      See Also:
    • IMPORT_STATUS_ERROR

      public static final String IMPORT_STATUS_ERROR
      The import status of "Error"
      See Also:
    • IMPORT_STATUS_VALUES

      public static final String[] IMPORT_STATUS_VALUES
      The set of import status values
  • Constructor Details

    • ImportAction

      public ImportAction()
  • Method Details

    • isCompleted

      public boolean isCompleted()
      Return whether this import action has been completed (i.e. imported)
      Returns:
      true if this import action has been completed
    • isClientImport

      public boolean isClientImport()
      Return whether this import action concerns a client
      Returns:
      true if this import type is IMPORT_TYPE_CLIENT
    • isFormVersionImport

      public boolean isFormVersionImport()
      Return whether this import action concerns a form
      Returns:
      true if this import type is IMPORT_TYPE_FORM_VERSION
    • isLibraryImport

      public boolean isLibraryImport()
      Return whether this import action concerns a library
      Returns:
      true if this import type is IMPORT_TYPE_LIBRARY
    • isMetadataTagsImport

      public boolean isMetadataTagsImport()
      Return whether this import action concerns the set of metadata tags
      Returns:
      true if this import type is IMPORT_TYPE_METADATA_TAGS
    • isPortalImport

      public boolean isPortalImport()
      Return whether this import action concerns a portal
      Returns:
      true if this import type is IMPORT_TYPE_PORTAL
    • isRolesImport

      public boolean isRolesImport()
      Return whether this import action concerns one or more roles
      Returns:
      true if this import type is IMPORT_TYPE_ROLES
    • isServiceImport

      public boolean isServiceImport()
      Return whether this import action concerns one or more services
      Returns:
      true if this import type is IMPORT_TYPE_SERVICE
    • isServiceConnectionImport

      public boolean isServiceConnectionImport()
      Return whether this import action concerns one or more services
      Returns:
      true if this import type is IMPORT_TYPE_SERVICE_CONNECTION
      Since:
      5.0.0
    • isSecurityManagerImport

      public boolean isSecurityManagerImport()
      Return whether this import action concerns one or more security managers
      Returns:
      true if this import type is IMPORT_TYPE_SECURITY_MANAGER
    • isTPacImport

      public boolean isTPacImport()
      Return whether this import action concerns one or more services
      Returns:
      true if this import type is IMPORT_TYPE_TPAC
    • appendImportOption

      public void appendImportOption(String importOption)
      Appends an import option to the _ImportAction.IMPORT_OPTIONS_PROPERTY property
      Parameters:
      importOption - the new import option