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
Fields inherited from class com.evolveum.midpoint.web.component.util.Selectable
F_SELECTED
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionShow the content of the object intended for diagnostics by system administrator.debugDump
(int indent) void
detach()
boolean
int
Obtains 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()
int
hashCode()
void
setActiveSessions
(int activeSessions) void
setCustomData
(Object customData) Stores custom data, seeSelectableBean.getCustomData()
.void
void
void
setResult
(OperationResult result) void
setResult
(OperationResultType resultType) Methods inherited from class com.evolveum.midpoint.web.component.util.Selectable
isSelected, setSelected
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
Methods 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:
getValue
in interfaceSelectableBean<T extends Serializable>
- Overrides:
getValue
in classSelectable<T extends Serializable>
-
setModel
- Specified by:
setModel
in interfaceSelectableBean<T extends Serializable>
-
getModel
-
getResult
- Specified by:
getResult
in interfaceSelectableBean<T extends Serializable>
-
setResult
- Specified by:
setResult
in interfaceSelectableBean<T extends Serializable>
-
setResult
- Specified by:
setResult
in 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: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
- Specified by:
debugDump
in interfaceDebugDumpable
-
getCustomData
Description copied from interface:SelectableBean
Obtains custom data related to T (e.g. information extracted from the value of T) into the bean. Currently used to storeTaskInformationUtil
for tasks. FIXME: TEMPORARY SOLUTION! Replace by subclassingSelectableBeanImpl
for tasks!- Specified by:
getCustomData
in interfaceSelectableBean<T extends Serializable>
-
setCustomData
Description copied from interface:SelectableBean
Stores custom data, seeSelectableBean.getCustomData()
. FIXME: TEMPORARY SOLUTION!- Specified by:
setCustomData
in interfaceSelectableBean<T extends Serializable>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-