Index
-
\com\setasign\Konquadrat
-
Object
-
Custom
-
Traits
- CallActionTask
- CheckinRelation
- CheckinTpl
- ConfigExport
- CrashReport
- Dashboard
- DashboardTpl
- DatasourceTpl
- EditColumnTask
- ExportTpl
- Grid
- Import
- ImportDefinition
- ImportFileTpl
- ImportTask
- MobileCheckinAuth
- MobileCheckinAuthDevice
- NamedDashboard
- NamedDataorigin
- NamedObject
- NumberRange
- TaskTpl
- TxtExportTpl
- UserTpl
- Workflow
- WorkflowTextItem
- XlsExportTpl
-
Traits
-
Custom
-
Object
com\setasign\Konquadrat\Object\Custom\Traits
ImportTask Trait ImportTask
File: /Konquadrat/src/Object/Custom/traits/ImportTask.php
Used in
Summary
Methods
- deleteImportRelationsTable()
- deleteImportTable()
- getImportRelationsTableSelect()
- getImportTableSelect()
- getName()
- getProgress()
- getResultData()
- getRowImportHandler()
- import()
- initAndWakeupImportTask()
- insertIntoImportRelationsTable()
- insertIntoImportTable()
- openImportDataGridAction()
- openImportFileAction()
- process()
- readFile()
- reimportPreviewAction()
- revalidatePreviewAction()
- setParams()
- showHistoryAction()
- showImportSchemaAction()
- startImportAction()
- updateImportRelationsTable()
- validateData()
Properties
$STATUS_IMPORT
protected ImportTask::$STATUS_IMPORT = 'import_data'
$STATUS_READ_FILE
protected ImportTask::$STATUS_READ_FILE = 'read_file'
$STATUS_VALIDATE_DATA
protected ImportTask::$STATUS_VALIDATE_DATA = 'validate_data'
$importRelationsTable
protected \com\setasign\SetaFramework\Database\TableInterface ImportTask::$importRelationsTable
$importTable
protected \com\setasign\SetaFramework\Database\TableInterface ImportTask::$importTable
Methods
deleteImportTable()
Deletes all entries in the import table.
If $where is a callable it will get called with $where(DeleteQuery $delete, Database $db). The DeleteQuery is already prefiltered with the importId.
Parameters
- $where : ?callable
getImportRelationsTableSelect()
public ImportTask::getImportRelationsTableSelect (
void
): \com\setasign\SetaFramework\Database\TableSelectInterfacegetImportTableSelect()
public ImportTask::getImportTableSelect (
void
): \com\setasign\SetaFramework\Database\TableSelectInterfaceThe returned select is already prefiltered with the importId.
getName()
Exceptions
Throws \com\setasign\Konquadrat\Object\UnknownObjectException
initAndWakeupImportTask()
public ImportTask::initAndWakeupImportTask (
\com\setasign\SetaFramework\Database\TableFactoryInterface $tableFactory,
\com\setasign\Konquadrat\Import\RowImport\RowImportHandlerFactoryInterface $rowImportHandlerFactory
): void\com\setasign\Konquadrat\Import\RowImport\RowImportHandlerFactoryInterface $rowImportHandlerFactory
Parameters
- $tableFactory : \com\setasign\SetaFramework\Database\TableFactoryInterface
- $rowImportHandlerFactory : \com\setasign\Konquadrat\Import\RowImport\RowImportHandlerFactoryInterface
openImportFileAction()
public ImportTask::openImportFileAction (
void
): ?\com\setasign\Konquadrat\Object\Action\ActionResponsereadFile()
reimportPreviewAction()
public ImportTask::reimportPreviewAction (
void
): ?\com\setasign\Konquadrat\Object\Action\ActionResponseExceptions
revalidatePreviewAction()
public ImportTask::revalidatePreviewAction (
void
): ?\com\setasign\Konquadrat\Object\Action\ActionResponseExceptions
showHistoryAction()
public ImportTask::showHistoryAction (
void
): ?\com\setasign\Konquadrat\Object\Action\ActionResponsestartImportAction()
public ImportTask::startImportAction (
void
): ?\com\setasign\Konquadrat\Object\Action\ActionResponse