public class AddLockableMixinToVersionableMixinTask extends AbstractNodeTypeRegistrationTask
JcrConstants.MIX_LOCKABLE
to the NodeTypes.Versionable
node type.DO_NOTHING
Constructor and Description |
---|
AddLockableMixinToVersionableMixinTask(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.