Package com.avoka.fc.core.entity
Class ImportAction
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- 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
public class ImportAction extends _ImportAction implements Auditable
Provides an entity describing an archive import action.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportAction.ImportType
-
Field Summary
Fields Modifier and Type Field Description static String
IMPORT_STATUS_COMPLETED
The import status of "Completed"static String
IMPORT_STATUS_ERROR
The import status of "Error"static String
IMPORT_STATUS_READY
The import status of "Ready"static String[]
IMPORT_STATUS_VALUES
The set of import status valuesstatic String
IMPORT_TYPE_APPLICATION_PACKAGE
The "Application Package" import typestatic String
IMPORT_TYPE_CLIENT
The "Organization" import typestatic String
IMPORT_TYPE_FORM_VERSION
The "FormVersion" import typestatic String
IMPORT_TYPE_GROUPS
The "Roles" import typestatic String
IMPORT_TYPE_LIBRARY
The "Library" import typestatic String
IMPORT_TYPE_METADATA_TAGS
The "MetadataTags" import typestatic String
IMPORT_TYPE_PORTAL
The "Portal" import typestatic String
IMPORT_TYPE_ROLES
The "Roles" import typestatic String
IMPORT_TYPE_SECURITY_MANAGER
The "Security Manager" import typestatic String
IMPORT_TYPE_SERVICE
The "Service" import typestatic String
IMPORT_TYPE_SERVICE_CONNECTION
The "Service Connection" import typestatic String
IMPORT_TYPE_TPAC
The "TPac" import typestatic String[]
IMPORT_TYPES
The set of import types-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description ImportAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendImportOption(String importOption)
Appends an import option to the_ImportAction.IMPORT_OPTIONS_PROPERTY
propertyboolean
isClientImport()
Return whether this import action concerns a clientboolean
isCompleted()
Return whether this import action has been completed (i.e.boolean
isFormVersionImport()
Return whether this import action concerns a formboolean
isLibraryImport()
Return whether this import action concerns a libraryboolean
isMetadataTagsImport()
Return whether this import action concerns the set of metadata tagsboolean
isPortalImport()
Return whether this import action concerns a portalboolean
isRolesImport()
Return whether this import action concerns one or more rolesboolean
isSecurityManagerImport()
Return whether this import action concerns one or more security managersboolean
isServiceConnectionImport()
Return whether this import action concerns one or more servicesboolean
isServiceImport()
Return whether this import action concerns one or more servicesboolean
isTPacImport()
Return whether this import action concerns one or more services-
Methods 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
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
-
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
-
-
-
-
Field Detail
-
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_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:
- Constant Field Values
-
IMPORT_STATUS_COMPLETED
public static final String IMPORT_STATUS_COMPLETED
The import status of "Completed"- See Also:
- Constant Field Values
-
IMPORT_STATUS_ERROR
public static final String IMPORT_STATUS_ERROR
The import status of "Error"- See Also:
- Constant Field Values
-
IMPORT_STATUS_VALUES
public static final String[] IMPORT_STATUS_VALUES
The set of import status values
-
-
Method Detail
-
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
-
-