def getViewDbTables(self,):
		""" returns the list of the tables in the database, view Names and View Classes that corresponds to a view managed by this product """
		
		projectViewsList = getProjectViewsList()
		dbTablesList = self.getDbTablesList()
		
		return [(projectView.viewLabel,projectView._tableName,projectView) for projectView in projectViewsList if projectView._tableName in dbTablesList]
	def getViewOfTable(self,tableName):
		""" returns view of table """
		projectViewsList = getProjectViewsList()
		for view in projectViewsList:
			if view._tableName == tableName:
				return view