# Uses of Interface
com.sas.services.information.metadata.DirectoryInterface

Packages that use DirectoryInterface
Package
Description
com.sas.services.information.metadata
Information Service metadata.
com.sas.services.publish.metadata
Publish Service metadata.
com.sas.services.storedprocess.metadata
Create and modify stored process metadata and obtain stored process service objects from metadata.

- ## Uses of DirectoryInterface in com.sas.services.information.metadata

  Methods in com.sas.services.information.metadata that return DirectoryInterface
  Modifier and Type
  Method
  Description
  `DirectoryInterface`
  ContentDestination.`getBasePathDirectory()`
  If the content destination is defined as an HTTP server, this Directory object represents the base path directory of the HTTP server.
  `DirectoryInterface`
  ContentDestination.`getDirectory()`
  The Directory object that represents the content destination information.
  `DirectoryInterface`
  DirectoryInterface.`getParentDirectory()`
  Get the parent DirectoryInterface object for this directory.
  `DirectoryInterface`
  OMRDirectory.`getParentDirectory()`
  Methods in com.sas.services.information.metadata with parameters of type DirectoryInterface
  Modifier and Type
  Method
  Description
  `void`
  FileInterface.`addDirectory(DirectoryInterface directory)`
  Add a directory to this file's list of associated directories.
  `void`
  OMRFile.`addDirectory(DirectoryInterface directory)`
  `void`
  FileInterface.`removeDirectory(DirectoryInterface directory)`
  Remove this file from a Directory.
  `void`
  OMRFile.`removeDirectory(DirectoryInterface directory)`
  `void`
  ChannelInterface.`setArchivePath(DirectoryInterface basePathDir, String relativePath)`
  Set the location of the archive path to use for this channel.This method should be used when the archive path is defined to be an HTTP server.
  `void`
  OMRChannel.`setArchivePath(DirectoryInterface basePathDir, String relativePath)`
  Set the location of the archive path to use for this channel.
  `void`
  ChannelInterface.`setContentDestination(DirectoryInterface basePathDirectory, String relativePath)`
  Set the content destination for this channel.
  `void`
  OMRChannel.`setContentDestination(DirectoryInterface basePathDirectory, String relativePath)`
  `void`
  OMRSubscriber.`setContentDestination(DirectoryInterface basePathDirectory, String relativePath)`
  `void`
  SubscriberInterface.`setContentDestination(DirectoryInterface basePathDirectory, String relativePath)`
  Set the content destination for this subscriber.
  `void`
  DirectoryInterface.`setParentDirectory(DirectoryInterface parent)`
  Set the parent directory of this directory.
  `void`
  OMRDirectory.`setParentDirectory(DirectoryInterface parent)`
  Constructors in com.sas.services.information.metadata with parameters of type DirectoryInterface
  Modifier
  Constructor
  Description
  ``
  `ContentDestination(DirectoryInterface directory, String path, String basePath, ServerInterface server, DirectoryInterface basePathDirectory)`
  Constructor for ContentDestination.

- ## Uses of DirectoryInterface in com.sas.services.publish.metadata

  Subinterfaces of DirectoryInterface in com.sas.services.publish.metadata
  Modifier and Type
  Interface
  Description
  `interface`
  `PublishDirectoryInterface`
  PublishDirectoryInterface
  Methods in com.sas.services.publish.metadata with parameters of type DirectoryInterface
  Modifier and Type
  Method
  Description
  `static PublishDirectoryInterface`
  PublishDirectoryFactory.`newPublishDirectory(DirectoryInterface dir)`
  `void`
  ArchiveInterface.`setDirectory(DirectoryInterface directory)`
  Set the directory this archive exists in.
  `void`
  OMRArchive.`setDirectory(DirectoryInterface directory)`

- ## Uses of DirectoryInterface in com.sas.services.storedprocess.metadata

  Methods in com.sas.services.storedprocess.metadata that return DirectoryInterface
  Modifier and Type
  Method
  Description
  `DirectoryInterface`
  SourceCodeRepositoryUtil.`createSourceCodeRepository(String path, String description)`
  Create a new source code repository.
  `DirectoryInterface`
  StoredProcess.`getSourceCodeRepository()`
  `DirectoryInterface`
  StoredProcessInterface.`getSourceCodeRepository()`
  Gets the the source code repository smart object associated with the stored process.
  `DirectoryInterface`
  SourceCodeRepositoryUtil.`locateSourceCodeRepository(String name)`
  Locate an existing source code repository.
  Methods in com.sas.services.storedprocess.metadata that return types with arguments of type DirectoryInterface
  Modifier and Type
  Method
  Description
  `List<DirectoryInterface>`
  SourceCodeRepositoryUtil.`getSourceCodeRepositories()`
  Obtain a list of source code repositories.
  Methods in com.sas.services.storedprocess.metadata with parameters of type DirectoryInterface
  Modifier and Type
  Method
  Description
  `void`
  StoredProcess.`setSourceCodeRepository(DirectoryInterface sourceCodeRepository)`
  `void`
  StoredProcessInterface.`setSourceCodeRepository(DirectoryInterface sourceCodeRepository)`
  Sets the source code repository associated with the stored process.