Class DefaultScheduledJobContextService
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.service.scheduledjob.DefaultScheduledJobContextService
-
- All Implemented Interfaces:
ScheduledJobContextService
public class DefaultScheduledJobContextService extends Object implements ScheduledJobContextService
The default implementation ofScheduledJobContextService.- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Constructor Summary
Constructors Constructor Description DefaultScheduledJobContextService(com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextInfobuildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType)Creates theContextInfofor the specified scheduled job with the specified change operation andScheduledJobRef.getTenantId().protected ContextInfocreateContextInfo(OperationType operationType)protected ContextRequestcreateContextRequest()protected List<ContextRequestHydrator>getContextRequestHydrators()protected com.broadleafcommerce.common.extension.data.DataRouteReferencegetReference()protected com.broadleafcommerce.common.extension.TypeFactorygetTypeFactory()protected ContextRequesthydrate(ContextRequest contextRequest)voidsetContextRequestHydratorProvider(org.springframework.beans.factory.ObjectProvider<ContextRequestHydrator> contextRequestHydratorProvider)voidsetReference(com.broadleafcommerce.common.extension.data.DataRouteReference reference)-
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.scheduledjob.ScheduledJobContextService
buildCreateContextInfo, buildDeleteContextInfo, buildReadContextInfo, buildUpdateContextInfo
-
-
-
-
Method Detail
-
getContextRequestHydrators
protected List<ContextRequestHydrator> getContextRequestHydrators()
-
buildContextInfo
public ContextInfo buildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType)
Creates theContextInfofor the specified scheduled job with the specified change operation andScheduledJobRef.getTenantId().- Specified by:
buildContextInfoin interfaceScheduledJobContextService- Parameters:
scheduledJobRef- the scheduled job to build theContextInfooperationType- the operation type for theContextInfo- Returns:
- the
ContextInfofor the specified scheduled job with the specified change operation
-
createContextInfo
protected ContextInfo createContextInfo(OperationType operationType)
-
createContextRequest
protected ContextRequest createContextRequest()
-
hydrate
protected ContextRequest hydrate(ContextRequest contextRequest)
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-
setContextRequestHydratorProvider
@Autowired public void setContextRequestHydratorProvider(org.springframework.beans.factory.ObjectProvider<ContextRequestHydrator> contextRequestHydratorProvider)
-
setReference
@Autowired public void setReference(@Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference)
-
getReference
@Nullable protected com.broadleafcommerce.common.extension.data.DataRouteReference getReference()
-
-