@Service public class PermaLinkApi extends Object
| Constructor and Description |
|---|
PermaLinkApi() |
| Modifier and Type | Method and Description |
|---|---|
static org.aksw.commons.util.jdbc.Schema |
createSchema(DataSource dataSource) |
org.aksw.commons.util.jdbc.Schema |
getOrCreateSchema() |
String |
load(String hash,
javax.servlet.http.HttpServletRequest req) |
String |
store(String rawJson,
javax.servlet.http.HttpServletRequest req) |
public org.aksw.commons.util.jdbc.Schema getOrCreateSchema()
throws SQLException
SQLExceptionpublic static org.aksw.commons.util.jdbc.Schema createSchema(DataSource dataSource) throws SQLException
SQLExceptionpublic String store(String rawJson, @Context javax.servlet.http.HttpServletRequest req) throws SQLException
json - ClassNotFoundExceptionSQLExceptionpublic String load(String hash, @Context javax.servlet.http.HttpServletRequest req) throws SQLException
SQLExceptionCopyright © 2013 Agile Knowledge Engineering and Semantic Web. All Rights Reserved.