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 package org.astrogrid.store.adapter.aladin ;
34
35 /***
36 * A wrapper for the AstroGrid StoreFile to make it easier to integrate into Aladin.
37 * * @deprecated use {@link org.astrogrid.store.tree} instead
38 */
39 public interface AladinAdapterNode
40 {
41 /***
42 * Access to the node name.
43 * @return The node name.
44 *
45 */
46 public String getName() ;
47
48 /***
49 * Check if this represents a file.
50 * @return true if this represents a file.
51 *
52 */
53 public boolean isFile() ;
54
55 /***
56 * Check if this represents a container.
57 * @return true if this represents a container.
58 *
59 */
60 public boolean isContainer() ;
61
62 /***
63 * Get a list (collection) of the current child nodes.
64 * Note, you cannot add a child node by adding a node to the collection.
65 * @return An unmodifiable collection of AladinAdapterFile(s) for the child nodes.
66 *
67 public Collection getChildNodes() ;
68 */
69
70 /***
71 * Add a child to a container.
72 * @param name The container name.
73 * @throws AladinAdapterSecurityException If the adapter is not logged in.
74 * @throws AladinAdapterServiceException If the service is unable to handle the request.
75 *
76 public AladinAdapterFile addContainer(String name)
77 throws AladinAdapterSecurityException, AladinAdapterSecurityException ;
78 */
79
80 }