| com.methodhead.persistable.Persistable com.methodhead.shim.NavModule
NavModule | public class NavModule extends Persistable implements Module(Code) | | A NavModule. The following fields are defined:
- int sitecontext_id = 0
- String template = ""
- String panel = ""
- Boolean hideroot = false
- String type = ""
- String separator = ""
- String jsp = ""
- Integer startlev = 1
- Integer contextlev = 1
- Integer depthlev = 1
- Integer toplev = 1
- String header = ""
- String link = ""
- String curlink = ""
- String footer = ""
|
Method Summary | |
public ActionForward | configure(ActionMapping mapping, DynaActionForm form, HttpServletRequest request, HttpServletResponse response) | public void | copyTo(Page page) | public void | create() | public void | destroy() | public void | display(HttpServletRequest request, HttpServletResponse response, JspWriter out) | public String | getName() | public void | init(Page page, String panel) | public boolean | isConfigurable() | public boolean | isEditable() | public void | load() Loads the nav for the site context, template, and panel set up when init
is called. | protected void | renderTextSeparatedLink(JspWriter out, Link link, Link cur, boolean isEditMode) Renders a link in a text-separated nav. | public void | save() Saves the nav for the site context, template, and panel set up when init
is called; be sure the module is created first. | public void | update(String text) Not implemented. |
DEFAULT_SEPARATOR | final public static String DEFAULT_SEPARATOR(Code) | | |
TYPE_TEXTSEPARATED | final public static String TYPE_TEXTSEPARATED(Code) | | |
dynaClass_ | protected static DynaClass dynaClass_(Code) | | |
NavModule | public NavModule()(Code) | | |
NavModule | public NavModule(DynaClass dynaClass)(Code) | | |
create | public void create()(Code) | | |
destroy | public void destroy()(Code) | | |
isConfigurable | public boolean isConfigurable()(Code) | | |
isEditable | public boolean isEditable()(Code) | | |
load | public void load()(Code) | | Loads the nav for the site context, template, and panel set up when init
is called.
|
renderTextSeparatedLink | protected void renderTextSeparatedLink(JspWriter out, Link link, Link cur, boolean isEditMode) throws IOException(Code) | | Renders a link in a text-separated nav. link and
curlink are used if they are set, otherwise a plain hyperlink is
renedered.
|
save | public void save()(Code) | | Saves the nav for the site context, template, and panel set up when init
is called; be sure the module is created first.
|
update | public void update(String text)(Code) | | Not implemented.
|
Methods inherited from com.methodhead.persistable.Persistable | public static void deleteAll(DynaClass dynaClass, String whereClause) throws PersistableException(Code)(Java Doc) public void deleteAll(String whereClause) throws PersistableException(Code)(Java Doc) public boolean getBoolean(String property)(Code)(Java Doc) public Date getDate(String property)(Code)(Java Doc) public double getDouble(String property)(Code)(Java Doc) public int getInt(String property)(Code)(Java Doc) public static String getSqlLiteral(String value)(Code)(Java Doc) public static String getSqlLiteral(Boolean value)(Code)(Java Doc) public static String getSqlLiteral(Date value)(Code)(Java Doc) protected String getSqlLiteral(DynaProperty dynaProperty)(Code)(Java Doc) public String getString(String property)(Code)(Java Doc) public void load(String whereClause)(Code)(Java Doc) public static List loadAll(DynaClass dynaClass, String whereClause, String orderByClause)(Code)(Java Doc) public List loadAll(String whereClause, String orderByClause)(Code)(Java Doc) public void save(String whereClause) throws PersistableException(Code)(Java Doc) public void saveNew()(Code)(Java Doc) public void setAsObject(String property, Object value)(Code)(Java Doc) public void setAsString(String property, String value)(Code)(Java Doc) public void setBoolean(String property, boolean value)(Code)(Java Doc) public void setDate(String property, Date value)(Code)(Java Doc) public void setDouble(String property, double value)(Code)(Java Doc) public void setInt(String property, int value)(Code)(Java Doc) protected static void setProperty(DynaBean persistable, DynaProperty dynaProperty, ResultSet rs)(Code)(Java Doc) public void setString(String property, String value)(Code)(Java Doc)
|
|
|