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 theContextInfo
for the specified scheduled job with the specified change operation.default ContextInfo
buildCreateContextInfo
(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.CREATE
change operation.default ContextInfo
buildDeleteContextInfo
(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.DELETE
change operation.default ContextInfo
buildReadContextInfo
(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.READ
change operation.default ContextInfo
buildUpdateContextInfo
(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.UPDATE
change operation.
-
Method Details
-
buildReadContextInfo
default ContextInfo buildReadContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.READ
change operation.- Parameters:
scheduledJobRef
- the scheduled job to build theContextInfo
- Returns:
- the
ContextInfo
for the specified scheduled job withOperationType.READ
change operation
-
buildCreateContextInfo
default ContextInfo buildCreateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.CREATE
change operation.- Parameters:
scheduledJobRef
- the scheduled job to build theContextInfo
- Returns:
- the
ContextInfo
for the specified scheduled job withOperationType.CREATE
change operation
-
buildUpdateContextInfo
default ContextInfo buildUpdateContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.UPDATE
change operation.- Parameters:
scheduledJobRef
- the scheduled job to build theContextInfo
- Returns:
- the
ContextInfo
for the specified scheduled job withOperationType.UPDATE
change operation
-
buildDeleteContextInfo
default ContextInfo buildDeleteContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef) Creates theContextInfo
for the specified scheduled job withOperationType.DELETE
change operation.- Parameters:
scheduledJobRef
- the scheduled job to build theContextInfo
- Returns:
- the
ContextInfo
for the specified scheduled job withOperationType.DELETE
change operation
-
buildContextInfo
ContextInfo buildContextInfo(com.broadleafcommerce.common.messaging.domain.ScheduledJobRef scheduledJobRef, OperationType operationType) Creates theContextInfo
for the specified scheduled job with the specified change operation.- Parameters:
scheduledJobRef
- the scheduled job to build theContextInfo
operationType
- the operation type for theContextInfo
- Returns:
- the
ContextInfo
for the specified scheduled job with the specified change operation
-