info.magnolia.cms.security
Class IPSecurityManagerImpl.IPSecurityManagerTransformer

java.lang.Object
  extended by info.magnolia.content2bean.impl.Content2BeanTransformerImpl
      extended by info.magnolia.cms.security.IPSecurityManagerImpl.IPSecurityManagerTransformer
All Implemented Interfaces:
Content.ContentFilter, Content2BeanTransformer
Enclosing class:
IPSecurityManagerImpl

public static final class IPSecurityManagerImpl.IPSecurityManagerTransformer
extends Content2BeanTransformerImpl

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.content2bean.Content2BeanTransformer
Content2BeanTransformer.Factory
 
Constructor Summary
IPSecurityManagerImpl.IPSecurityManagerTransformer()
           
 
Method Summary
protected  TypeDescriptor onResolveType(TransformationState state, TypeDescriptor resolvedType)
          Called once the type should have been resolved.
 void setProperty(TransformationState state, PropertyTypeDescriptor descriptor, java.util.Map<java.lang.String,java.lang.Object> values)
          Do not set class property.
 
Methods inherited from class info.magnolia.content2bean.impl.Content2BeanTransformerImpl
accept, convertPropertyValue, getChildren, getTypeMapping, initBean, 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(TransformationState state,
                        PropertyTypeDescriptor descriptor,
                        java.util.Map<java.lang.String,java.lang.Object> values)
Description copied from class: Content2BeanTransformerImpl
Do not set class property. In case of a map/collection try to use adder method.

Specified by:
setProperty in interface Content2BeanTransformer
Overrides:
setProperty in class Content2BeanTransformerImpl

onResolveType

protected TypeDescriptor onResolveType(TransformationState state,
                                       TypeDescriptor resolvedType)
Description copied from class: Content2BeanTransformerImpl
Called once the type should have been resolved. The resolvedType might be null if no type has been resolved. After the call the FactoryUtil and custom transformers are used to get the final type. TODO - check javadoc

Overrides:
onResolveType in class Content2BeanTransformerImpl


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