/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param resource will be passed to <code>init</code> * @param properties will be passed to <code>init</code> * @param navTreeLevel will be passed to <code>init</code> * * @see #init(String, Map, int) */ public CmsJspNavElement(String resource, Map properties, int navTreeLevel) { init(resource, properties, navTreeLevel); }
/** * Same as calling {@link #init(String, Map, int, Locale) * init(String, Hashtable, -1, null)}.<p> * * @param resource the name of the resource to extract the navigation * information from * @param properties the properties of the resource read from the vfs */ public void init(String resource, Map<String, String> properties) { init(resource, properties, -1, null); }
/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param resource will be passed to <code>init</code> * @param properties will be passed to <code>init</code> * * @see #init(String, Map) */ public CmsJspNavElement(String resource, Map properties) { init(resource, properties, -1); }
/** * Same as calling {@link #init(String, Map, int) * init(String, Hashtable, -1)}.<p> * * @param resource the name of the resource to extract the navigation * information from * @param properties the properties of the resource read from the vfs */ public void init(String resource, Map properties) { init(resource, properties, -1); }
/** * Initialized the member variables of this bean with the values * provided.<p> * * A resource will be in the navigation if at least one of the two properties * <code>I_CmsConstants.PROPERTY_NAVTEXT</code> or * <code>I_CmsConstants.PROPERTY_NAVPOS</code> is set. Otherwise * it will be ignored.<p> * * This bean does provides static methods to create a new instance * from the context of a current CmsObject. Call these static methods * in order to get a properly initialized bean.<p> * * @param resource the name of the resource to extract the navigation * information from * @param properties the properties of the resource read from the vfs * @param navTreeLevel tree level of this resource, for building * navigation trees * * @see CmsJspNavBuilder#getNavigationForResource() */ public void init(String resource, Map<String, String> properties, int navTreeLevel) { init(resource, properties, navTreeLevel, null); }
/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param sitePath will be passed to <code>init</code> * @param properties will be passed to <code>init</code> * * @see #init(String, Map) * * @deprecated use {@link #CmsJspNavElement(String, CmsResource, Map)} */ @Deprecated public CmsJspNavElement(String sitePath, Map<String, String> properties) { init(sitePath, properties, -1, null); }
/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param sitePath will be passed to <code>init</code> * @param properties will be passed to <code>init</code> * @param navTreeLevel will be passed to <code>init</code> * * @see #init(String, Map, int, Locale) * * @deprecated use {@link #CmsJspNavElement(String, CmsResource, Map, int)} */ @Deprecated public CmsJspNavElement(String sitePath, Map<String, String> properties, int navTreeLevel) { init(sitePath, properties, navTreeLevel, null); }
/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param sitePath will be passed to <code>init</code> * @param resource the resource * @param properties will be passed to <code>init</code> */ public CmsJspNavElement(String sitePath, CmsResource resource, Map<String, String> properties) { setResource(resource); init(sitePath, properties); }
/** * Create a new instance of the bean and calls the init method * with the provided parameters.<p> * * @param sitePath will be passed to <code>init</code> * @param resource the resource * @param properties will be passed to <code>init</code> * @param navTreeLevel will be passed to <code>init</code> * @param locale the locale for which properties should be accessed. * * @see #init(String, Map, int, Locale) */ public CmsJspNavElement( String sitePath, CmsResource resource, Map<String, String> properties, int navTreeLevel, Locale locale) { setResource(resource); init(sitePath, properties, navTreeLevel, locale); }