站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

ModelContentProvider - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.plugins.security
Interface ModelContentProvider

All Known Implementing Classes:
ForumsModelContentProvider, PermissionModelContentProvider, TestModelContentProvider, UserModelContentProvider

public interface ModelContentProvider

This interface is implemented by the a provider in order to give the authorization model he provides.

Warning : This API is subject to change.


Method Summary
 void destroy()
          Destroy.
 java.util.Iterator getChildren(java.lang.String[] path)
          Return the children getWindows for the given path or null if the item does not exist.
 Item getItem(java.lang.String[] path)
          Return the specified item or null if it does not exist.
 void init(javax.servlet.ServletContext servletContext)
          Init.
 

Method Detail

init

public void init(javax.servlet.ServletContext servletContext)
Init.


getItem

public Item getItem(java.lang.String[] path)
Return the specified item or null if it does not exist.


getChildren

public java.util.Iterator getChildren(java.lang.String[] path)
Return the children getWindows for the given path or null if the item does not exist.


destroy

public void destroy()
Destroy.