Class AbstractSummaryPanel<C extends Containerable>
- java.lang.Object
 - 
- org.apache.wicket.Component
 - 
- org.apache.wicket.MarkupContainer
 - 
- org.apache.wicket.markup.html.WebMarkupContainer
 - 
- org.apache.wicket.markup.html.panel.Panel
 - 
- com.evolveum.midpoint.gui.api.component.BasePanel<C>
 - 
- com.evolveum.midpoint.web.component.AbstractSummaryPanel<C>
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Iterable<org.apache.wicket.Component>,org.apache.wicket.event.IEventSink,org.apache.wicket.event.IEventSource,org.apache.wicket.feedback.IFeedbackContributor,org.apache.wicket.IConverterLocator,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>,org.apache.wicket.IQueueRegion,org.apache.wicket.markup.html.IHeaderContributor,org.apache.wicket.request.component.IRequestableComponent,org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
 CaseWorkItemSummaryPanel,ObjectSummaryPanel
public abstract class AbstractSummaryPanel<C extends Containerable> extends BasePanel<C>
- Author:
 - semancik
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static StringARCHETYPE_ICON_FONT_SIZEprotected org.apache.wicket.markup.html.WebMarkupContainerboxprotected static StringBOX_CSS_CLASSprotected SummaryPanelSpecificationTypeconfigurationprotected static StringICON_BOX_CSS_CLASSprotected org.apache.wicket.markup.html.WebMarkupContainericonBoxprotected static StringID_BADGESprotected static StringID_BOXprotected static StringID_DISPLAY_NAMEprotected static StringID_ICONprotected static StringID_ICON_BOXprotected static StringID_IDENTIFIERprotected static StringID_IDENTIFIER_PANELprotected static StringID_NAVIGATE_TO_OBJECT_BUTTONprotected static StringID_ORGANIZATIONprotected static StringID_PHOTOprotected static StringID_SUMMARY_TAGprotected static StringID_TAG_BOXprotected static StringID_TITLEprotected static StringID_TITLE2protected static StringID_TITLE3protected org.apache.wicket.markup.repeater.RepeatingViewtagBox 
- 
Constructor Summary
Constructors Constructor Description AbstractSummaryPanel(String id, org.apache.wicket.model.IModel<C> model, SummaryPanelSpecificationType configuration) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddAdditionalVariablesMap(VariablesMap variables)protected org.apache.wicket.model.IModel<List<Badge>>createBadgesModel()protected AssignmentHolderTypegetAssignmentHolderTypeObjectForArchetypeDisplayType()protected abstract StringgetBoxAdditionalCssClass()protected abstract StringgetDefaultIconCssClass()protected org.apache.wicket.model.IModel<String>getDefaultParentOrgModel()protected org.apache.wicket.model.IModel<String>getDisplayNameModel()protected QNamegetDisplayNamePropertyName()protected abstract StringgetIconBoxAdditionalCssClass()protected QNamegetIdentifierPropertyName()protected org.apache.wicket.model.IModel<String>getParentOrgModel()protected org.apache.wicket.model.IModel<org.apache.wicket.request.resource.AbstractResource>getPhotoModel()protected ObjectReferenceTypegetReferencedObjectToNavigate()protected org.apache.wicket.model.IModel<String>getReferenceObjectTitleModel()protected org.apache.wicket.markup.html.WebMarkupContainergetSummaryBoxPanel()protected List<SummaryTag<C>>getSummaryTagComponentList()org.apache.wicket.ComponentgetTag(String id)protected StringgetTagBoxCssClass()protected org.apache.wicket.model.IModel<String>getTitle2Model()protected QNamegetTitle2PropertyName()protected org.apache.wicket.model.IModel<String>getTitle3Model()protected QNamegetTitle3PropertyName()protected org.apache.wicket.model.IModel<String>getTitleModel()protected QNamegetTitlePropertyName()protected booleanisIdentifierVisible()protected voidonInitialize()- 
Methods inherited from class com.evolveum.midpoint.gui.api.component.BasePanel
createComponentPath, createModel, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, getFeedbackPanel, getMidpointConfiguration, getModel, getModelObject, getPageBase, getParentPage, getPrismContext, getRegistry, getSchemaService, getSession, getString, getString, getWebApplicationConfiguration, showResult 
- 
Methods inherited from class org.apache.wicket.markup.html.panel.Panel
getRegionMarkup, newMarkupSourcingStrategy 
- 
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession 
- 
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren 
- 
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.lang.Iterable
forEach, spliterator 
 - 
 
 - 
 
- 
- 
Field Detail
- 
ID_BOX
protected static final String ID_BOX
- See Also:
 - Constant Field Values
 
 
- 
ID_ICON_BOX
protected static final String ID_ICON_BOX
- See Also:
 - Constant Field Values
 
 
- 
ID_TAG_BOX
protected static final String ID_TAG_BOX
- See Also:
 - Constant Field Values
 
 
- 
ID_SUMMARY_TAG
protected static final String ID_SUMMARY_TAG
- See Also:
 - Constant Field Values
 
 
- 
ID_ICON
protected static final String ID_ICON
- See Also:
 - Constant Field Values
 
 
- 
ID_DISPLAY_NAME
protected static final String ID_DISPLAY_NAME
- See Also:
 - Constant Field Values
 
 
- 
ID_IDENTIFIER
protected static final String ID_IDENTIFIER
- See Also:
 - Constant Field Values
 
 
- 
ID_IDENTIFIER_PANEL
protected static final String ID_IDENTIFIER_PANEL
- See Also:
 - Constant Field Values
 
 
- 
ID_NAVIGATE_TO_OBJECT_BUTTON
protected static final String ID_NAVIGATE_TO_OBJECT_BUTTON
- See Also:
 - Constant Field Values
 
 
- 
ID_TITLE
protected static final String ID_TITLE
- See Also:
 - Constant Field Values
 
 
- 
ID_TITLE2
protected static final String ID_TITLE2
- See Also:
 - Constant Field Values
 
 
- 
ID_TITLE3
protected static final String ID_TITLE3
- See Also:
 - Constant Field Values
 
 
- 
ID_BADGES
protected static final String ID_BADGES
- See Also:
 - Constant Field Values
 
 
- 
ID_PHOTO
protected static final String ID_PHOTO
- See Also:
 - Constant Field Values
 
 
- 
ID_ORGANIZATION
protected static final String ID_ORGANIZATION
- See Also:
 - Constant Field Values
 
 
- 
BOX_CSS_CLASS
protected static final String BOX_CSS_CLASS
- See Also:
 - Constant Field Values
 
 
- 
ICON_BOX_CSS_CLASS
protected static final String ICON_BOX_CSS_CLASS
- See Also:
 - Constant Field Values
 
 
- 
ARCHETYPE_ICON_FONT_SIZE
protected static final String ARCHETYPE_ICON_FONT_SIZE
- See Also:
 - Constant Field Values
 
 
- 
configuration
protected SummaryPanelSpecificationType configuration
 
- 
box
protected org.apache.wicket.markup.html.WebMarkupContainer box
 
- 
tagBox
protected org.apache.wicket.markup.repeater.RepeatingView tagBox
 
- 
iconBox
protected org.apache.wicket.markup.html.WebMarkupContainer iconBox
 
 - 
 
- 
Constructor Detail
- 
AbstractSummaryPanel
public AbstractSummaryPanel(String id, org.apache.wicket.model.IModel<C> model, SummaryPanelSpecificationType configuration)
 
 - 
 
- 
Method Detail
- 
onInitialize
protected void onInitialize()
- Overrides:
 onInitializein classorg.apache.wicket.MarkupContainer
 
- 
getSummaryTagComponentList
protected List<SummaryTag<C>> getSummaryTagComponentList()
 
- 
getReferencedObjectToNavigate
protected ObjectReferenceType getReferencedObjectToNavigate()
 
- 
getReferenceObjectTitleModel
protected org.apache.wicket.model.IModel<String> getReferenceObjectTitleModel()
 
- 
addAdditionalVariablesMap
protected void addAdditionalVariablesMap(VariablesMap variables)
 
- 
getTagBoxCssClass
protected String getTagBoxCssClass()
 
- 
getTag
public org.apache.wicket.Component getTag(String id)
 
- 
getAssignmentHolderTypeObjectForArchetypeDisplayType
protected AssignmentHolderType getAssignmentHolderTypeObjectForArchetypeDisplayType()
 
- 
getDefaultIconCssClass
protected abstract String getDefaultIconCssClass()
 
- 
getIconBoxAdditionalCssClass
protected abstract String getIconBoxAdditionalCssClass()
 
- 
getBoxAdditionalCssClass
protected abstract String getBoxAdditionalCssClass()
 
- 
getIdentifierPropertyName
protected QName getIdentifierPropertyName()
 
- 
getDisplayNamePropertyName
protected QName getDisplayNamePropertyName()
 
- 
getDisplayNameModel
protected org.apache.wicket.model.IModel<String> getDisplayNameModel()
 
- 
getTitlePropertyName
protected QName getTitlePropertyName()
 
- 
getTitleModel
protected org.apache.wicket.model.IModel<String> getTitleModel()
 
- 
getTitle2PropertyName
protected QName getTitle2PropertyName()
 
- 
getTitle2Model
protected org.apache.wicket.model.IModel<String> getTitle2Model()
 
- 
getTitle3PropertyName
protected QName getTitle3PropertyName()
 
- 
getTitle3Model
protected org.apache.wicket.model.IModel<String> getTitle3Model()
 
- 
isIdentifierVisible
protected boolean isIdentifierVisible()
 
- 
getParentOrgModel
protected org.apache.wicket.model.IModel<String> getParentOrgModel()
 
- 
getDefaultParentOrgModel
protected org.apache.wicket.model.IModel<String> getDefaultParentOrgModel()
 
- 
getPhotoModel
protected org.apache.wicket.model.IModel<org.apache.wicket.request.resource.AbstractResource> getPhotoModel()
 
- 
getSummaryBoxPanel
protected org.apache.wicket.markup.html.WebMarkupContainer getSummaryBoxPanel()
 
 - 
 
 -