|
@@ -26,6 +26,13 @@ public class PoemsContext {
|
|
|
poemsContextContent.setProjectId(projectId);
|
|
|
}
|
|
|
|
|
|
+ public static void setContext(PoemsContextContent poemsContextContent) {
|
|
|
+ if (poemsContextContent == null) {
|
|
|
+ poemsContextContent = new PoemsContextContent();
|
|
|
+ }
|
|
|
+ context.set(poemsContextContent);
|
|
|
+ }
|
|
|
+
|
|
|
public static PoemsContextContent getContext() {
|
|
|
PoemsContextContent poemsContextContent = context.get();
|
|
|
if (poemsContextContent == null) {
|