public class GenerationProvider
extends java.lang.Object
GenerationProvider
provides methods for executing nuclos generations
This Class is usually used in Rule-classes and allows API access only
Constructor and Description |
---|
GenerationProvider() |
Modifier and Type | Method and Description |
---|---|
static <S extends BusinessObject,T extends BusinessObject> |
execute(java.util.List<S> s,
java.lang.Class<? extends Generation<S,T>> genClass)
Using the source objects this method runs the given generation and returns the new created target objects.
|
static <S extends BusinessObject,T extends BusinessObject> |
execute(S s,
java.lang.Class<? extends Generation<S,T>> genClass)
Using the source object this method runs the given generation and returns the new created target object.
|
void |
setGenerationService(GenerationService genService) |
public void setGenerationService(GenerationService genService)
public static <S extends BusinessObject,T extends BusinessObject> T execute(S s, java.lang.Class<? extends Generation<S,T>> genClass) throws BusinessException
s
- - type-specific source-objectgenClass
- Generation<S,T> - type-specific generationBusinessException
public static <S extends BusinessObject,T extends BusinessObject> java.util.List<T> execute(java.util.List<S> s, java.lang.Class<? extends Generation<S,T>> genClass) throws BusinessException
s
- List<S> s - type-specific source-objectgenClass
- Generation<S,T> genClass - type-specific generationBusinessException
Copyright © 2024. All rights reserved.