Package edu.ucsb.cs156.courses.services
Class JobUserProviderImpl
java.lang.Object
edu.ucsb.cs156.courses.services.JobUserProviderImpl
- All Implemented Interfaces:
edu.ucsb.cs156.jobs.services.JobUserProvider
@Service
public class JobUserProviderImpl
extends Object
implements edu.ucsb.cs156.jobs.services.JobUserProvider
Bridge between the lib-jobs library and this app's notion of "current user"; lib-jobs uses it to
stamp createdById/createdByEmail on Job records. Both values are null when there is no logged-in
user (e.g. jobs launched from a scheduled task).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JobUserProviderImpl
public JobUserProviderImpl()
-
-
Method Details
-
getCurrentUserId
- Specified by:
getCurrentUserIdin interfaceedu.ucsb.cs156.jobs.services.JobUserProvider
-
getCurrentUserEmail
- Specified by:
getCurrentUserEmailin interfaceedu.ucsb.cs156.jobs.services.JobUserProvider
-