public class AddActivatableMixinForMgnlResourceTask extends AbstractNodeTypeRegistrationTask
NodeTypes.Resource
node type.DO_NOTHING
Constructor and Description |
---|
AddActivatableMixinForMgnlResourceTask(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–2017 Magnolia International Ltd.. All rights reserved.