+ +
+

pyams_scheduler.zmi package

+
+

Submodules

+
+
+

pyams_scheduler.zmi.interfaces module

+
+
+

pyams_scheduler.zmi.scheduler module

+
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobIdColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Scheduler job ID column

+
+
+getValue(obj)
+
+ +
+
+weight = 10
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobNameColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Scheduler job name column

+
+
+getValue(obj)
+
+ +
+
+weight = 1
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobNextRunColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Scheduler job next run column

+
+
+getValue(obj)
+
+ +
+
+weight = 30
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobTriggerColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Scheduler job trigger column

+
+
+getValue(obj)
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobsDisplayForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogDisplayForm

+

Scheduler jobs display form

+
+
+dialog_class = 'modal-large'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Display scheduler active jobs'
+
+ +
+
+title
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobsMenuItem(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.menu.MenuItem

+

Scheduler jobs menu

+
+
+get_url()
+
+ +
+
+label = 'Active jobs...'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'jobs.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobsTable(context, request)
+

Bases: pyams_skin.table.BaseTable

+

Scheduler jobs table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+data_attributes
+
+ +
+
+sortOn = None
+
+ +
+
+title = 'Scheduler jobs'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobsValuesAdapter(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

Scheduler jobs values adapter

+
+
+values
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerJobsViewlet(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Scheduler jobs viewlet

+
+
+table
+

alias of SchedulerJobsTable

+
+ +
+
+update()
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerMenuItem(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.menu.MenuItem

+

Scheduler menu

+
+
+icon_class = 'fa-clock-o'
+
+ +
+
+label = 'Tasks scheduler'
+
+ +
+
+url = '#scheduler-tasks.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerProcessAJAXTestForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_scheduler.zmi.scheduler.SchedulerProcessTestForm

+

Scheduler process test form, JSON renderer

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerProcessTestForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Scheduler process test form

+
+
+ajax_handler = 'test-scheduler-process.json'
+
+ +
+
+buttons = <z3c.form.button.Buttons object>
+
+ +
+
+createAndAdd(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+form_target
+
+ +
+
+icon_css_class = 'fa fa-fw fa-clock-o'
+
+ +
+
+legend = 'Test scheduler process connection'
+
+ +
+
+prefix = 'test_form.'
+
+ +
+
+title
+
+ +
+
+updateActions()
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerProcessTestMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Scheduler process test menu

+
+
+label = 'Test process connection...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-clock-o'
+
+ +
+
+modal_target = True
+
+ +
+
+stop_propagation = True
+
+ +
+
+url = 'test-scheduler-process.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerProcessTestSuffix(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Scheduler process test form suffix

+
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerPropertiesAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.scheduler.SchedulerPropertiesEditForm

+

Scheduler properties edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerPropertiesEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Scheduler properties edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Update tasks scheduler properties'
+
+ +
+
+title
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerPropertiesMenuItem(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.menu.MenuItem

+

Scheduler properties menu

+
+
+get_url()
+
+ +
+
+label = 'Properties...'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'properties.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTableElementEditor(context, request, view)
+

Bases: pyams_skin.table.DefaultElementEditorAdapter

+

Scheduler table element editor

+
+
+modal_target = False
+
+ +
+
+url
+
+ +
+
+view_name = 'scheduler-tasks.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksHeaderAdapter(context, request, view)
+

Bases: pyams_skin.page.DefaultPageHeaderAdapter

+

Scheduler tasks header adapter

+
+
+icon_class = 'fa fa-fw fa-clock-o'
+
+ +
+
+subtitle = 'Tasks scheduler'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksHistoryColumn(context, request, table)
+

Bases: pyams_skin.table.ActionColumn

+

Scheduler tasks history column

+
+
+icon_class = 'fa fa-fw fa-history'
+
+ +
+
+icon_hint = 'Task run history'
+
+ +
+
+modal_target = True
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+
+target = None
+
+ +
+
+url = 'history.html'
+
+ +
+
+weight = 30
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksNameColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Scheduler tasks name column

+
+
+attrName = 'name'
+
+ +
+
+weight = 10
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksRunColumn(context, request, table)
+

Bases: pyams_skin.table.ActionColumn

+

Scheduler tasks run column

+
+
+icon_class = 'fa fa-fw fa-play'
+
+ +
+
+icon_hint = 'Run task'
+
+ +
+
+modal_target = True
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+
+target = None
+
+ +
+
+url = 'run.html'
+
+ +
+
+weight = 20
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksScheduleColumn(context, request, table)
+

Bases: pyams_skin.table.ActionColumn

+

Scheduler tasks schedule column

+
+
+icon_class = 'fa fa-fw fa-calendar'
+
+ +
+
+icon_hint = 'Schedule task'
+
+ +
+
+modal_target = True
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+
+target = None
+
+ +
+
+url = 'schedule.html'
+
+ +
+
+weight = 2
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksSettingsColumn(context, request, table)
+

Bases: pyams_skin.table.ActionColumn

+

Scheduler tasks settings column

+
+
+get_url(item)
+
+ +
+
+icon_class = 'fa fa-fw fa-edit'
+
+ +
+
+icon_hint = 'Task settings'
+
+ +
+
+modal_target = True
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+
+renderCell(item)
+
+ +
+
+target = None
+
+ +
+
+weight = 1
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksTable(context, request)
+

Bases: pyams_skin.table.BaseTable

+

Scheduler tasks table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+data_attributes
+
+ +
+
+getCSSHighlightClass(column, item, cssClass)
+
+ +
+
+id = 'scheduler_tasks_table'
+
+ +
+
+title = 'Scheduled tasks'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksTrashColumn(context, request, table)
+

Bases: pyams_skin.table.TrashColumn

+

Scheduler tasks trash column

+
+
+icon_hint = 'Delete task'
+
+ +
+
+permission = 'pyams.ManageSystem'
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksValuesAdapter(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

Scheduler tasks values adapter

+
+
+values
+
+ +
+ +
+
+class pyams_scheduler.zmi.scheduler.SchedulerTasksView(context, request)
+

Bases: pyams_zmi.view.AdminView, pyams_skin.container.ContainerView

+

Scheduler tasks view

+
+
+table_class
+

alias of SchedulerTasksTable

+
+ +
+ +
+
+pyams_scheduler.zmi.scheduler.delete_scheduler_task(request)
+

Delete task from scheduler utility

+
+ +
+
+

pyams_scheduler.zmi.ssh module

+
+
+class pyams_scheduler.zmi.ssh.SSHTaskAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_scheduler.zmi.ssh.SSHTaskAddForm

+

SSH command task add form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.ssh.SSHTaskAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.ssh.SSHTaskEditForm

+

SSH command task edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.ssh.SSHTaskAddForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskBaseAddForm

+

SSH command task add form

+
+
+ajax_handler = 'add-scheduler-ssh-task.json'
+
+ +
+
+icon_css_class = 'fa fa-fw fa-key'
+
+ +
+
+legend = 'Add SSH command task'
+
+ +
+
+task_factory
+

alias of SSHCallerTask

+
+ +
+ +
+
+class pyams_scheduler.zmi.ssh.SSHTaskAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

SSH caller task add menu

+
+
+label = 'Add SSH command...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-key'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-scheduler-ssh-task.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.ssh.SSHTaskEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

SSH command task edit form

+
+
+ajax_handler = 'settings.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-key'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit task settings'
+
+ +
+
+title
+
+ +
+ +
+
+

pyams_scheduler.zmi.task module

+
+
+class pyams_scheduler.zmi.task.CronTaskScheduleAJAXEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskSchedulerAJAXEditForm, pyams_scheduler.zmi.task.CronTaskScheduleEditForm

+

Cron-style task schedule edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.task.CronTaskScheduleEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskScheduleEditForm

+

Cron-style task schedule edit form

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.DateTaskScheduleAJAXEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskSchedulerAJAXEditForm, pyams_scheduler.zmi.task.DateTaskScheduleEditForm

+

Date-style task schedule edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.task.DateTaskScheduleEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskScheduleEditForm

+

Date-style task schedule edit form

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.LoopTaskScheduleAJAXEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskSchedulerAJAXEditForm, pyams_scheduler.zmi.task.LoopTaskScheduleEditForm

+

Loop-style task schedule edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.task.LoopTaskScheduleEditForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskScheduleEditForm

+

Loop-style task schedule edit form

+
+
+fields = <z3c.form.field.Fields object>
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.SchedulerTaskPropertiesAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.task.TaskPropertiesEditForm

+

Scheduler task properties edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.task.TaskBaseAddForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogAddForm

+

Scheduler task base add form

+
+
+add(task)
+
+ +
+
+create(data)
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Add URL caller task'
+
+ +
+
+nextURL()
+
+ +
+
+task_factory = None
+
+ +
+
+title = 'Tasks scheduler'
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskDebugReportViewlet(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Task debug report viewlet

+
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryDateColumn(context, request, table)
+

Bases: pyams_skin.table.I18nColumn, z3c.table.column.GetAttrColumn

+

Task history date column

+
+
+attrName = 'date'
+
+ +
+
+renderCell(item)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryDisplayForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogDisplayForm

+

Task history display form

+
+
+dialog_class = 'modal-max'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-history'
+
+ +
+
+legend = 'Task history'
+
+ +
+
+title
+
+ +
+ +
+
+pyams_scheduler.zmi.task.TaskHistoryInfoView(request)
+
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryItemsTable(context, request)
+

Bases: pyams_skin.table.BaseTable

+

Task history items table

+
+
+cssClasses = {'table': 'table table-bordered table-striped table-hover table-tight datatable'}
+
+ +
+
+data_attributes
+
+ +
+
+getCSSHighlightClass(column, item, cssClass)
+
+ +
+
+sortOn = None
+
+ +
+
+title = 'Task history'
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryTraverser(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

Task ++history++ traverser

+
+
+traverse(name, furtherpath=None)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryValuesAdapter(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

Task history values adapter

+
+
+values
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskHistoryViewlet(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Task history viewlet

+
+
+table
+

alias of TaskHistoryItemsTable

+
+ +
+
+update()
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskPropertiesEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Scheduler task properties edit form

+
+
+ajax_handler = 'properties.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-clock-o'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Edit task properties'
+
+ +
+
+title
+
+ +
+
+updateWidgets(prefix=None)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskRunAJAXForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.task.TaskRunForm

+

Task runner form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskRunForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Task runner form

+
+
+ajax_handler = 'run.json'
+
+ +
+
+applyChanges(data)
+
+ +
+
+buttons = <z3c.form.button.Buttons object>
+
+ +
+
+dialog_class = 'modal-large'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+legend = 'Execute task'
+
+ +
+
+title
+
+ +
+
+updateActions()
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskRunFormHelpAdapter(context, request, view)
+

Bases: pyams_form.help.FormHelp

+

Task run form help adapter

+
+
+header = 'Executing and debugging task'
+
+ +
+
+message = "You can choose to execute the task in 'normal' mode or in 'debug' mode.\n\nIn normal mode, the task is scheduled in a standard way and run in a background process (after 5 seconds).\n\nIn debug mode, the task is run in the context of the main application process; the goal of this mode\nis to allow a developer to insert breakpoints.\n\n**WARNING**: in both mode, the task will be executed even if it's disabled in it's scheduling settings!"
+
+ +
+
+message_format = 'rest'
+
+ +
+
+status = 'warning'
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskScheduleEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

Scheduler task base schedule edit form

+
+
+ajax_handler = 'schedule.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+icon_css_class = 'fa fa-fw fa-calendar'
+
+ +
+
+input_css_class = 'col-md-8'
+
+ +
+
+label_css_class = 'control-label col-md-4'
+
+ +
+
+legend = 'Schedule task'
+
+ +
+
+title
+
+ +
+
+update_content(content, data)
+
+ +
+ +
+
+class pyams_scheduler.zmi.task.TaskSchedulerAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm

+

Scheduler task base schedule edit form, AJAX view

+
+
+get_ajax_output(changes)
+
+ +
+ +
+
+pyams_scheduler.zmi.task.handle_new_task_data_extraction(event)
+

Handle new task form data extraction

+
+ +
+
+

pyams_scheduler.zmi.url module

+
+
+class pyams_scheduler.zmi.url.URLTaskAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_scheduler.zmi.url.URLTaskAddForm

+

URL caller task add form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.url.URLTaskAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.url.URLTaskEditForm

+

URL caller task edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.url.URLTaskAddForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskBaseAddForm

+

URL caller task add form

+
+
+ajax_handler = 'add-scheduler-url-task.json'
+
+ +
+
+icon_css_class = 'fa fa-fw fa-globe'
+
+ +
+
+legend = 'Add URL caller task'
+
+ +
+
+task_factory
+

alias of URLCallerTask

+
+ +
+ +
+
+class pyams_scheduler.zmi.url.URLTaskAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

URL caller task add menu

+
+
+label = 'Add URL caller task...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-globe'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-scheduler-url-task.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.url.URLTaskEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

URL caller task edit form

+
+
+ajax_handler = 'settings.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-globe'
+
+ +
+
+legend = 'Edit task settings'
+
+ +
+
+title
+
+ +
+ +
+
+

pyams_scheduler.zmi.zodb module

+
+
+class pyams_scheduler.zmi.zodb.ZODBTaskAJAXAddForm(context, request)
+

Bases: pyams_form.form.AJAXAddForm, pyams_scheduler.zmi.zodb.ZODBTaskAddForm

+

ZODB packing task add form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.zodb.ZODBTaskAJAXEditForm(context, request)
+

Bases: pyams_form.form.AJAXEditForm, pyams_scheduler.zmi.zodb.ZODBTaskEditForm

+

ZODB packing task edit form, AJAX view

+
+ +
+
+class pyams_scheduler.zmi.zodb.ZODBTaskAddForm(context, request)
+

Bases: pyams_scheduler.zmi.task.TaskBaseAddForm

+

ZODB packing task add form

+
+
+ajax_handler = 'add-scheduler-zodb-task.json'
+
+ +
+
+icon_css_class = 'fa fa-fw fa-database'
+
+ +
+
+legend = 'Add ZODB packing task'
+
+ +
+
+task_factory
+

alias of ZODBPackingTask

+
+ +
+ +
+
+class pyams_scheduler.zmi.zodb.ZODBTaskAddMenu(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

ZODB packing task add menu

+
+
+label = 'Add ZODB packing task...'
+
+ +
+
+label_css_class = 'fa fa-fw fa-database'
+
+ +
+
+modal_target = True
+
+ +
+
+url = 'add-scheduler-zodb-task.html'
+
+ +
+ +
+
+class pyams_scheduler.zmi.zodb.ZODBTaskEditForm(context, request)
+

Bases: pyams_zmi.form.AdminDialogEditForm

+

ZODB packing task edit form

+
+
+ajax_handler = 'settings.json'
+
+ +
+
+edit_permission = 'pyams.ManageSystem'
+
+ +
+
+fields = <z3c.form.field.Fields object>
+
+ +
+
+icon_css_class = 'fa fa-fw fa-database'
+
+ +
+
+legend = 'Edit task settings'
+
+ +
+
+title
+
+ +
+ +
+
+

Module contents

+
+
+ + +