GNDMS 0.6.0
RESTful verison of GNDMS
|
Public Member Functions | |
Session (@NotNull Dao dao,@NotNull String gridName,@NotNull GraphDatabaseService gdb) | |
TaskFlowType | createTaskFlowType () |
TaskFlowType | findTaskFlowType (@NotNull String offerTypeId) |
Task | createTask () |
Task | findTask (@NotNull String taskId) |
Task | findTaskForResource (@NotNull String resourceId) |
Iterable< Task > | listTasksByState (@NotNull TaskState state) |
Iterable< Task > | listTasks () |
Iterable< Task > | listTasksDeadBeforeTimeout (@NotNull Calendar timeout) |
String | getGridName () |
void | failure () |
void | success () |
void | finish () |
void | setClassLoader (final ClassLoader classLoader) |
ClassLoader | getClassLoader () |
Protected Member Functions | |
Task | createTask (final Node node, final String type) |
Index< Node > | getTypeIndex (@NotNull String indexName) |
Static Protected Member Functions | |
static String | classNickName (Class c) |
static String | typeIndexNickName (String typeNick, String...names) |
Package Functions | |
public< U extends PropertyContainer > void | setSingleIndex (@NotNull Index< U > index,@NotNull U repr, String key, String oldVal, String newVal) |
Private Member Functions | |
Task | taskFromNode (Node node) |
Private Attributes | |
final GraphDatabaseService | gdb |
final Transaction | tx |
final String | gridName |
final ReprSession | reprSession |
ClassLoader | classLoader |
Static Private Attributes | |
static final String | OFFER_TYPE_T = classNickName(TaskFlowType.class) |
static final String | TASK_T = classNickName(Task.class) |