Class DefaultScheduledJobExecutionDetailService<T extends ScheduledJobExecutionDetail>

java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<T>
com.broadleafcommerce.scheduledjob.service.DefaultScheduledJobExecutionDetailService<T>
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<T>, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<T>, ScheduledJobExecutionDetailService<T>

public class DefaultScheduledJobExecutionDetailService<T extends ScheduledJobExecutionDetail> extends com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<T> implements ScheduledJobExecutionDetailService<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultScheduledJobExecutionDetailService(ScheduledJobExecutionDetailRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @NonNull ScheduledJobExecutionDetailRepository<com.broadleafcommerce.data.tracking.core.Trackable>
     
    org.springframework.data.domain.Page<T>
    readAllByScheduledJobId(@NonNull String scheduledJobId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads a paged list of ScheduledJobExecutionDetail by its scheduledJobId
    readLastExecutedScheduledJobExecutionDetailByJobIdAndStatus(@NonNull String jobId, @NonNull String executionStatus, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds the most recent ScheduledJobExecutionDetail with the given scheduledJobId and executionStatus
    updateScheduledJobExecutionDetailStatusAndTime(@NonNull String contextId, @NonNull ScheduledJobExecutionStatus status, @NonNull ScheduledJobExecutionDetailTimingType scheduledJobExecutionDetailTimingType, @NonNull Instant time, ScheduledJobExecutionDetailMessageType messageType, String message, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Updates the ScheduledJobExecutionDetail with the supplied values of status, time and message

    Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService

    getRsqlHelper, readAll, readAll, readAll, readAll

    Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService

    convertFromPersistentDomain, convertToPersistentDomain, create, createAll, createAllAllowingPartialSuccess, delete, getHelper, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, update, updateAll, updateAllAllowingPartialSuccess, updateSort

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService

    create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService

    readAll, readAll, readAll, readAll