org.wicketstuff.security.swarm.models
Class SwarmCompoundPropertyModel<T>

java.lang.Object
  extended by org.apache.wicket.model.ChainingModel<T>
      extended by org.apache.wicket.model.CompoundPropertyModel<T>
          extended by org.wicketstuff.security.models.SecureCompoundPropertyModel<T>
              extended by org.wicketstuff.security.swarm.models.SwarmCompoundPropertyModel<T>
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IChainingModel<T>, org.apache.wicket.model.IComponentInheritedModel<T>, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<T>, org.apache.wicket.util.io.IClusterable, org.wicketstuff.security.models.ISecureModel<T>, SwarmModel<T>

public abstract class SwarmCompoundPropertyModel<T>
extends org.wicketstuff.security.models.SecureCompoundPropertyModel<T>
implements SwarmModel<T>

Swarm version of SecureCompoundPropertyModel. Because of the wrappedmodel it was not as easy as slapping an implements SwarmModel on this class, now it is as easy as providing an implementation for SwarmModel.getSecurityId(Component)

Author:
marrink
See Also:
Serialized Form

Nested Class Summary
protected  class SwarmCompoundPropertyModel.AttachedSwarmCompoundPropertyModel<Y>
          A wrapping model delegating all security calls to the SwarmCompoundPropertyModel instance.
 
Nested classes/interfaces inherited from class org.wicketstuff.security.models.SecureCompoundPropertyModel
org.wicketstuff.security.models.SecureCompoundPropertyModel.AttachedSecureCompoundPropertyModel<Y>
 
Constructor Summary
SwarmCompoundPropertyModel(T object)
          Construct.
 
Method Summary
<C> org.apache.wicket.model.IWrapModel<C>
wrapOnInheritance(org.apache.wicket.Component component)
           
 
Methods inherited from class org.wicketstuff.security.models.SecureCompoundPropertyModel
getActionFactory, getStrategy, isAuthenticated, isAuthorized, toString
 
Methods inherited from class org.apache.wicket.model.CompoundPropertyModel
bind, of, propertyExpression
 
Methods inherited from class org.apache.wicket.model.ChainingModel
detach, getChainedModel, getObject, getTarget, setChainedModel, setObject, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.wicketstuff.security.swarm.models.SwarmModel
getSecurityId
 
Methods inherited from interface org.wicketstuff.security.models.ISecureModel
isAuthenticated, isAuthorized
 
Methods inherited from interface org.apache.wicket.model.IModel
getObject, setObject
 
Methods inherited from interface org.apache.wicket.model.IDetachable
detach
 

Constructor Detail

SwarmCompoundPropertyModel

public SwarmCompoundPropertyModel(T object)
Construct.

Parameters:
object -
Method Detail

wrapOnInheritance

public <C> org.apache.wicket.model.IWrapModel<C> wrapOnInheritance(org.apache.wicket.Component component)
Specified by:
wrapOnInheritance in interface org.apache.wicket.model.IComponentInheritedModel<T>
Overrides:
wrapOnInheritance in class org.wicketstuff.security.models.SecureCompoundPropertyModel<T>
See Also:
SecureCompoundPropertyModel.wrapOnInheritance(org.apache.wicket.Component)


Copyright © 2006–2018 Apache Software Foundation. All rights reserved.