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

SchemeStore - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.security
Interface SchemeStore

All Known Implementing Classes:
SchemeStoreImpl

public interface SchemeStore


Method Summary
 Scheme getScheme(java.lang.String id)
          Return the scheme for the given id or null if it does not exist.
 void removeScheme(java.lang.String id)
          Remove an existing scheme.
 void saveScheme(java.lang.String id, Scheme scheme)
          Save scheme.
 

Method Detail

getScheme

public Scheme getScheme(java.lang.String id)
Return the scheme for the given id or null if it does not exist.

Parameters:
id - the scheme tid
Returns:
the corresponding scheme

removeScheme

public void removeScheme(java.lang.String id)
Remove an existing scheme.

Parameters:
id - the scheme id

saveScheme

public void saveScheme(java.lang.String id,
                       Scheme scheme)
Save scheme.

Parameters:
id - the scheme id
scheme - the scheme