@Service public class WebCmsComponentAutoCreateService extends Object
WebCmsComponentModel.
Usually triggered| Constructor and Description |
|---|
WebCmsComponentAutoCreateService() |
| Modifier and Type | Method and Description |
|---|---|
WebCmsComponentModel |
buildComponent(WebCmsComponentAutoCreateTask task)
Builds the component model represented by a single task, but does not save it.
|
WebCmsComponentModel |
createComponent(WebCmsComponentAutoCreateTask task)
Create all components represented by a single task.
|
WebCmsComponentType |
resolveComponentType(String componentTypeName)
Attempts to resolve a requested component type by its type key.
|
public WebCmsComponentType resolveComponentType(String componentTypeName)
IllegalArgumentException will be thrown.componentTypeName - requested@Transactional public WebCmsComponentModel createComponent(WebCmsComponentAutoCreateTask task)
task - representing the components to createpublic WebCmsComponentModel buildComponent(WebCmsComponentAutoCreateTask task)
task - representing the components to buildCopyright © 2020. All rights reserved.