public class CategoryBean extends AbstractJahiaObjectBean
Title: A wrapper JavaBean compliant class that uses the current request context to display values back to the output.
Description: This class encapsulates a ProcessingContext and a Category class to provide helper methods for template developers to access using Struts or JSTL accessors to beans.
Copyright: Copyright (c) 2002
Company: Jahia Ltd
| Constructor and Description |
|---|
CategoryBean()
Empty constructor to follow JavaBean compliance rules
|
CategoryBean(Category category)
Constructor for wrapper
|
| Modifier and Type | Method and Description |
|---|---|
Category |
getCategory() |
static Set<CategoryBean> |
getCategoryBeans(Set<Category> categories) |
static AbstractJahiaObjectBean |
getChildInstance(JahiaObject jahiaObject)
Static instantiator called from the getInstance() method of the
AbstractJahiaObjectBean class.
|
String |
getKey()
Returns the category key.
|
Properties |
getProperties() |
String |
getTitle() |
registerType, unregisterTypepublic CategoryBean()
public CategoryBean(Category category)
category - the category to wrappublic static AbstractJahiaObjectBean getChildInstance(JahiaObject jahiaObject)
jahiaObject - the JahiaObject instance to build this wrapper forpublic Category getCategory()
public String getTitle()
public Properties getProperties()
public static Set<CategoryBean> getCategoryBeans(Set<Category> categories)
public String getKey()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.