info.magnolia.module.shop.setup
Class RegisterNodeTypeMultipleTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.shop.setup.RegisterNodeTypeMultipleTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
public class RegisterNodeTypeMultipleTask
- extends info.magnolia.module.delta.AbstractRepositoryTask
Register a new node type with property multiple set to true so we can
use categorization on data types.
- Author:
- tmiyar
Fields inherited from class info.magnolia.module.delta.AbstractTask |
log |
Method Summary |
protected void |
doExecute(info.magnolia.module.InstallContext installContext)
|
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask |
execute |
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
NODE_TYPE_DEFINITION
protected static final String NODE_TYPE_DEFINITION
- Node type template for registering node types for the single types.
- See Also:
- Constant Field Values
NODE_TYPE_DEF_TEMPLATE
public static final MessageFormat NODE_TYPE_DEF_TEMPLATE
RegisterNodeTypeMultipleTask
public RegisterNodeTypeMultipleTask(String typeName)
- Registers new data type during module installation.
- Parameters:
typeName
- Name of the registered type.
doExecute
protected void doExecute(info.magnolia.module.InstallContext installContext)
throws javax.jcr.RepositoryException,
info.magnolia.module.delta.TaskExecutionException
- Specified by:
doExecute
in class info.magnolia.module.delta.AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.