|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.Role
public class Role
Role object model, reflects the :Role object in RDF database. This is a READ ONLY model. Named Graph usage: Role looks for statements in ALL graphs, although they should really only be found in the Repository Ontology graph, and possibly the NG_Internal graph. It requires inference for RDFS type propagation to pick up all the Roles since they are all subclasses of :Role in the repo ontology.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
static Role |
find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
Get the Role for given URI, lookup label. |
static Role |
find(org.openrdf.model.URI uri,
java.lang.String label)
Alternate version of "find" for when the URI and label are already known, e.g. |
static java.util.List<Role> |
findAll(javax.servlet.http.HttpServletRequest request)
Get all known Roles - includes pseudo-Roles Anonymous and Authenticated that should NOT be directly assigned to Users. |
static java.util.List<Role> |
findAllUserRoles(javax.servlet.http.HttpServletRequest request)
Get all Roles that ought to be assigned to users - EXCLUDES pseudo-Roles Anonymous and Authenticated. |
java.lang.String |
getLabel()
Getter for the field label. |
org.openrdf.model.URI |
getURI()
getURI |
java.lang.String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Role find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI uri)
throws javax.servlet.ServletException
request - a HttpServletRequest object.uri - URI of the role
Role object representing role.
javax.servlet.ServletException - if any.
public static Role find(org.openrdf.model.URI uri,
java.lang.String label)
uri - a URI object.label - a String object.
Role object.
public static java.util.List<Role> findAll(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - a HttpServletRequest object.
Iterable object.
javax.servlet.ServletException - if any.
public static java.util.List<Role> findAllUserRoles(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - a HttpServletRequest object.
Iterable 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 boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString
toString in class java.lang.ObjectString object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||