Package com.onenetwork.platform.workflow
Interface IssueService
- All Superinterfaces:
Service
public interface IssueService extends Service
Service to facilitates the execution of issue computations through time-based workflows.
This service should only be used within the context of time-based workflow.
-
Method Summary
Modifier and Type Method Description <T extends Model>
voidcomputeIssues(java.lang.Class<T> topLevelClass, java.util.List<java.lang.Long> modelIds, PlatformUserContext context, java.lang.String... issueCompNames)
Convenience method to execute the issue computations for the provided list of candidates<T extends Model>
voidcomputeIssues(java.util.Collection<T> models, PlatformUserContext context, java.lang.String... issueCompNames)
Convenience method to execute the issue computations for the provided list of candidates
-
Method Details
-
computeIssues
<T extends Model> void computeIssues(java.lang.Class<T> topLevelClass, java.util.List<java.lang.Long> modelIds, PlatformUserContext context, java.lang.String... issueCompNames)Convenience method to execute the issue computations for the provided list of candidates- Parameters:
topLevelClass
- implementation class for the Model being read (for example,Enterprise
)modelIds
- list of candidates for which issue computation will be executed.context
- caller's contextissueCompNames
- issue computation names
-
computeIssues
<T extends Model> void computeIssues(java.util.Collection<T> models, PlatformUserContext context, java.lang.String... issueCompNames)Convenience method to execute the issue computations for the provided list of candidates- Parameters:
models
- collection of models for which issue computation will be executed.context
- caller's contextissueCompNames
- issue computation names
-