Class AbstractRelaxableResourceOperation
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperation
-
- org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.RelaxableResourceOperation,org.fcrepo.kernel.api.operations.ResourceOperation
- Direct Known Subclasses:
AbstractRdfSourceOperation,UpdateNonRdfSourceHeadersOperationImpl
public abstract class AbstractRelaxableResourceOperation extends AbstractResourceOperation implements org.fcrepo.kernel.api.operations.RelaxableResourceOperation
Abstract operation for a relaxable resource operations- Author:
- bbpennel
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByprotected InstantcreatedDateprotected StringlastModifiedByprotected InstantlastModifiedDate
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRelaxableResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()InstantgetCreatedDate()StringgetLastModifiedBy()InstantgetLastModifiedDate()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, getTransaction, getUserPrincipal, setUserPrincipal
-
-
-
-
Field Detail
-
lastModifiedBy
protected String lastModifiedBy
-
lastModifiedDate
protected Instant lastModifiedDate
-
createdDate
protected Instant createdDate
-
-
Constructor Detail
-
AbstractRelaxableResourceOperation
protected AbstractRelaxableResourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId)
-
-
Method Detail
-
getLastModifiedBy
public String getLastModifiedBy()
- Specified by:
getLastModifiedByin interfaceorg.fcrepo.kernel.api.operations.RelaxableResourceOperation
-
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedByin interfaceorg.fcrepo.kernel.api.operations.RelaxableResourceOperation
-
getLastModifiedDate
public Instant getLastModifiedDate()
- Specified by:
getLastModifiedDatein interfaceorg.fcrepo.kernel.api.operations.RelaxableResourceOperation
-
getCreatedDate
public Instant getCreatedDate()
- Specified by:
getCreatedDatein interfaceorg.fcrepo.kernel.api.operations.RelaxableResourceOperation
-
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
-
-