Class Breadcrumb
- java.lang.Object
-
- com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class Breadcrumb extends Object implements Serializable, DebugDumpable
Breadcrumb object that is stored in the session. It represents the way "back" to the main menu.We need to be extra careful about the memory references here. This object goes in the session. Therefore we cannot allow models to be stored in the session. The models may have references to (possibly big) pages and other rich objects. The references are there mostly to load the models. But we do not want that. We want to store only the values. Therefore the model values are copied to simple strings on model detach().
- Author:
- Viliam Repan (lazyman), semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description Breadcrumb()
Breadcrumb(org.apache.wicket.model.IModel<String> labelModel)
Breadcrumb(org.apache.wicket.model.IModel<String> label, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Breadcrumb(org.apache.wicket.model.IModel<String> labelModel, org.apache.wicket.model.IModel<String> iconModel, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
boolean
equals(Object o)
org.apache.wicket.model.IModel<String>
getIcon()
org.apache.wicket.model.IModel<String>
getLabel()
Class<? extends org.apache.wicket.markup.html.WebPage>
getPageClass()
org.apache.wicket.request.mapper.parameter.PageParameters
getParameters()
org.apache.wicket.RestartResponseException
getRestartResponseException()
int
hashCode()
boolean
isUseLink()
boolean
isVisible()
org.apache.wicket.markup.html.WebPage
redirect()
void
setIcon(org.apache.wicket.model.IModel<String> icon)
void
setLabel(org.apache.wicket.model.IModel<String> label)
void
setPageClass(Class<? extends org.apache.wicket.markup.html.WebPage> pageClass)
void
setParameters(org.apache.wicket.request.mapper.parameter.PageParameters parameters)
void
setUseLink(boolean useLink)
void
setVisible(boolean visible)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
Breadcrumb
public Breadcrumb()
-
Breadcrumb
public Breadcrumb(org.apache.wicket.model.IModel<String> labelModel)
-
Breadcrumb
public Breadcrumb(org.apache.wicket.model.IModel<String> label, Class<? extends org.apache.wicket.markup.html.WebPage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters parameters)
-
-
Method Detail
-
getPageClass
public Class<? extends org.apache.wicket.markup.html.WebPage> getPageClass()
-
getParameters
public org.apache.wicket.request.mapper.parameter.PageParameters getParameters()
-
setParameters
public void setParameters(org.apache.wicket.request.mapper.parameter.PageParameters parameters)
-
setPageClass
public void setPageClass(Class<? extends org.apache.wicket.markup.html.WebPage> pageClass)
-
getLabel
public org.apache.wicket.model.IModel<String> getLabel()
-
setLabel
public void setLabel(org.apache.wicket.model.IModel<String> label)
-
getIcon
public org.apache.wicket.model.IModel<String> getIcon()
-
setIcon
public void setIcon(org.apache.wicket.model.IModel<String> icon)
-
isUseLink
public boolean isUseLink()
-
setUseLink
public void setUseLink(boolean useLink)
-
isVisible
public boolean isVisible()
-
setVisible
public void setVisible(boolean visible)
-
redirect
public org.apache.wicket.markup.html.WebPage redirect()
-
getRestartResponseException
public org.apache.wicket.RestartResponseException getRestartResponseException()
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-