1 package fr.in2p3.jsaga.sync.logicalfile;
2
3 import fr.in2p3.jsaga.sync.namespace.SyncNSEntry;
4 import org.ogf.saga.error.*;
5 import org.ogf.saga.url.URL;
6
7 import java.util.List;
8
9
10
11
12 public interface SyncLogicalFile extends SyncNSEntry {
13
14
15
16
17
18
19
20
21 public void addLocationSync(URL name) throws NotImplementedException,
22 IncorrectURLException, AuthenticationFailedException,
23 AuthorizationFailedException, PermissionDeniedException,
24 BadParameterException, IncorrectStateException, TimeoutException,
25 NoSuccessException;
26
27
28
29
30
31
32
33 public void removeLocationSync(URL name) throws NotImplementedException,
34 IncorrectURLException, AuthenticationFailedException,
35 AuthorizationFailedException, PermissionDeniedException,
36 BadParameterException, IncorrectStateException,
37 DoesNotExistException, TimeoutException, NoSuccessException;
38
39
40
41
42
43
44
45
46
47 public void updateLocationSync(URL nameOld, URL nameNew)
48 throws NotImplementedException, IncorrectURLException,
49 AuthenticationFailedException, AuthorizationFailedException,
50 PermissionDeniedException, BadParameterException,
51 IncorrectStateException, AlreadyExistsException,
52 DoesNotExistException, TimeoutException, NoSuccessException;
53
54
55
56
57
58
59 public List<URL> listLocationsSync() throws NotImplementedException,
60 AuthenticationFailedException, AuthorizationFailedException,
61 PermissionDeniedException, IncorrectStateException,
62 TimeoutException, NoSuccessException;
63
64
65
66
67
68
69
70
71
72 public void replicateSync(URL name, int flags) throws NotImplementedException,
73 IncorrectURLException, AuthenticationFailedException,
74 AuthorizationFailedException, PermissionDeniedException,
75 BadParameterException, IncorrectStateException,
76 AlreadyExistsException, DoesNotExistException, TimeoutException,
77 NoSuccessException;
78
79
80
81
82
83
84
85
86 public void replicateSync(URL name) throws NotImplementedException,
87 IncorrectURLException, AuthenticationFailedException,
88 AuthorizationFailedException, PermissionDeniedException,
89 BadParameterException, IncorrectStateException,
90 AlreadyExistsException, DoesNotExistException, TimeoutException,
91 NoSuccessException;
92 }