OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 17 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17 Rev 83
Line 11... Line 11...
11
 * When distributing the software, include this License Header Notice in each file.
11
 * When distributing the software, include this License Header Notice in each file.
12
 */
12
 */
13
 
13
 
14
 package org.openconcerto.xml.persistence;
14
 package org.openconcerto.xml.persistence;
15
 
15
 
16
import org.openconcerto.utils.CollectionMap;
-
 
17
 
-
 
18
import java.io.IOException;
16
import java.io.IOException;
-
 
17
import java.util.Map;
19
import java.util.Set;
18
import java.util.Set;
20
 
19
 
21
/**
20
/**
22
 * Permet de lire et ecrire des Persistent déjà serialisés.
21
 * Permet de lire et ecrire des Persistent déjà serialisés.
23
 * 
22
 * 
Line 45... Line 44...
45
     */
44
     */
46
    public Object load(Class clazz, String id) throws IOException;
45
    public Object load(Class clazz, String id) throws IOException;
47
 
46
 
48
    public Set<String> getIDs(Class clazz) throws IOException;
47
    public Set<String> getIDs(Class clazz) throws IOException;
49
 
48
 
50
    public CollectionMap<Class, String> getIDs() throws IOException;
49
    public Map<Class<?>, Set<String>> getIDs() throws IOException;
51
 
50
 
52
    public void delete(Class clazz, String id) throws IOException;
51
    public void delete(Class clazz, String id) throws IOException;
53
 
52
 
54
    public void delete(Class clazz) throws IOException;
53
    public void delete(Class clazz) throws IOException;
55
 
54