public class AddActivatableMixinForContentNodeTask extends AbstractNodeTypeRegistrationTask
NodeTypes.Activatable.NAME
to the NodeTypes.ContentNode
node type definition.DO_NOTHING
Constructor and Description |
---|
AddActivatableMixinForContentNodeTask(String name,
String description,
String workspaceName) |
Modifier and Type | Method and Description |
---|---|
List<javax.jcr.nodetype.NodeTypeDefinition> |
getNodeTypesToRegister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
Get a List of
NodeTypeDefinition to register or update (in case they are already created). |
List<String> |
getNodeTypesToUnregister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager)
Get a List of
NodeTypeDefinition.getName() to un-register. |
doExecute, getDependentNodeTypes
execute
getDescription, getName, toString
public List<javax.jcr.nodetype.NodeTypeDefinition> getNodeTypesToRegister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager) throws javax.jcr.RepositoryException
AbstractNodeTypeRegistrationTask
NodeTypeDefinition
to register or update (in case they are already created).getNodeTypesToRegister
in class AbstractNodeTypeRegistrationTask
javax.jcr.RepositoryException
public List<String> getNodeTypesToUnregister(javax.jcr.nodetype.NodeTypeManager nodeTypeManager) throws javax.jcr.RepositoryException
AbstractNodeTypeRegistrationTask
NodeTypeDefinition.getName()
to un-register.getNodeTypesToUnregister
in class AbstractNodeTypeRegistrationTask
javax.jcr.RepositoryException
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.