public class BrowseService extends Object implements IBrowseService<org.apache.wicket.model.IModel<javax.jcr.Node>>, IRefreshable, org.apache.wicket.model.IDetachable
The IBrowseService interface should be used by plugins that do not form part of the "browser". The model services should be used by plugins that do.
The folder and document models are always JcrNodeModel instances, though the nodes may not exist. When the document node is null, this implies that no document is selected from the folder. Setting the folder node to null is not supported.
BROWSER_ID
Constructor and Description |
---|
BrowseService(IPluginContext context,
IPluginConfig config,
JcrNodeModel document) |
Modifier and Type | Method and Description |
---|---|
void |
browse(org.apache.wicket.model.IModel<javax.jcr.Node> model)
Use the supplied model of a Node (or Version) to set folder and document models.
|
void |
detach() |
void |
refresh() |
void |
selectFolder(org.apache.wicket.model.IModel<javax.jcr.Node> model) |
public BrowseService(IPluginContext context, IPluginConfig config, JcrNodeModel document)
public void selectFolder(org.apache.wicket.model.IModel<javax.jcr.Node> model)
public void browse(org.apache.wicket.model.IModel<javax.jcr.Node> model)
browse
in interface IBrowseService<org.apache.wicket.model.IModel<javax.jcr.Node>>
public void refresh()
refresh
in interface IRefreshable
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.