Interface ScheduledJobContextService
-
- All Known Implementing Classes:
DefaultScheduledJobContextService
public interface ScheduledJobContextServiceThis service is used to build theContextInfofor theScheduled Job.- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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.default ContextInfobuildCreateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)Creates theContextInfofor the specified scheduled job withOperationType.CREATEchange operation.default ContextInfobuildDeleteContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)Creates theContextInfofor the specified scheduled job withOperationType.DELETEchange operation.default ContextInfobuildReadContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)Creates theContextInfofor the specified scheduled job withOperationType.READchange operation.default ContextInfobuildUpdateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)Creates theContextInfofor the specified scheduled job withOperationType.UPDATEchange operation.
-
-
-
Method Detail
-
buildReadContextInfo
default ContextInfo buildReadContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
Creates theContextInfofor the specified scheduled job withOperationType.READchange operation.- Parameters:
scheduledJobRef- the scheduled job to build theContextInfo- Returns:
- the
ContextInfofor the specified scheduled job withOperationType.READchange operation
-
buildCreateContextInfo
default ContextInfo buildCreateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
Creates theContextInfofor the specified scheduled job withOperationType.CREATEchange operation.- Parameters:
scheduledJobRef- the scheduled job to build theContextInfo- Returns:
- the
ContextInfofor the specified scheduled job withOperationType.CREATEchange operation
-
buildUpdateContextInfo
default ContextInfo buildUpdateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
Creates theContextInfofor the specified scheduled job withOperationType.UPDATEchange operation.- Parameters:
scheduledJobRef- the scheduled job to build theContextInfo- Returns:
- the
ContextInfofor the specified scheduled job withOperationType.UPDATEchange operation
-
buildDeleteContextInfo
default ContextInfo buildDeleteContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef)
Creates theContextInfofor the specified scheduled job withOperationType.DELETEchange operation.- Parameters:
scheduledJobRef- the scheduled job to build theContextInfo- Returns:
- the
ContextInfofor the specified scheduled job withOperationType.DELETEchange operation
-
buildContextInfo
ContextInfo buildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType)
Creates theContextInfofor the specified scheduled job with the specified change operation.- 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
-
-