1 /*
2 Copyright (C) 2006 Grid Systems, S.A.
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 package com.gridsystems.nextgrid.api.ram;
19
20 import java.net.URI;
21 import java.util.Collection;
22
23 import nextgrid.api.pom.Process;
24 import nextgrid.api.ram.Registry;
25 import nextgrid.api.ram.RegistryException;
26
27 /**
28 * Type description.
29 *
30 * @author Rodrigo Ruiz
31 */
32 public final class GrimoiresRegistry implements Registry {
33
34 /**
35 * <code>serialVersionUID</code> attribute.
36 */
37 private static final long serialVersionUID = -6822945385672008800L;
38
39 /**
40 * {@inheritDoc}
41 */
42 public URI register(Process process) throws RegistryException {
43 // TODO Auto-generated method stub
44 return null;
45 }
46
47 /**
48 * {@inheritDoc}
49 */
50 public void delete(Process process) throws RegistryException {
51 // TODO Auto-generated method stub
52
53 }
54
55 /**
56 * {@inheritDoc}
57 */
58 public void delete(URI uri) throws RegistryException {
59 // TODO Auto-generated method stub
60
61 }
62
63 /**
64 * {@inheritDoc}
65 */
66 public Process get(URI uri) throws RegistryException {
67 // TODO Auto-generated method stub
68 return null;
69 }
70
71 /**
72 * {@inheritDoc}
73 */
74 public Collection<Process> query(String query, String lang)
75 throws RegistryException {
76 // TODO Auto-generated method stub
77 return null;
78 }
79
80 /**
81 * Only RDQL syntax is supported by this registry implementation.
82 *
83 * {@inheritDoc}
84 */
85 public boolean supports(String lang) {
86 return "RDQL".equalsIgnoreCase(lang);
87 }
88
89 }