001/*
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 */
006package org.fcrepo.kernel.api.operations;
007
008import java.time.Instant;
009
010/**
011 * Operation involving a resource with relaxable server managed properties
012 *
013 * @author bbpennel
014 */
015public interface RelaxableResourceOperation extends ResourceOperation {
016    /**
017     * Get last modified by
018     *
019     * @return user that last modified the resource
020     */
021    String getLastModifiedBy();
022
023    /**
024     * Get created by
025     *
026     * @return user that created the resource
027     */
028    String getCreatedBy();
029
030    /**
031     * Get the timestamp the resource was last modified
032     *
033     * @return timestamp
034     */
035    Instant getLastModifiedDate();
036
037    /**
038     * Get the timestamp the resource was created
039     *
040     * @return timestamp
041     */
042    Instant getCreatedDate();
043}