schedulingInterface.php 2.41 KB
Newer Older
Prosper De Laure's avatar
Prosper De Laure committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/*
 * Copyright (C) 2015 Maarch
 *
 * This file is part of bundle batchProcessing.
 *
 * Bundle batchProcessing is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Bundle batchProcessing is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with bundle batchProcessing.  If not, see <http://www.gnu.org/licenses/>.
 */
namespace bundle\batchProcessing;
/**
 * Standard interface for a batchProcessing class
 */
interface schedulingInterface
{
    /**
     * Create the scheduling
     *
     * @param batchProcessing/scheduling $scheduling 
     *
     * @action batchProcessing/scheduling/create
     */
    public function create($scheduling);

    /**
     * Read all scheduling
     * 
     * @action batchProcessing/scheduling/index
     */
    public function readSchedulings();
    
    /**
     * Read all task
     * 
     * @action batchProcessing/scheduling/readTaskList
     */
    public function readTasks();

    /**
     * Update a scheduling
     *
     * @param batchProcessing/scheduling $scheduling 
     * 
     * @action batchProcessing/scheduling/update
     */
    public function update($scheduling);

    /**
     * Delete a scheduling
     *
     * @action batchProcessing/scheduling/delete
     */
    public function delete_schedulingId_();

    /**
     * Execute a scheduling
     *
     * @action batchProcessing/scheduling/execute
     */
    public function readExecute_schedulingId_();
71

Prosper De Laure's avatar
Prosper De Laure committed
72
73
74
75
76
77
    /**
     * Process scedulings
     *
     * @action batchProcessing/scheduling/process
     */
    public function updateProcess();
78

Prosper De Laure's avatar
Prosper De Laure committed
79
80
    /**
     * Update status of scheduling
81
     *
Prosper De Laure's avatar
Prosper De Laure committed
82
83
84
     * @action batchProcessing/scheduling/changeStatus
     */
    public function updateChangestatus($schedulingId, $status);
85
86
87
88
89
90
91
92
93

    /**
     * List service Accounts available by scheduling
     *
     * @param  string $schedulingId Scheduling Identifier
     *
     * @action batchProcessing/scheduling/getServiceAccountsByScheduling
     */
    public function serviceAccountByScheduling($schedulingId);
Prosper De Laure's avatar
Prosper De Laure committed
94
}