archivalProfileInterface.php 1.67 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
<?php
/*
 * Copyright (C) 2015 Maarch
 *
 * This file is part of bundle recordsManagement.
 *
 * Bundle recordsManagement 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 recordsManagement 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 recordsManagement.  If not, see <http://www.gnu.org/licenses/>.
 */

namespace ext\thirdPartyArchiving\bundle\recordsManagement;

/**
 * Interface for management of archival profile
 *
 * @package RecordsMangement
 * @author  Maarch Prosper DE LAURE <prosper.delaure@maarch.org>
 */
interface archivalProfileInterface extends \bundle\recordsManagement\archivalProfileInterface
{
    /**
     * upload an archival profile
Dylan's avatar
#6839    
Dylan committed
33
34
     * @param recordsManagement/archivalProfile $archivalProfile The profile object
     * @param base64 $content The profile binary file
Prosper De Laure's avatar
Prosper De Laure committed
35
36
37
38
     * @param string $format          The profile file format
     *
     * @action recordsManagement/archivalProfile/uploadArchivalProfile
     */
Dylan's avatar
#6839    
Dylan committed
39
    public function createArchivalprofileUpload_profileReference_($archivalProfile,$content, $format="rng");
Prosper De Laure's avatar
Prosper De Laure committed
40
41
42
43
44
45
46
47

    /**
     * Download the profile file
     *
     * @action recordsManagement/archivalProfile/export
     */
    public function readArchivalprofileExport_profileReference_();
}