public void register(IModelStore model, int assignmentId, int userId) { this.model = model; this.assignmentId = assignmentId; this.userId = userId; model.addWatcher(viewUpdated, this.getUserDataKey()); }