Package com.avoka.fc.core.entity
Class ImportAction
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._ImportAction
com.avoka.fc.core.entity.ImportAction
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
Provides an entity describing an archive import action.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The import status of "Completed"static final String
The import status of "Error"static final String
The import status of "Ready"static final String[]
The set of import status valuesstatic final String
The "Application Package" import typestatic final String
The "Organization" import typestatic final String
The "Configuration Service" import typestatic final String
The "FormVersion" import typestatic final String
The "Roles" import typestatic final String
The "Library" import typestatic final String
The "MetadataTags" import typestatic final String
The "Portal" import typestatic final String
The "Roles" import typestatic final String
The "Security Manager" import typestatic final String
The "Service" import typestatic final String
The "Service Connection" import typestatic final String
The "TPac" import typestatic final String[]
The set of import typesFields inherited from class com.avoka.fc.core.entity.auto._ImportAction
ARCHIVE_NAME, ARCHIVE_NAME_PROPERTY, CLIENT, CLIENT_PROPERTY, CREATION_TIME, CREATION_TIME_PROPERTY, IMPORT_ACTION_DATA, IMPORT_ACTION_DATA_PROPERTY, IMPORT_ACTION_DETAILS, IMPORT_ACTION_DETAILS_PROPERTY, IMPORT_ACTION_OID_PK_COLUMN, IMPORT_MESSAGE, IMPORT_MESSAGE_PROPERTY, IMPORT_OPTIONS, IMPORT_OPTIONS_PROPERTY, IMPORT_TIME, IMPORT_TIME_PROPERTY, IMPORT_TYPE, IMPORT_TYPE_PROPERTY, IMPORT_USER_LOGINNAME, IMPORT_USER_LOGINNAME_PROPERTY, STATUS, STATUS_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 TypeMethodDescriptionvoid
appendImportOption
(String importOption) Appends an import option to the_ImportAction.IMPORT_OPTIONS_PROPERTY
propertyboolean
Return whether this import action concerns a clientboolean
Return whether this import action has been completed (i.e.boolean
Return whether this import action concerns a formboolean
Return whether this import action concerns a libraryboolean
Return whether this import action concerns the set of metadata tagsboolean
Return whether this import action concerns a portalboolean
Return whether this import action concerns one or more rolesboolean
Return whether this import action concerns one or more security managersboolean
Return whether this import action concerns one or more servicesboolean
Return whether this import action concerns one or more servicesboolean
Return whether this import action concerns one or more servicesMethods inherited from class com.avoka.fc.core.entity.auto._ImportAction
addToImportActionDetails, getArchiveName, getClient, getCreationTime, getImportActionData, getImportActionDetails, getImportMessage, getImportOptions, getImportTime, getImportType, getImportUserLoginname, getStatus, removeFromImportActionDetails, setArchiveName, setClient, setCreationTime, setImportActionData, setImportMessage, setImportOptions, setImportTime, setImportType, setImportUserLoginname, setStatus
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 com.avoka.fc.core.entity.Auditable
getId, getValuesMap
Methods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
IMPORT_TYPE_APPLICATION_PACKAGE
The "Application Package" import type -
IMPORT_TYPE_CLIENT
The "Organization" import type -
IMPORT_TYPE_FORM_VERSION
The "FormVersion" import type -
IMPORT_TYPE_GROUPS
The "Roles" import type -
IMPORT_TYPE_LIBRARY
The "Library" import type -
IMPORT_TYPE_METADATA_TAGS
The "MetadataTags" import type -
IMPORT_TYPE_PORTAL
The "Portal" import type -
IMPORT_TYPE_ROLES
The "Roles" import type -
IMPORT_TYPE_SERVICE
The "Service" import type -
IMPORT_TYPE_SERVICE_CONNECTION
The "Service Connection" import type -
IMPORT_TYPE_SECURITY_MANAGER
The "Security Manager" import type -
IMPORT_TYPE_TPAC
The "TPac" import type -
IMPORT_TYPE_CONFIGURATION_SERVICE
The "Configuration Service" import type -
IMPORT_TYPES
The set of import types -
IMPORT_STATUS_READY
The import status of "Ready"- See Also:
-
IMPORT_STATUS_COMPLETED
The import status of "Completed"- See Also:
-
IMPORT_STATUS_ERROR
The import status of "Error"- See Also:
-
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
Appends an import option to the_ImportAction.IMPORT_OPTIONS_PROPERTY
property- Parameters:
importOption
- the new import option
-