*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface ArchiveInterface

All Superinterfaces:
MetadataInterface, PackageInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface ArchiveInterface extends PackageInterface
This is a generic interface to represent a published SAS package persisted to a file system.

  • Method Details

    • setChannel

      void setChannel(ChannelInterface channel) throws ServiceException, RemoteException
      Set the Channel that this Archive belongs to. This can only be done once. If the Channel has already been set, this method will throw an IllegalStateException.
      Parameters:
      channel - The Channel that owns this archive.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setAbstract

      void setAbstract(String text) throws ServiceException, RemoteException
      Set the archive abstract. This is a longer description of the contents of the archive.
      Parameters:
      text - The new archive abstract text.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setDescription

      void setDescription(String text) throws RemoteException
      Set the Archive description.
      Specified by:
      setDescription in interface MetadataInterface
      Parameters:
      text - The object description.
      Throws:
      RemoteException - if an error occurs
    • setProperties

      void setProperties(AttributeMapInterface map) throws ServiceException, RemoteException
      Set the name/value pairs on the Archive.
      Parameters:
      map - The map of attributes to set on this Archive.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setCreationDate

      void setCreationDate(long date) throws ServiceException, RemoteException
      Set the creation date for an archive.

      Parameters:
      date - A long representing the creation date/time of the archive file.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setExpirationDate

      void setExpirationDate(long date) throws ServiceException, RemoteException
      Set the expiration date for an archive.

      Parameters:
      date - A long representing the expiration date/time of the archive file.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setDirectory

      void setDirectory(DirectoryInterface directory) throws ServiceException, RemoteException
      Set the directory this archive exists in.

      Parameters:
      directory - A Directory object this archive is contained in.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.
    • setPublisher

      void setPublisher(PersonInterface publisher) throws ServiceException, RemoteException
      Set the identity of the person who performed the publish.

      Parameters:
      publisher - The person who published the archive.
      Throws:
      ServiceException - If a repository or service level error occurs.
      RemoteException - In the event of remote object failure.