package net.sourceforge.fenixedu.domain.audit; import net.sourceforge.fenixedu.domain.RootDomainObject; import org.joda.time.DateTime; import pt.ist.fenixframework.audit.IAuditor; import pt.ist.fenixframework.audit.Operation; import com.linkare.commons.metainfo.Linkare; @Linkare(author = "Paulo Zenida") public class Auditor extends Auditor_Base implements IAuditor { public Auditor() { super(); } public Auditor(final String performedBy, final DateTime operationDate, final String genericOperation) { this(); setPerformedBy(performedBy); setOperationDate(operationDate); setGenericOperation(genericOperation); } @Override public void createAuditOperation(IAuditor auditor, Operation operation) { // DO NOTHING: An Auditor does not create an audit operation } @Override public RootDomainObject getRootDomainObject() { return null; } }