info.magnolia.commands
Class CommandTransformer
java.lang.Object
info.magnolia.jcr.node2bean.impl.Node2BeanTransformerImpl
info.magnolia.commands.CommandTransformer
- All Implemented Interfaces:
- Node2BeanTransformer
public class CommandTransformer
- extends Node2BeanTransformerImpl
Command to transform old "impl" reference to implementing class to new "class" node data name for references.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandTransformer
public CommandTransformer()
onResolveType
protected TypeDescriptor onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
- Description copied from class:
Node2BeanTransformerImpl
- Called once the type should have been resolved. The resolvedType might be
null if no type has been resolved. Every subclass should override this method.
- Overrides:
onResolveType
in class Node2BeanTransformerImpl
initBean
public void initBean(TransformationState state,
Map values)
throws Node2BeanException
- Description copied from interface:
Node2BeanTransformer
- Called after all properties are set.
- Specified by:
initBean
in interface Node2BeanTransformer
- Overrides:
initBean
in class Node2BeanTransformerImpl
- Throws:
Node2BeanException
setProperty
public void setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map values)
throws javax.jcr.RepositoryException
- Description copied from interface:
Node2BeanTransformer
- Set this property on that bean. Allows excluding of properties.
- Specified by:
setProperty
in interface Node2BeanTransformer
- Overrides:
setProperty
in class Node2BeanTransformerImpl
- Throws:
javax.jcr.RepositoryException
isCommandClass
protected boolean isCommandClass(Class<?> type)
isChainClass
protected boolean isChainClass(Class<?> type)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.