info.magnolia.setup.for5_2
Class AddActivatableMixinForContentNodeTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.setup.for5_0.AbstractNodeTypeRegistrationTask
              extended by 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.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING
 
Constructor Summary
AddActivatableMixinForContentNodeTask(String name, String description, String workspaceName)
           
 
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.
 
Methods inherited from class info.magnolia.setup.for5_0.AbstractNodeTypeRegistrationTask
doExecute, getDependentNodeTypes
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddActivatableMixinForContentNodeTask

public AddActivatableMixinForContentNodeTask(String name,
                                             String description,
                                             String workspaceName)
Method Detail

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.