Class SelectableBeanImpl<T extends Serializable>
java.lang.Object
com.evolveum.midpoint.web.component.util.Selectable<T>
com.evolveum.midpoint.web.component.util.SelectableBeanImpl<T>
- All Implemented Interfaces:
DebugDumpable,SelectableBean<T>,SelectableRow<T>,Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
AssignmentEditorDto,RoleAnalysisTablePageable,TaskErrorSelectableBeanImpl,TaskErrorSelectableBeanImplOld,TreeSelectableBean
public class SelectableBeanImpl<T extends Serializable>
extends Selectable<T>
implements SelectableBean<T>, org.apache.wicket.model.IDetachable
- Author:
- lazyman
- See Also:
-
Field Summary
FieldsFields inherited from class com.evolveum.midpoint.web.component.util.Selectable
F_SELECTEDFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShow the content of the object intended for diagnostics by system administrator.debugDump(int indent) voiddetach()booleanintObtains custom data related to T (e.g. information extracted from the value of T) into the bean.org.apache.wicket.model.IModel<T>getModel()getNodes()getValue()inthashCode()voidsetActiveSessions(int activeSessions) voidsetCustomData(Object customData) Stores custom data, seeSelectableBean.getCustomData().voidvoidvoidsetResult(OperationResult result) voidsetResult(OperationResultType resultType) Methods inherited from class com.evolveum.midpoint.web.component.util.Selectable
isSelected, setSelectedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.web.component.util.SelectableBean
isSelected, setSelected
-
Field Details
-
F_VALUE
- See Also:
-
-
Constructor Details
-
SelectableBeanImpl
public SelectableBeanImpl() -
SelectableBeanImpl
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceSelectableBean<T extends Serializable>- Overrides:
getValuein classSelectable<T extends Serializable>
-
setModel
- Specified by:
setModelin interfaceSelectableBean<T extends Serializable>
-
getModel
-
getResult
- Specified by:
getResultin interfaceSelectableBean<T extends Serializable>
-
setResult
- Specified by:
setResultin interfaceSelectableBean<T extends Serializable>
-
setResult
- Specified by:
setResultin interfaceSelectableBean<T extends Serializable>- Throws:
SchemaException
-
setActiveSessions
public void setActiveSessions(int activeSessions) -
getActiveSessions
public int getActiveSessions() -
getNodes
-
setNodes
-
hashCode
public int hashCode() -
equals
-
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
-
getCustomData
Description copied from interface:SelectableBeanObtains custom data related to T (e.g. information extracted from the value of T) into the bean. Currently used to storeTaskInformationUtilfor tasks. FIXME: TEMPORARY SOLUTION! Replace by subclassingSelectableBeanImplfor tasks!- Specified by:
getCustomDatain interfaceSelectableBean<T extends Serializable>
-
setCustomData
Description copied from interface:SelectableBeanStores custom data, seeSelectableBean.getCustomData(). FIXME: TEMPORARY SOLUTION!- Specified by:
setCustomDatain interfaceSelectableBean<T extends Serializable>
-
detach
public void detach()- Specified by:
detachin interfaceorg.apache.wicket.model.IDetachable
-