Skip to content

Commit

Permalink
Improved websocket handlebars templating to override
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Mar 16, 2023
1 parent 54be110 commit bfb1cb2
Show file tree
Hide file tree
Showing 71 changed files with 925 additions and 306 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,10 @@ public static String staticSearchFqClassSimpleName(SiteRequestEnUS siteRequest_,
public List<String> getClassCanonicalNames() {
return classCanonicalNames;
}

public void setClassCanonicalNames(List<String> classCanonicalNames) {
this.classCanonicalNames = classCanonicalNames;
public void setClassCanonicalNames(String o) {
String l = BaseModel.staticSetClassCanonicalNames(siteRequest_, o);
if(l != null)
addClassCanonicalNames(l);
}
public static String staticSetClassCanonicalNames(SiteRequestEnUS siteRequest_, String o) {
return o;
Expand Down Expand Up @@ -881,9 +882,10 @@ public Long sqlUserKey() {
public List<String> getSaves() {
return saves;
}

public void setSaves(List<String> saves) {
this.saves = saves;
public void setSaves(String o) {
String l = BaseModel.staticSetSaves(siteRequest_, o);
if(l != null)
addSaves(l);
}
public static String staticSetSaves(SiteRequestEnUS siteRequest_, String o) {
return o;
Expand Down Expand Up @@ -1100,9 +1102,10 @@ public static String staticSearchFqObjectSuggest(SiteRequestEnUS siteRequest_, S
public List<String> getObjectText() {
return objectText;
}

public void setObjectText(List<String> objectText) {
this.objectText = objectText;
public void setObjectText(String o) {
String l = BaseModel.staticSetObjectText(siteRequest_, o);
if(l != null)
addObjectText(l);
}
public static String staticSetObjectText(SiteRequestEnUS siteRequest_, String o) {
return o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,33 @@ public JsonArray getListBaseModel() {
public void setListBaseModel(JsonArray listBaseModel) {
this.listBaseModel = listBaseModel;
}
@JsonIgnore
public void setListBaseModel(String o) {
this.listBaseModel = BaseModelGenPage.staticSetListBaseModel(siteRequest_, o);
}
public static JsonArray staticSetListBaseModel(SiteRequestEnUS siteRequest_, String o) {
if(o != null) {
return new JsonArray(o);
}
return null;
}
protected BaseModelGenPage listBaseModelInit() {
_listBaseModel(listBaseModel);
return (BaseModelGenPage)this;
}

public static JsonArray staticSearchListBaseModel(SiteRequestEnUS siteRequest_, JsonArray o) {
return o;
}

public static String staticSearchStrListBaseModel(SiteRequestEnUS siteRequest_, JsonArray o) {
return o == null ? null : o.toString();
}

public static String staticSearchFqListBaseModel(SiteRequestEnUS siteRequest_, String o) {
return BaseModelGenPage.staticSearchStrListBaseModel(siteRequest_, BaseModelGenPage.staticSearchListBaseModel(siteRequest_, BaseModelGenPage.staticSetListBaseModel(siteRequest_, o)));
}

////////////////////
// baseModelCount //
////////////////////
Expand Down Expand Up @@ -534,6 +553,8 @@ public static Object staticSetForClass(String entityVar, SiteRequestEnUS siteReq
}
public static Object staticSetBaseModelGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listBaseModel":
return BaseModelGenPage.staticSetListBaseModel(siteRequest_, o);
case "baseModelCount":
return BaseModelGenPage.staticSetBaseModelCount(siteRequest_, o);
case "pk":
Expand All @@ -554,6 +575,8 @@ public static Object staticSearchForClass(String entityVar, SiteRequestEnUS site
}
public static Object staticSearchBaseModelGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listBaseModel":
return BaseModelGenPage.staticSearchListBaseModel(siteRequest_, (JsonArray)o);
case "baseModelCount":
return BaseModelGenPage.staticSearchBaseModelCount(siteRequest_, (Integer)o);
case "pk":
Expand All @@ -574,6 +597,8 @@ public static String staticSearchStrForClass(String entityVar, SiteRequestEnUS s
}
public static String staticSearchStrBaseModelGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listBaseModel":
return BaseModelGenPage.staticSearchStrListBaseModel(siteRequest_, (JsonArray)o);
case "baseModelCount":
return BaseModelGenPage.staticSearchStrBaseModelCount(siteRequest_, (Integer)o);
case "pk":
Expand All @@ -594,6 +619,8 @@ public static String staticSearchFqForClass(String entityVar, SiteRequestEnUS si
}
public static String staticSearchFqBaseModelGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listBaseModel":
return BaseModelGenPage.staticSearchFqListBaseModel(siteRequest_, o);
case "baseModelCount":
return BaseModelGenPage.staticSearchFqBaseModelCount(siteRequest_, o);
case "pk":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,33 @@ public JsonArray getListSiteHtm() {
public void setListSiteHtm(JsonArray listSiteHtm) {
this.listSiteHtm = listSiteHtm;
}
@JsonIgnore
public void setListSiteHtm(String o) {
this.listSiteHtm = SiteHtmGenPage.staticSetListSiteHtm(siteRequest_, o);
}
public static JsonArray staticSetListSiteHtm(SiteRequestEnUS siteRequest_, String o) {
if(o != null) {
return new JsonArray(o);
}
return null;
}
protected SiteHtmGenPage listSiteHtmInit() {
_listSiteHtm(listSiteHtm);
return (SiteHtmGenPage)this;
}

public static JsonArray staticSearchListSiteHtm(SiteRequestEnUS siteRequest_, JsonArray o) {
return o;
}

public static String staticSearchStrListSiteHtm(SiteRequestEnUS siteRequest_, JsonArray o) {
return o == null ? null : o.toString();
}

public static String staticSearchFqListSiteHtm(SiteRequestEnUS siteRequest_, String o) {
return SiteHtmGenPage.staticSearchStrListSiteHtm(siteRequest_, SiteHtmGenPage.staticSearchListSiteHtm(siteRequest_, SiteHtmGenPage.staticSetListSiteHtm(siteRequest_, o)));
}

//////////////////
// siteHtmCount //
//////////////////
Expand Down Expand Up @@ -526,6 +545,8 @@ public static Object staticSetForClass(String entityVar, SiteRequestEnUS siteReq
}
public static Object staticSetSiteHtmGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSiteHtm":
return SiteHtmGenPage.staticSetListSiteHtm(siteRequest_, o);
case "siteHtmCount":
return SiteHtmGenPage.staticSetSiteHtmCount(siteRequest_, o);
case "id":
Expand All @@ -546,6 +567,8 @@ public static Object staticSearchForClass(String entityVar, SiteRequestEnUS site
}
public static Object staticSearchSiteHtmGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSiteHtm":
return SiteHtmGenPage.staticSearchListSiteHtm(siteRequest_, (JsonArray)o);
case "siteHtmCount":
return SiteHtmGenPage.staticSearchSiteHtmCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -566,6 +589,8 @@ public static String staticSearchStrForClass(String entityVar, SiteRequestEnUS s
}
public static String staticSearchStrSiteHtmGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSiteHtm":
return SiteHtmGenPage.staticSearchStrListSiteHtm(siteRequest_, (JsonArray)o);
case "siteHtmCount":
return SiteHtmGenPage.staticSearchStrSiteHtmCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -586,6 +611,8 @@ public static String staticSearchFqForClass(String entityVar, SiteRequestEnUS si
}
public static String staticSearchFqSiteHtmGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSiteHtm":
return SiteHtmGenPage.staticSearchFqListSiteHtm(siteRequest_, o);
case "siteHtmCount":
return SiteHtmGenPage.staticSearchFqSiteHtmCount(siteRequest_, o);
case "id":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,33 @@ public JsonArray getListIotNode() {
public void setListIotNode(JsonArray listIotNode) {
this.listIotNode = listIotNode;
}
@JsonIgnore
public void setListIotNode(String o) {
this.listIotNode = IotNodeGenPage.staticSetListIotNode(siteRequest_, o);
}
public static JsonArray staticSetListIotNode(SiteRequestEnUS siteRequest_, String o) {
if(o != null) {
return new JsonArray(o);
}
return null;
}
protected IotNodeGenPage listIotNodeInit() {
_listIotNode(listIotNode);
return (IotNodeGenPage)this;
}

public static JsonArray staticSearchListIotNode(SiteRequestEnUS siteRequest_, JsonArray o) {
return o;
}

public static String staticSearchStrListIotNode(SiteRequestEnUS siteRequest_, JsonArray o) {
return o == null ? null : o.toString();
}

public static String staticSearchFqListIotNode(SiteRequestEnUS siteRequest_, String o) {
return IotNodeGenPage.staticSearchStrListIotNode(siteRequest_, IotNodeGenPage.staticSearchListIotNode(siteRequest_, IotNodeGenPage.staticSetListIotNode(siteRequest_, o)));
}

//////////////////
// iotNodeCount //
//////////////////
Expand Down Expand Up @@ -526,6 +545,8 @@ public static Object staticSetForClass(String entityVar, SiteRequestEnUS siteReq
}
public static Object staticSetIotNodeGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listIotNode":
return IotNodeGenPage.staticSetListIotNode(siteRequest_, o);
case "iotNodeCount":
return IotNodeGenPage.staticSetIotNodeCount(siteRequest_, o);
case "id":
Expand All @@ -546,6 +567,8 @@ public static Object staticSearchForClass(String entityVar, SiteRequestEnUS site
}
public static Object staticSearchIotNodeGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listIotNode":
return IotNodeGenPage.staticSearchListIotNode(siteRequest_, (JsonArray)o);
case "iotNodeCount":
return IotNodeGenPage.staticSearchIotNodeCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -566,6 +589,8 @@ public static String staticSearchStrForClass(String entityVar, SiteRequestEnUS s
}
public static String staticSearchStrIotNodeGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listIotNode":
return IotNodeGenPage.staticSearchStrListIotNode(siteRequest_, (JsonArray)o);
case "iotNodeCount":
return IotNodeGenPage.staticSearchStrIotNodeCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -586,6 +611,8 @@ public static String staticSearchFqForClass(String entityVar, SiteRequestEnUS si
}
public static String staticSearchFqIotNodeGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listIotNode":
return IotNodeGenPage.staticSearchFqListIotNode(siteRequest_, o);
case "iotNodeCount":
return IotNodeGenPage.staticSearchFqIotNodeCount(siteRequest_, o);
case "id":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,33 @@ public JsonArray getListSitePage() {
public void setListSitePage(JsonArray listSitePage) {
this.listSitePage = listSitePage;
}
@JsonIgnore
public void setListSitePage(String o) {
this.listSitePage = SitePageGenPage.staticSetListSitePage(siteRequest_, o);
}
public static JsonArray staticSetListSitePage(SiteRequestEnUS siteRequest_, String o) {
if(o != null) {
return new JsonArray(o);
}
return null;
}
protected SitePageGenPage listSitePageInit() {
_listSitePage(listSitePage);
return (SitePageGenPage)this;
}

public static JsonArray staticSearchListSitePage(SiteRequestEnUS siteRequest_, JsonArray o) {
return o;
}

public static String staticSearchStrListSitePage(SiteRequestEnUS siteRequest_, JsonArray o) {
return o == null ? null : o.toString();
}

public static String staticSearchFqListSitePage(SiteRequestEnUS siteRequest_, String o) {
return SitePageGenPage.staticSearchStrListSitePage(siteRequest_, SitePageGenPage.staticSearchListSitePage(siteRequest_, SitePageGenPage.staticSetListSitePage(siteRequest_, o)));
}

///////////////////
// sitePageCount //
///////////////////
Expand Down Expand Up @@ -526,6 +545,8 @@ public static Object staticSetForClass(String entityVar, SiteRequestEnUS siteReq
}
public static Object staticSetSitePageGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSitePage":
return SitePageGenPage.staticSetListSitePage(siteRequest_, o);
case "sitePageCount":
return SitePageGenPage.staticSetSitePageCount(siteRequest_, o);
case "id":
Expand All @@ -546,6 +567,8 @@ public static Object staticSearchForClass(String entityVar, SiteRequestEnUS site
}
public static Object staticSearchSitePageGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSitePage":
return SitePageGenPage.staticSearchListSitePage(siteRequest_, (JsonArray)o);
case "sitePageCount":
return SitePageGenPage.staticSearchSitePageCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -566,6 +589,8 @@ public static String staticSearchStrForClass(String entityVar, SiteRequestEnUS s
}
public static String staticSearchStrSitePageGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSitePage":
return SitePageGenPage.staticSearchStrListSitePage(siteRequest_, (JsonArray)o);
case "sitePageCount":
return SitePageGenPage.staticSearchStrSitePageCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -586,6 +611,8 @@ public static String staticSearchFqForClass(String entityVar, SiteRequestEnUS si
}
public static String staticSearchFqSitePageGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSitePage":
return SitePageGenPage.staticSearchFqListSitePage(siteRequest_, o);
case "sitePageCount":
return SitePageGenPage.staticSearchFqSitePageCount(siteRequest_, o);
case "id":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,33 @@ public JsonArray getListSystemEvent() {
public void setListSystemEvent(JsonArray listSystemEvent) {
this.listSystemEvent = listSystemEvent;
}
@JsonIgnore
public void setListSystemEvent(String o) {
this.listSystemEvent = SystemEventGenPage.staticSetListSystemEvent(siteRequest_, o);
}
public static JsonArray staticSetListSystemEvent(SiteRequestEnUS siteRequest_, String o) {
if(o != null) {
return new JsonArray(o);
}
return null;
}
protected SystemEventGenPage listSystemEventInit() {
_listSystemEvent(listSystemEvent);
return (SystemEventGenPage)this;
}

public static JsonArray staticSearchListSystemEvent(SiteRequestEnUS siteRequest_, JsonArray o) {
return o;
}

public static String staticSearchStrListSystemEvent(SiteRequestEnUS siteRequest_, JsonArray o) {
return o == null ? null : o.toString();
}

public static String staticSearchFqListSystemEvent(SiteRequestEnUS siteRequest_, String o) {
return SystemEventGenPage.staticSearchStrListSystemEvent(siteRequest_, SystemEventGenPage.staticSearchListSystemEvent(siteRequest_, SystemEventGenPage.staticSetListSystemEvent(siteRequest_, o)));
}

//////////////////////
// systemEventCount //
//////////////////////
Expand Down Expand Up @@ -526,6 +545,8 @@ public static Object staticSetForClass(String entityVar, SiteRequestEnUS siteReq
}
public static Object staticSetSystemEventGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSystemEvent":
return SystemEventGenPage.staticSetListSystemEvent(siteRequest_, o);
case "systemEventCount":
return SystemEventGenPage.staticSetSystemEventCount(siteRequest_, o);
case "id":
Expand All @@ -546,6 +567,8 @@ public static Object staticSearchForClass(String entityVar, SiteRequestEnUS site
}
public static Object staticSearchSystemEventGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSystemEvent":
return SystemEventGenPage.staticSearchListSystemEvent(siteRequest_, (JsonArray)o);
case "systemEventCount":
return SystemEventGenPage.staticSearchSystemEventCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -566,6 +589,8 @@ public static String staticSearchStrForClass(String entityVar, SiteRequestEnUS s
}
public static String staticSearchStrSystemEventGenPage(String entityVar, SiteRequestEnUS siteRequest_, Object o) {
switch(entityVar) {
case "listSystemEvent":
return SystemEventGenPage.staticSearchStrListSystemEvent(siteRequest_, (JsonArray)o);
case "systemEventCount":
return SystemEventGenPage.staticSearchStrSystemEventCount(siteRequest_, (Integer)o);
case "id":
Expand All @@ -586,6 +611,8 @@ public static String staticSearchFqForClass(String entityVar, SiteRequestEnUS si
}
public static String staticSearchFqSystemEventGenPage(String entityVar, SiteRequestEnUS siteRequest_, String o) {
switch(entityVar) {
case "listSystemEvent":
return SystemEventGenPage.staticSearchFqListSystemEvent(siteRequest_, o);
case "systemEventCount":
return SystemEventGenPage.staticSearchFqSystemEventCount(siteRequest_, o);
case "id":
Expand Down
Loading

0 comments on commit bfb1cb2

Please sign in to comment.