code: public PhaseIdType[] getDefaultPhases(String viewId) {
          PhaseIdType[] defaultPhases = null;
          RestrictAtPhase restrictAtPhase = viewConfigStore.getAnnotationData(viewId, RestrictAtPhase.class);
          if (restrictAtPhase != null) {
              defaultPhases = restrictAtPhase.value();
          }
          if (defaultPhases == null) {
              defaultPhases = RestrictAtPhaseDefault.DEFAULT_PHASES;
          }
          return defaultPhases;
      }
docs: Get the default phases at which restrictions should be applied, by looking for a @RestrictAtPhase on a matching
  
  @param viewId
  @return default phases for a view
  @ViewPattern, falling back on global defaults if none are found