Class AbstractPropertyStatementAction
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.RequestedAction
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction
-
- Direct Known Subclasses:
AbstractDataPropertyStatementAction,AbstractObjectPropertyStatementAction
public abstract class AbstractPropertyStatementAction extends RequestedAction
A base class for requested actions that involve adding, editing, or deleting statements from a model.
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.RequestedAction
ACTION_NAMESPACE, SOME_LITERAL, SOME_PREDICATE, SOME_URI
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
AUTHORIZED, UNAUTHORIZED
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyStatementAction(org.apache.jena.ontology.OntModel ontModel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.apache.jena.ontology.OntModelgetOntModel()abstract PropertygetPredicate()abstract StringgetPredicateUri()abstract String[]getResourceUris()Get the URI of the Resources that are involved in this statement.-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.RequestedAction
getURI, isAuthorized, toString
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
and, andAll, andAll, or
-
-
-
-
Method Detail
-
getOntModel
public org.apache.jena.ontology.OntModel getOntModel()
-
getResourceUris
public abstract String[] getResourceUris()
Get the URI of the Resources that are involved in this statement. Those are the Subject, and the Object if this is an ObjectProperty request.
-
getPredicate
public abstract Property getPredicate()
-
getPredicateUri
public abstract String getPredicateUri()
-
-