| java.lang.Object org.blojsom.plugin.admin.BaseAdminPlugin org.blojsom.plugin.admin.ViewBlogUserPropertiesPlugin
ViewBlogUserPropertiesPlugin | public class ViewBlogUserPropertiesPlugin extends BaseAdminPlugin (Code) | | View custom properties for a Blog user. Useful for collecting various
information from a user upon registration.
author: Eric Broyles version: $Id: ViewBlogUserPropertiesPlugin.java,v 1.2 2007/01/17 02:35:04 czarneckid Exp $ |
BLOJSOM_PLUGIN_VIEW_USER_PROPERTIES_USER_MAP | final protected static String BLOJSOM_PLUGIN_VIEW_USER_PROPERTIES_USER_MAP(Code) | | |
FAILED_VIEW_PROPERTIES_KEY | final protected static String FAILED_VIEW_PROPERTIES_KEY(Code) | | |
USER_PROPERTIES_SUFFIX | final protected static String USER_PROPERTIES_SUFFIX(Code) | | The suffix used to identify custom user properties.
|
VIEW_USER_PROPERTIES_PAGE | final protected static String VIEW_USER_PROPERTIES_PAGE(Code) | | |
VIEW_USER_PROPERTIES_PERMISSION | final protected static String VIEW_USER_PROPERTIES_PERMISSION(Code) | | |
ViewBlogUserPropertiesPlugin | public ViewBlogUserPropertiesPlugin()(Code) | | Construct a new instance of the View blog user properties plugin
|
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
readPropertiesForUser | protected Map readPropertiesForUser(User user)(Code) | | Read the properties for the specified user
Parameters: user - User Properties for the given user |
setupPropertiesInContext | protected void setupPropertiesInContext(Map context, Blog blog)(Code) | | Add the properties for the users in a blog to the context
Parameters: context - Context Parameters: blog - Blog |
Methods inherited from org.blojsom.plugin.admin.BaseAdminPlugin | protected void addOperationResultMessage(Map context, String message)(Code)(Java Doc) protected boolean authenticateUser(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Map context, Blog blog)(Code)(Java Doc) public boolean checkPermission(Blog blog, Map permissionContext, String username, String permission)(Code)(Java Doc) public void cleanup() throws PluginException(Code)(Java Doc) public void destroy() throws PluginException(Code)(Java Doc) protected String formatAdminResource(String resourceID, String fallbackText, Locale locale, Object[] arguments)(Code)(Java Doc) protected String getAdminResource(String resourceID, String fallbackText, Locale locale)(Code)(Java Doc) protected String getUsernameFromSession(HttpServletRequest httpServletRequest, Blog blog)(Code)(Java Doc) public void init() throws PluginException(Code)(Java Doc) public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code)(Java Doc) public void setAuthorizationProvider(AuthorizationProvider authorizationProvider)(Code)(Java Doc) public void setResourceManager(ResourceManager resourceManager)(Code)(Java Doc) public void setServletConfig(ServletConfig servletConfig)(Code)(Java Doc)
|
|
|