package net.sourceforge.fenixedu.domain.jobs; import net.sourceforge.fenixedu.domain.Person; import net.sourceforge.fenixedu.injectionCode.AccessControl; import com.qubit.fenixframework.plugins.job.JobExecutionArguments; public class JobExecutionRequestor extends JobExecutionArguments { private static final String REQUESTOR = "requestor"; public JobExecutionRequestor() { super(); if (AccessControl.hasPerson()) { setRequestor(AccessControl.getPerson()); } } public void setRequestor(Person person) { setDomainObject(REQUESTOR, person); } public Person getRequestor() { return getDomainObject(REQUESTOR); } }