|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.figis.tmplugin.utils.Utils
public class Utils
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static boolean SQLTableExists(String tableName)
public static String toSchema(Class<?> clazz)
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()
public static Calendar DateToCalendar(Date date)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||