processTransferInterface.php 2.32 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
<?php
/*
 * Copyright (C) 2015 Maarch
 *
 * This file is part of maarchRM.
 *
 * maarchRM 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.
 *
 * maarchRM 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 digitalResource.  If not, see <http://www.gnu.org/licenses/>.
 */
20
namespace ext\thirdPartyArchiving\presentation\maarchRM\UserStory\archiveDeposit;
Prosper De Laure's avatar
Prosper De Laure committed
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

/**
 * User story of deposit processing
 * @author Alexandre Morin <alexandre.morin@maarch.org>
 */
interface processTransferInterface
{
    /**
     * Search form
     *
     * @uses medona/archiveTransfer/readIncominglist
     * @return medona/message/transferIncomingList
     */
    public function readTransferReceived();

    /**
     * Validate archive transfer
     *
     * @uses medona/archiveTransfer/updateRequestvalidate_messageId_
     * @return medona/message/validateArchiveTransfer
     */
    public function updateTransfervalidate_messageId_();

    /**
     * Accept archive transfer
     *
     * @uses medona/archiveTransfer/updateRequestacceptance_messageId_
     * @return medona/message/acceptArchiveTransfer
     */
    public function updateTransferacceptance_messageId_();

    /**
     * Reject archive transfer
     * @param string $messageId
     * @param string $comment
     *
     * @uses medona/archiveTransfer/updateRequestrejection
     * @return medona/message/rejectArchiveTransfer
     */
Alexis Ragot's avatar
Alexis Ragot committed
60
    public function updateTransferrejection_messageId_($messageId, $comment = null);
Prosper De Laure's avatar
Prosper De Laure committed
61

62
63
64
65
66
67
68
69
    /**
     * Modify archive transfer
     *
     * @return seda/messageComposer/editMessage
     * @uses  seda/ArchiveTransferComposition/read_messageId_
     */
    public function readTransfermodify_messageId_();

Prosper De Laure's avatar
Prosper De Laure committed
70
71
72
73
74
75
76
77
    /**
     * Process archive transfer
     *
     * @uses medona/archiveTransfer/updateProcess_messageId_
     * @return medona/message/processArchiveTransfer
     */
    public function updateTransferprocess_messageId_();
}