Class AbstractRdfSourceOperation
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperation
-
- org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperation
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.RdfSourceOperation,org.fcrepo.kernel.api.operations.ResourceOperation
- Direct Known Subclasses:
CreateRdfSourceOperationImpl,UpdateRdfSourceOperation
public abstract class AbstractRdfSourceOperation extends AbstractResourceOperation implements org.fcrepo.kernel.api.operations.RdfSourceOperation
Abstract operation for interacting with an rdf source- Author:
- bbpennel
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByprotected InstantcreatedDateprotected StringlastModifiedByprotected InstantlastModifiedDateprotected org.fcrepo.kernel.api.RdfStreamtriples
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRdfSourceOperation(org.fcrepo.kernel.api.identifiers.FedoraId rescId, org.fcrepo.kernel.api.RdfStream triples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()InstantgetCreatedDate()StringgetLastModifiedBy()InstantgetLastModifiedDate()org.fcrepo.kernel.api.RdfStreamgetTriples()protected voidsetCreatedBy(String createdBy)protected voidsetCreatedDate(Instant createdDate)protected voidsetLastModifiedBy(String lastModifiedBy)protected voidsetLastModifiedDate(Instant lastModifiedDate)-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperation
getResourceId, getUserPrincipal, setUserPrincipal
-
-
-
-
Field Detail
-
triples
protected org.fcrepo.kernel.api.RdfStream triples
-
lastModifiedBy
protected String lastModifiedBy
-
lastModifiedDate
protected Instant lastModifiedDate
-
createdDate
protected Instant createdDate
-
-
Constructor Detail
-
AbstractRdfSourceOperation
protected AbstractRdfSourceOperation(org.fcrepo.kernel.api.identifiers.FedoraId rescId, org.fcrepo.kernel.api.RdfStream triples)
-
-
Method Detail
-
getTriples
public org.fcrepo.kernel.api.RdfStream getTriples()
- Specified by:
getTriplesin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperation
-
getLastModifiedBy
public String getLastModifiedBy()
- Specified by:
getLastModifiedByin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperation
-
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedByin interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperation
-
getLastModifiedDate
public Instant getLastModifiedDate()
- Specified by:
getLastModifiedDatein interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperation
-
getCreatedDate
public Instant getCreatedDate()
- Specified by:
getCreatedDatein interfaceorg.fcrepo.kernel.api.operations.RdfSourceOperation
-
setLastModifiedBy
protected void setLastModifiedBy(String lastModifiedBy)
- Parameters:
lastModifiedBy- the lastModifiedBy to set
-
setCreatedBy
protected void setCreatedBy(String createdBy)
- Parameters:
createdBy- the createdBy to set
-
setLastModifiedDate
protected void setLastModifiedDate(Instant lastModifiedDate)
- Parameters:
lastModifiedDate- the lastModifiedDate to set
-
setCreatedDate
protected void setCreatedDate(Instant createdDate)
- Parameters:
createdDate- the createdDate to set
-
-