Class ConfluenceSource

All Implemented Interfaces:
ddf.catalog.resource.ResourceReader, ddf.catalog.service.ConfiguredService, ddf.catalog.source.ConnectedSource, ddf.catalog.source.FederatedSource, ddf.catalog.source.RemoteSource, ddf.catalog.source.Source, ddf.catalog.util.Describable, ddf.catalog.util.Maskable, org.codice.ddf.platform.services.common.Describable

public class ConfluenceSource extends MaskableImpl implements ddf.catalog.source.FederatedSource, ddf.catalog.source.ConnectedSource, ddf.catalog.service.ConfiguredService
  • Constructor Details

    • ConfluenceSource

      public ConfluenceSource(ddf.catalog.filter.FilterAdapter adapter, ddf.security.encryption.EncryptionService encryptionService, ConfluenceInputTransformer transformer, ddf.catalog.resource.ResourceReader reader, ddf.catalog.data.AttributeRegistry attributeRegistry, org.codice.ddf.cxf.client.ClientBuilderFactory clientBuilderFactory)
  • Method Details

    • init

      public void init()
    • getConfigurationPid

      public String getConfigurationPid()
      Specified by:
      getConfigurationPid in interface ddf.catalog.service.ConfiguredService
    • setConfigurationPid

      public void setConfigurationPid(String configurationPid)
      Specified by:
      setConfigurationPid in interface ddf.catalog.service.ConfiguredService
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface ddf.catalog.source.Source
    • isAvailable

      public boolean isAvailable(ddf.catalog.source.SourceMonitor callback)
      Specified by:
      isAvailable in interface ddf.catalog.source.Source
    • query

      public ddf.catalog.operation.SourceResponse query(ddf.catalog.operation.QueryRequest request) throws ddf.catalog.source.UnsupportedQueryException
      Specified by:
      query in interface ddf.catalog.source.Source
      Throws:
      ddf.catalog.source.UnsupportedQueryException
    • getContentTypes

      public Set<ddf.catalog.data.ContentType> getContentTypes()
      Specified by:
      getContentTypes in interface ddf.catalog.source.Source
    • retrieveResource

      public ddf.catalog.operation.ResourceResponse retrieveResource(URI uri, Map<String,Serializable> arguments) throws IOException, ddf.catalog.resource.ResourceNotFoundException, ddf.catalog.resource.ResourceNotSupportedException
      Specified by:
      retrieveResource in interface ddf.catalog.resource.ResourceReader
      Throws:
      IOException
      ddf.catalog.resource.ResourceNotFoundException
      ddf.catalog.resource.ResourceNotSupportedException
    • getSupportedSchemes

      public Set<String> getSupportedSchemes()
      Specified by:
      getSupportedSchemes in interface ddf.catalog.resource.ResourceReader
    • getOptions

      public Set<String> getOptions(ddf.catalog.data.Metacard metacard)
      Specified by:
      getOptions in interface ddf.catalog.resource.ResourceReader
    • setAvailabilityPollInterval

      public void setAvailabilityPollInterval(long availabilityPollInterval)
    • setEndpointUrl

      public void setEndpointUrl(String endpointUrl)
    • setAuthenticationType

      public void setAuthenticationType(String authenticationType)
    • setUsername

      public void setUsername(String username)
    • setPassword

      public void setPassword(String password)
    • setExpandedSections

      public void setExpandedSections(List<String> expandedSections)
    • setIncludeArchivedSpaces

      public void setIncludeArchivedSpaces(Boolean includeArchivedSpaces)
    • setIncludePageContent

      public void setIncludePageContent(Boolean includePageContent)
    • setConfluenceSpaces

      public void setConfluenceSpaces(List<String> confluenceSpace)
    • setExcludeSpaces

      public void setExcludeSpaces(Boolean excludeSpaces)
    • setAttributeOverrides

      public void setAttributeOverrides(List<String> attributes)
    • setBodyExpansion

      public void setBodyExpansion(String bodyExpansion)
    • getClientFactory

      public org.codice.ddf.cxf.client.SecureCxfClientFactory<SearchResource> getClientFactory()
    • setSecurityLogger

      public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)
    • setPermissions

      public void setPermissions(ddf.security.permission.Permissions permissions)