code: private ApplicationDefinition getApplicationDefinition(Tenant tenant, String appName) {
          Iterator<DColumn> colIter =
              DBService.instance(tenant).getAllColumns(SchemaService.APPS_STORE_NAME, appName).iterator();
          if (!colIter.hasNext()) {
              return null;
          }
          return loadAppRow(tenant, getColumnMap(colIter));
      }
docs: Get the given application's application.