code: public static CmsSubscriptionReadMode modeForName(String modeName) {
  
          if (MODE_NAME_ALL.equals(modeName)) {
              return ALL;
          } else if (MODE_NAME_VISITED.equals(modeName)) {
              return VISITED;
          }
          return UNVISITED;
      }
docs: Returns the subscription read mode for the given mode name.<p>
  
  @param modeName the subscription read mode name to get the read mode for
  
  @return the subscription read mode for the given mode name