Package org.hippoecm.frontend.model
Class NodeModelWrapper<T>
- java.lang.Object
-
- org.hippoecm.frontend.model.NodeModelWrapper<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<T>
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
JcrFrontendListener
,JcrNodeTypesProvider
,JcrPropertiesProvider
,JcrResourceStream
,JcrTreeNode
,MixinModel
,ReferringDocumentsProvider
public abstract class NodeModelWrapper<T> extends Object implements org.apache.wicket.model.IModel<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JcrNodeModel
nodeModel
-
Constructor Summary
Constructors Constructor Description NodeModelWrapper(org.apache.wicket.model.IModel<Node> nodeModel)
NodeModelWrapper(JcrNodeModel nodeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
protected Node
getNode()
org.apache.wicket.model.IModel<Node>
getNodeModel()
T
getObject()
void
setNodeModel(org.apache.wicket.model.IModel<Node> model)
void
setObject(T object)
-
-
-
Field Detail
-
nodeModel
protected JcrNodeModel nodeModel
-
-
Constructor Detail
-
NodeModelWrapper
public NodeModelWrapper(org.apache.wicket.model.IModel<Node> nodeModel)
-
NodeModelWrapper
public NodeModelWrapper(JcrNodeModel nodeModel)
-
-
Method Detail
-
getNodeModel
public org.apache.wicket.model.IModel<Node> getNodeModel()
-
setNodeModel
public void setNodeModel(org.apache.wicket.model.IModel<Node> model)
-
getNode
protected Node getNode()
-
getObject
public T getObject()
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<T>
-
setObject
public void setObject(T object)
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<T>
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Specified by:
detach
in interfaceorg.apache.wicket.model.IModel<T>
-
-