Class Breadcrumb
java.lang.Object
com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb
- All Implemented Interfaces:
DebugDumpable,Serializable
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:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionBreadcrumb(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
Modifier and TypeMethodDescriptionShow the content of the object intended for diagnostics by system administrator.debugDump(int indent) booleanorg.apache.wicket.model.IModel<String>getIcon()org.apache.wicket.model.IModel<String>getLabel()Class<? extends org.apache.wicket.markup.html.WebPage>org.apache.wicket.request.mapper.parameter.PageParametersorg.apache.wicket.RestartResponseExceptioninthashCode()booleanbooleanorg.apache.wicket.markup.html.WebPageredirect()voidvoidvoidsetPageClass(Class<? extends org.apache.wicket.markup.html.WebPage> pageClass) voidsetParameters(org.apache.wicket.request.mapper.parameter.PageParameters parameters) voidsetUseLink(boolean useLink) voidsetVisible(boolean visible) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
Constructor Details
-
Breadcrumb
public Breadcrumb() -
Breadcrumb
-
Breadcrumb
-
Breadcrumb
-
-
Method Details
-
getPageClass
-
getParameters
public org.apache.wicket.request.mapper.parameter.PageParameters getParameters() -
setParameters
public void setParameters(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
setPageClass
-
getLabel
-
setLabel
-
getIcon
-
setIcon
-
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() -
equals
-
hashCode
public int hashCode() -
debugDump
Description copied from interface:DebugDumpableShow 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:
debugDumpin interfaceDebugDumpable- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-