public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createTableFigis()
if table is created with success, set last update date
|
static void |
createTableUpdates()
create table updates
|
static Calendar |
DateToCalendar(Date date)
convert a date to calendar
|
static void |
getRuntimeResource() |
static void |
initialize(org.gcube.common.resources.gcore.ServiceEndpoint res)
inizialize Runtime Resource
|
static Calendar |
lastupdate()
get last update date
|
static void |
setlastupdate()
Set last update date
|
static boolean |
SQLTableExists(String tableName)
Return true if a table exists
|
static String |
toSchema(Class<?> clazz)
Create schema by class Request
|
public static boolean SQLTableExists(String tableName)
public static void getRuntimeResource()
public static void initialize(org.gcube.common.resources.gcore.ServiceEndpoint res)
throws Exception
Exceptionpublic static void createTableFigis()
public static void createTableUpdates()
public static void setlastupdate()
public static Calendar lastupdate()
Copyright © 2015. All Rights Reserved.