Examples of FeedType


Examples of com.google.enterprise.connector.sharepoint.client.SPConstants.FeedType

        LOGGER.log(Level.WARNING,
            "Call to getAclForWebApplicationPolicy failed.", e);
      }
    });

    FeedType feedType = FeedType.getFeedType(strFeedType);
    SPDocument webAppPolicy = null;
    if (result == null) {
      return webAppPolicy;
    }
    String siteCollectionUrlToUse;
View Full Code Here

Examples of com.google.enterprise.connector.sharepoint.client.SPConstants.FeedType

    }
    if (null == configData.get(SPConstants.PUSH_ACLS)) {
      this.pushAcls = SPConstants.OFF;
    }

    FeedType feedType = null;
    String kdcServer = configData.get(SPConstants.KDC_SERVER);

    if (!Strings.isNullOrEmpty(kdcServer)) {
      kerberosSetUp(configData);
    } else {
View Full Code Here

Examples of com.google.enterprise.connector.spi.SpiConstants.FeedType

    checkSubmissions();

    // Apply any configured Document filters to the document.
    document = documentFilterFactory.newDocumentFilter(document);

    FeedType feedType;
    try {
      feedType = DocUtils.getFeedType(document);
    } catch (RuntimeException e) {
      LOGGER.log(Level.WARNING,
          "Rethrowing RuntimeException as RepositoryDocumentException", e);
      throw new RepositoryDocumentException(e);
    }

    // All feeds in a feed file must be of the same type.
    // If the feed would change type, send the feed off to the GSA
    // and start a new one.
    // TODO: Fix this check to allow ACLs in any type feed.
    if (xmlFeed != null && !feedType.isCompatible(xmlFeed.getFeedType())) {
      if (LOGGER.isLoggable(Level.FINE)) {
        LOGGER.fine("A new feedType, " + feedType + ", requires a new feed for "
            + connectorName + ". Closing feed and sending to GSA.");
      }
      submitFeed();
View Full Code Here

Examples of com.google.enterprise.connector.spi.SpiConstants.FeedType

   * Illegal values for feed type will be ignored and the default behavior will
   * be used.
   */
  public static FeedType getFeedType(Document document)
      throws RepositoryException {
    FeedType feedType = null;
    String feedTypeValue =
        getOptionalString(document, SpiConstants.PROPNAME_FEEDTYPE);
    if (feedTypeValue != null) {
      try {
        return FeedType.valueOf(feedTypeValue.toUpperCase());
View Full Code Here

Examples of com.google.enterprise.connector.spi.SpiConstants.FeedType

   *
   * @param feedTypeString the String representation of a
   *        {@link SpiConstants.FeedType}
   */
  public void setFeedType(String feedTypeString) {
    FeedType type;
    try {
      type = Enum.valueOf(FeedType.class, feedTypeString.toUpperCase());
      if (type != FeedType.CONTENT && type != FeedType.CONTENTURL) {
        LOGGER.warning("Unsupported FeedType: " + feedTypeString);
        type = FeedType.CONTENT;
      }
    } catch (IllegalArgumentException e) {
      LOGGER.warning("Unknown FeedType: " + feedTypeString);
      type = FeedType.CONTENT;
    }
    if (LOGGER.isLoggable(Level.CONFIG))
      LOGGER.config("FEED TYPE: " + type.toString());
    this.feedType = type;
  }
View Full Code Here

Examples of com.googlecode.mashups.services.generic.api.FeedType

        // Generate Feed.
        String   outputType        = request.getParameter(Mashups4JSFConstants.OUTPUT_TYPE);
        String   responseType      = "";
        Object   feedClassInstance = null;
        Class    feedClass         = null;
        FeedType feedType          = null;
       
        try {
         
          if (feedClassParameter != null) {
            // If the feedClass parameter is already specified, DO NOTHING.
View Full Code Here

Examples of com.microsoft.windowsazure.services.media.implementation.atom.FeedType

            ServiceException {
        validateNotNull(stream, "stream");
        validateNotNull(contentType, "contentType");

        List<T> entries = new ArrayList<T>();
        FeedType feed = unmarshalFeed(stream);
        Class<?> marshallingContentType = getMarshallingContentType(contentType);

        for (Object feedChild : feed.getFeedChildren()) {
            EntryType entry = asEntry(feedChild);
            if (entry != null) {
                entries.add(contentFromEntry(contentType,
                        marshallingContentType, entry));
            }
View Full Code Here

Examples of com.salas.bb.domain.FeedType

     */
    public void commitChanges()
    {
        if (feed == null) return;

        FeedType feedType = getFeedType();
        if (getInitialFeedType() != feedType) feed.setType(feedType);

        // Custom view mode
        int mode = getViewMode();
        feed.setCustomViewModeEnabled(isCustomViewModeEnabled());
View Full Code Here

Examples of com.salas.bb.domain.FeedType

        if (idI < QueryType.RESERVED_IDS) throw new LoaderException("ID must be larger than " +
            QueryType.RESERVED_IDS + " (the last reserved)");

        // Type check
        if (StringUtils.isEmpty(type)) type = "text";
        FeedType typeI = TYPES.get(type.trim().toLowerCase());
        if (typeI == null) throw new LoaderException("Type can be: text, link, image");

        // Mode check
        if (StringUtils.isEmpty(mode)) mode = "full";
        Integer modeI = MODES.get(mode.trim().toLowerCase());
View Full Code Here

Examples of gov.nasa.arc.mct.components.FeedProvider.FeedType

      TableCellSettings cellSettings) {
    String rv = feedValue;


    // apply decimal places formatting if appropriate
    FeedType feedType = provider.getFeedType();
    int decimalPlaces = cellSettings.getNumberOfDecimals();
    if (feedType == FeedType.FLOATING_POINT
        || feedType == FeedType.INTEGER) {
      if (decimalPlaces == -1) {
        decimalPlaces = (feedType == FeedType.FLOATING_POINT) ? TableCellSettings.DEFAULT_DECIMALS
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.