org.eaglei.repository.model.workflow
Class ActionMoveGraph

java.lang.Object
  extended by org.eaglei.repository.model.workflow.ActionMoveGraph
All Implemented Interfaces:
WorkflowAction

public class ActionMoveGraph
extends java.lang.Object
implements WorkflowAction

Workflow action implementation that moves a resource instance to a new home graph. Moves only the data statements, leaves metadata in its usual graph. The action parameter is a URI whcih must name a named graph, the resource is moved to this graph. NOTE that this overrides any write permission check on the destination graph - access to the transition confers access to move instances into the destination graph. Started September 2010

Author:
lcs

Constructor Summary
ActionMoveGraph()
           
 
Method Summary
 void onTransition(javax.servlet.http.HttpServletRequest request, org.openrdf.model.URI resource, org.openrdf.model.Value param)
          Action implementation: ve resource's properties to new named graph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMoveGraph

public ActionMoveGraph()
Method Detail

onTransition

public void onTransition(javax.servlet.http.HttpServletRequest request,
                         org.openrdf.model.URI resource,
                         org.openrdf.model.Value param)
                  throws java.lang.Exception
Action implementation: ve resource's properties to new named graph

Specified by:
onTransition in interface WorkflowAction
Parameters:
request -
resource -
param -
Throws:
java.lang.Exception


Copyright © 2009-2011 Eagle-I. All Rights Reserved.