GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Package Functions | Private Member Functions | Private Attributes | Static Private Attributes

de.zib.gndms.neomodel.common.Session Class Reference

Session. More...

List of all members.

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< TasklistTasksByState (@NotNull TaskState state)
Iterable< TasklistTasks ()
Iterable< TasklistTasksDeadBeforeTimeout (@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)

Detailed Description

Session.

Author:
try ste fan pla nti kow zib
Version:
$Id$

User: stepn Date: 05.09.2008 Time: 14:48:36


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables