Class RelatedItemHelper
java.lang.Object
net.sf.basedb.clients.web.extensions.list.RelatedItemHelper
Helper class for storing request-scoped objects that may
be useful to re-use between multiple columns.
- Since:
- 3.16, 3.17
- Author:
- nicklas
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescription(package private) DbControl
(package private) final JspContext
(package private) final boolean
(package private) final SnapshotManager
private static final int
(package private) final SessionControl
(package private) TransformContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
close()
(package private) Annotatable
recycle
(DbControl dcExt, Annotatable item) Re-cycle transactions if needed and re-load the given item in the new transaction.
-
Field Details
-
MAX_ITEMS_IN_TRANSACTION
private static final int MAX_ITEMS_IN_TRANSACTION- See Also:
-
sc
-
jspContext
-
lazy
final boolean lazy -
manager
-
items
-
dc
DbControl dc -
transformContext
TransformContext transformContext
-
-
Constructor Details
-
RelatedItemHelper
RelatedItemHelper(SessionControl sc, JspContext jspContext, boolean lazy)
-
-
Method Details
-
recycle
Re-cycle transactions if needed and re-load the given item in the new transaction. -
close
void close()
-