protected class SecureCompoundPropertyModel.AttachedSecureCompoundPropertyModel<Y> extends org.apache.wicket.model.AbstractPropertyModel<Y> implements org.apache.wicket.model.IWrapModel<Y>, ISecureModel<Y>
SecureCompoundPropertyModel
that components that
inherit the model get. Copy of AttachedCompoundPropertyModel.Constructor and Description |
---|
SecureCompoundPropertyModel.AttachedSecureCompoundPropertyModel(org.apache.wicket.Component owner)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
detach() |
protected org.apache.wicket.Component |
getOwner()
The component bound to this model.
|
org.apache.wicket.model.IModel<T> |
getWrappedModel() |
boolean |
isAuthenticated(org.apache.wicket.Component component)
Checks if the user is authenticated for this model.
|
boolean |
isAuthorized(org.apache.wicket.Component component,
WaspAction action)
Checks if the component is authorized for this model.
|
protected String |
propertyExpression() |
String |
toString() |
getInnermostModelOrObject, getObject, getObjectClass, getPropertyExpression, getPropertyField, getPropertyGetter, getPropertySetter, setObject
getChainedModel, getTarget, setChainedModel, setTarget
public SecureCompoundPropertyModel.AttachedSecureCompoundPropertyModel(org.apache.wicket.Component owner)
owner
- component that this model has been attached toprotected final org.apache.wicket.Component getOwner()
protected String propertyExpression()
propertyExpression
in class org.apache.wicket.model.AbstractPropertyModel<Y>
AbstractPropertyModel.propertyExpression()
public org.apache.wicket.model.IModel<T> getWrappedModel()
getWrappedModel
in interface org.apache.wicket.model.IWrapModel<Y>
IWrapModel.getWrappedModel()
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
detach
in class org.apache.wicket.model.ChainingModel<Y>
ChainingModel.detach()
public boolean isAuthenticated(org.apache.wicket.Component component)
ISecureModel
isAuthenticated
in interface ISecureModel<Y>
component
- the (owning) component of the model, some models might allow null.ISecureModel.isAuthenticated(org.apache.wicket.Component)
public boolean isAuthorized(org.apache.wicket.Component component, WaspAction action)
ISecureModel
isAuthorized
in interface ISecureModel<Y>
component
- the (owning) component of the model, some models might allow null.ISecureModel.isAuthorized(org.apache.wicket.Component,
org.wicketstuff.security.actions.WaspAction)
Copyright © 2015. All rights reserved.