Class AbstractObjectPropertyStatementAction
- 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
-
- edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractObjectPropertyStatementAction
-
- Direct Known Subclasses:
AddObjectPropertyStatement,DropObjectPropertyStatement,EditObjectPropertyStatement,PublishObjectPropertyStatement
public abstract class AbstractObjectPropertyStatementAction extends AbstractPropertyStatementAction
A base class for requested actions that involve adding, editing, or deleting object property 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 AbstractObjectPropertyStatementAction(org.apache.jena.ontology.OntModel ontModel, String subjectUri, Property predicate, String objectUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetObjectUri()PropertygetPredicate()StringgetPredicateUri()String[]getResourceUris()Get the URI of the Resources that are involved in this statement.StringgetSubjectUri()StringtoString()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction
getOntModel
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.RequestedAction
getURI, isAuthorized
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.requestedAction.AuthorizationRequest
and, andAll, andAll, or
-
-
-
-
Method Detail
-
getSubjectUri
public String getSubjectUri()
-
getObjectUri
public String getObjectUri()
-
getPredicate
public Property getPredicate()
- Specified by:
getPredicatein classAbstractPropertyStatementAction
-
getPredicateUri
public String getPredicateUri()
- Specified by:
getPredicateUriin classAbstractPropertyStatementAction
-
getResourceUris
public String[] getResourceUris()
Description copied from class:AbstractPropertyStatementActionGet the URI of the Resources that are involved in this statement. Those are the Subject, and the Object if this is an ObjectProperty request.- Specified by:
getResourceUrisin classAbstractPropertyStatementAction
-
toString
public String toString()
- Overrides:
toStringin classRequestedAction
-
-