|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.model.ImmutableObjectModel
org.eaglei.repository.model.workflow.WorkflowState
@HasContentCache public final class WorkflowState
Workflow WorkflowState object model, reflects the :WorkflowState object in RDF database. This is a READ ONLY model. The objects are IMMUTABLE. Of course, this might change if we add an admin UI to add workflow states, but right now that seems unlikely.
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
static void |
decache()
Invalidate any in-memory cache of RDF data. |
boolean |
equals(java.lang.Object other)
|
static WorkflowState |
find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
Get the WorkflowState for given URI, lookup label. |
static java.util.List<WorkflowState> |
findAll(javax.servlet.http.HttpServletRequest request)
Get all known States -- we expect them to be stable, hence read-only. |
java.lang.String |
getComment()
Getter for the field comment. |
java.lang.String |
getLabel()
Getter for the field label. |
org.openrdf.model.URI |
getURI()
getURI |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static WorkflowState find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
throws javax.servlet.ServletException
request - a HttpServletRequest object.uri - URI of the state
org.eaglei.repository.WorkflowState object
javax.servlet.ServletException - if any.
public static java.util.List<WorkflowState> findAll(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - a HttpServletRequest object.
Iterable object.
javax.servlet.ServletException - if any.public static void decache()
public org.openrdf.model.URI getURI()
getURI
getURI in class ImmutableObjectModelURI object.public java.lang.String getLabel()
Getter for the field label.
getLabel in class ImmutableObjectModelString object.public java.lang.String getComment()
Getter for the field comment.
String object, MIGHT be null.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||