info.magnolia.setup.for5_2
Class AddActivatableMixinForContentNodeTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.setup.for5_0.AbstractNodeTypeRegistrationTask
info.magnolia.setup.for5_2.AddActivatableMixinForContentNodeTask
- All Implemented Interfaces:
- Task
public class AddActivatableMixinForContentNodeTask
- extends AbstractNodeTypeRegistrationTask
Add the mixIn NodeTypes.Activatable.NAME
to the NodeTypes.ContentNode
node type definition.
Method Summary |
List<javax.jcr.nodetype.NodeTypeDefinition> |
getNodeTypesToRegister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
Create a List of NodeTypeDefinition to register or update (in case they are already created). |
List<String> |
getNodeTypesToUnregister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
Create a List of NodeTypeDefinition.getName() to unregister. |
AddActivatableMixinForContentNodeTask
public AddActivatableMixinForContentNodeTask(String name,
String description,
String workspaceName)
getNodeTypesToRegister
public List<javax.jcr.nodetype.NodeTypeDefinition> getNodeTypesToRegister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
throws javax.jcr.RepositoryException
- Description copied from class:
AbstractNodeTypeRegistrationTask
- Create a List of
NodeTypeDefinition
to register or update (in case they are already created).
- Specified by:
getNodeTypesToRegister
in class AbstractNodeTypeRegistrationTask
- Throws:
javax.jcr.RepositoryException
getNodeTypesToUnregister
public List<String> getNodeTypesToUnregister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
throws javax.jcr.RepositoryException
- Description copied from class:
AbstractNodeTypeRegistrationTask
- Create a List of
NodeTypeDefinition.getName()
to unregister.
- Specified by:
getNodeTypesToUnregister
in class AbstractNodeTypeRegistrationTask
- Throws:
javax.jcr.RepositoryException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.