Class RelatedItemHelper
java.lang.Object
net.sf.basedb.clients.web.extensions.list.RelatedItemHelper
class RelatedItemHelper extends Object
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
Nested Classes Modifier and Type Class Description (package private) static class
RelatedItemHelper.CloseMyDbControl
-
Field Summary
Fields Modifier and Type Field Description (package private) DbControl
dc
private Set<Integer>
items
(package private) JspContext
jspContext
(package private) boolean
lazy
(package private) SnapshotManager
manager
private static int
MAX_ITEMS_IN_TRANSACTION
(package private) SessionControl
sc
(package private) TransformContext
transformContext
-
Constructor Summary
Constructors Constructor Description RelatedItemHelper(SessionControl sc, JspContext jspContext, boolean lazy)
-
Method Summary
Modifier and Type Method Description (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:
- Constant Field Values
-
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()
-