Interface ScheduledJobContextService
- All Known Implementing Classes:
DefaultScheduledJobContextService
public interface ScheduledJobContextService
This service is used to build the
ContextInfo for the Scheduled
Job.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptionbuildContextInfo(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 Details
-
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
-