class Notifications implements Serializable {
def context
def dataBlocks
def mailLists
def workspace
Notifications(ctx,workspace){
context=ctx;
dataBlocks = new Data(context,workspace)
mailLists = this.loadJSON('data/email-lists.json')
}
def loadJSON(fname){
def retval
context.dir(workspace){
retval = jsonParse(context.readFile(fname))
}
return retval
}
"member1" ...etc.