org.qriterium.dogma
Class DogmaActions

java.lang.Object
  extended by org.qriterium.dogma.DogmaActions

public class DogmaActions
extends java.lang.Object

Contains reactions to different actions in dogma. For example onResourceURIOpen - function is always ran when user tries to open an uri. Currently only writes events to the log.


Constructor Summary
DogmaActions()
           
 
Method Summary
static void onQueryResult(java.util.Vector<DogmaResource> resultSet)
          Run when the resultset is received from a query.
static void onResourceAttributeUpdate(DogmaResource r, java.lang.String description)
          Run if the attributes of the resource are changed.
static void onResourceOpenInFormView(DogmaResource r)
          Run when the resource is opened in formview.
static void onResourceSelection(DogmaResource r)
          Run when the resource is selected in resourcetable.
static void onResourceSubSetAdd(DogmaResource r)
          Run when the resource is added to a new subset.
static void onResourceSubSetAdd(java.util.Vector<DogmaResource> subset)
          Run when the set of resources is added to a new subset.
static void onResourceURIOpen(DogmaResource r, java.lang.String uri)
          Run when a uri belonging to the resource is opened.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DogmaActions

public DogmaActions()
Method Detail

onQueryResult

public static void onQueryResult(java.util.Vector<DogmaResource> resultSet)
Run when the resultset is received from a query.


onResourceAttributeUpdate

public static void onResourceAttributeUpdate(DogmaResource r,
                                             java.lang.String description)
Run if the attributes of the resource are changed.


onResourceOpenInFormView

public static void onResourceOpenInFormView(DogmaResource r)
Run when the resource is opened in formview.


onResourceSelection

public static void onResourceSelection(DogmaResource r)
Run when the resource is selected in resourcetable.


onResourceSubSetAdd

public static void onResourceSubSetAdd(java.util.Vector<DogmaResource> subset)
Run when the set of resources is added to a new subset.


onResourceSubSetAdd

public static void onResourceSubSetAdd(DogmaResource r)
Run when the resource is added to a new subset.


onResourceURIOpen

public static void onResourceURIOpen(DogmaResource r,
                                     java.lang.String uri)
Run when a uri belonging to the resource is opened.