|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.workflow.WorkflowTransition
public class WorkflowTransition
WorkflowTransition object model, reflects the :WorkflowTransition object in RDF database.
| Method Summary | |
|---|---|
void |
commit(javax.servlet.http.HttpServletRequest request)
commit - commit any changes made to this object (and any others) |
static WorkflowTransition |
create(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI prefURI,
java.lang.String label,
java.lang.String comment,
org.openrdf.model.URI initialState,
org.openrdf.model.URI finalState)
Make a new WorkflowTransition |
void |
delete(javax.servlet.http.HttpServletRequest request)
|
static void |
doExportTransitions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openrdf.rio.RDFFormat format,
java.util.Set<java.lang.String> includes,
java.util.Set<java.lang.String> excludes)
Export transitions to serialized quad format. |
static void |
doImportTransitions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openrdf.repository.RepositoryConnection content,
java.util.Set<java.lang.String> includes,
java.util.Set<java.lang.String> excludes,
ImportExport.DuplicateArg duplicate,
boolean transform,
boolean ignoreACL)
Import description of transitions from serialized RDF quads. |
boolean |
equals(java.lang.Object other)
Transitions are equal if their subject URI is the same. |
static WorkflowTransition |
find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
Get the WorkflowTransition for a known URI, |
static java.util.Collection<WorkflowTransition> |
findAccessibleByAttributes(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI single,
org.openrdf.model.URI initialStateMatch,
org.openrdf.model.URI workspaceMatch,
org.openrdf.model.URI accessible)
Get all Transitions matching criteria dictated by args; null is a wildcard, so all nulls means get all transactions. |
static java.util.Collection<WorkflowTransition> |
findAll(javax.servlet.http.HttpServletRequest request)
Get all Transitions in an aesthetic order |
WorkflowAction |
getAction()
|
org.openrdf.model.Value |
getActionParameter()
|
java.lang.String |
getComment()
Getter for the field comment. |
org.openrdf.model.URI |
getFinal()
|
java.lang.String |
getFinalLabel()
|
org.openrdf.model.URI |
getInitial()
|
java.lang.String |
getInitialLabel()
|
java.lang.String |
getLabel()
Getter for the field label. |
java.lang.String |
getOrder()
|
org.openrdf.model.URI |
getURI()
getURI |
org.openrdf.model.URI |
getWorkspace()
|
java.lang.String |
getWorkspaceLabel()
|
int |
hashCode()
|
void |
setAction(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
|
void |
setActionParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String str)
ActionParameter may be stringified URI or literal; parse out URI or literal from val.. |
void |
setActionParameter(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.Value val)
|
void |
setComment(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
|
void |
setFinal(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
|
void |
setInitial(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
|
void |
setLabel(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
Setter for the field label. |
void |
setOrder(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
|
void |
setWorkspace(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
|
java.lang.String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static WorkflowTransition find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
throws javax.servlet.ServletException
request - a HttpServletRequest object.uri - URI of the transition
org.eaglei.repository.WorkflowTransition object
javax.servlet.ServletException - if any.
public static java.util.Collection<WorkflowTransition> findAll(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - a HttpServletRequest object.
java.lang.Collection object.
javax.servlet.ServletException - if any.
public static java.util.Collection<WorkflowTransition> findAccessibleByAttributes(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI single,
org.openrdf.model.URI initialStateMatch,
org.openrdf.model.URI workspaceMatch,
org.openrdf.model.URI accessible)
throws javax.servlet.ServletException
request - a HttpServletRequest object.single - if not null, then only find transition whose subject matches that URIinitialStateMatch - filter only transitions with given initial stateworkspaceMatch - filter only transitions on either ALL workspaces or this oneaccessible - filter transitions accessible to this user or Role URI
java.lang.Collection object.
javax.servlet.ServletException - if any.public org.openrdf.model.URI getURI()
getURI
URI object.public java.lang.String getLabel()
Getter for the field label.
String object.public java.lang.String getComment()
Getter for the field comment.
String object, MIGHT be null.public org.openrdf.model.URI getWorkspace()
public java.lang.String getWorkspaceLabel()
public org.openrdf.model.URI getInitial()
public java.lang.String getInitialLabel()
public org.openrdf.model.URI getFinal()
public java.lang.String getFinalLabel()
public java.lang.String getOrder()
public WorkflowAction getAction()
public org.openrdf.model.Value getActionParameter()
public static WorkflowTransition create(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI prefURI,
java.lang.String label,
java.lang.String comment,
org.openrdf.model.URI initialState,
org.openrdf.model.URI finalState)
throws javax.servlet.ServletException
Make a new WorkflowTransition
including creating a URI for it.
request - a HttpServletRequest object.label - short name for Transition. SHOULD be non-nullcomment - longer description of WorkflowTransition may be null
javax.servlet.ServletException - if any.
public void delete(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setLabel(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
throws javax.servlet.ServletException
Setter for the field label.
request - a HttpServletRequest object.label - a new label value
javax.servlet.ServletException - if any.
public void setComment(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setWorkspace(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setInitial(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setFinal(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setOrder(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setAction(javax.servlet.http.HttpServletRequest request,
java.lang.String val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setActionParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String str)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void setActionParameter(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.Value val)
throws javax.servlet.ServletException
javax.servlet.ServletException
public void commit(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
commit - commit any changes made to this object (and any others)
request - a HttpServletRequest object.
javax.servlet.ServletException - if any.public java.lang.String toString()
toString
toString in class java.lang.ObjectString representation of the object.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public static void doExportTransitions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openrdf.rio.RDFFormat format,
java.util.Set<java.lang.String> includes,
java.util.Set<java.lang.String> excludes)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletException
java.io.IOException
public static void doImportTransitions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.openrdf.repository.RepositoryConnection content,
java.util.Set<java.lang.String> includes,
java.util.Set<java.lang.String> excludes,
ImportExport.DuplicateArg duplicate,
boolean transform,
boolean ignoreACL)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||