info.magnolia.cms.security
Class IPSecurityManagerImpl.IPSecurityManagerTransformer

java.lang.Object
  extended by info.magnolia.jcr.node2bean.impl.Node2BeanTransformerImpl
      extended by info.magnolia.cms.security.IPSecurityManagerImpl.IPSecurityManagerTransformer
All Implemented Interfaces:
Node2BeanTransformer
Enclosing class:
IPSecurityManagerImpl

public static final class IPSecurityManagerImpl.IPSecurityManagerTransformer
extends Node2BeanTransformerImpl

Transformer which uses the IP value of the rule as the key.


Constructor Summary
IPSecurityManagerImpl.IPSecurityManagerTransformer()
           
 
Method Summary
protected  TypeDescriptor onResolveType(TypeMapping typeMapping, TransformationState state, TypeDescriptor resolvedType, ComponentProvider componentProvider)
          Called once the type should have been resolved.
 void setProperty(TypeMapping typeMapping, TransformationState state, PropertyTypeDescriptor descriptor, Map<String,Object> values)
          Set this property on that bean.
 
Methods inherited from class info.magnolia.jcr.node2bean.impl.Node2BeanTransformerImpl
convertPropertyValue, createCollectionFromMap, getChildren, initBean, isBeanEnabled, newBeanInstance, newState, resolveType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPSecurityManagerImpl.IPSecurityManagerTransformer

public IPSecurityManagerImpl.IPSecurityManagerTransformer()
Method Detail

setProperty

public void setProperty(TypeMapping typeMapping,
                        TransformationState state,
                        PropertyTypeDescriptor descriptor,
                        Map<String,Object> 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

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


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.