Class DestinationMetaDataBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.DestinationMetaDataBean
All Implemented Interfaces:
DestinationMetaData, ecmwf.web.model.ModelBean, ecmwf.web.services.content.Content

public class DestinationMetaDataBean extends ecmwf.web.dao.ModelBeanBase implements DestinationMetaData
The Class DestinationMetaDataBean.
  • Field Details

    • DEFAULT_CONTENT_TYPE

      protected static final String DEFAULT_CONTENT_TYPE
      The Constant DEFAULT_CONTENT_TYPE.
      See Also:
  • Constructor Details

    • DestinationMetaDataBean

      protected DestinationMetaDataBean(String destinationNameOrType, FileListElement file, String contentType)
      Instantiates a new destination meta data bean.
      Parameters:
      destinationNameOrType - the destination name or type
      file - the file
      contentType - the content type
  • Method Details

    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getModificationDate

      public Date getModificationDate()
      Gets the modification date.
      Specified by:
      getModificationDate in interface ecmwf.web.services.content.Content
    • getLastModificationDate

      public Date getLastModificationDate()
      Gets the last modification date. Gets the last modification date.
      Specified by:
      getLastModificationDate in interface DestinationMetaData
      Returns:
      the last modification date
    • getName

      public String getName()
      Gets the name.
      Specified by:
      getName in interface ecmwf.web.services.content.Content
    • getTitle

      public String getTitle()
      Gets the title.
      Specified by:
      getTitle in interface ecmwf.web.services.content.Content
    • getInputStream

      public InputStream getInputStream() throws ecmwf.web.services.content.ContentProcessorException
      Gets the input stream.
      Specified by:
      getInputStream in interface ecmwf.web.services.content.Content
      Throws:
      ecmwf.web.services.content.ContentProcessorException
    • getAccessPath

      public String getAccessPath()
      Gets the access path.
      Specified by:
      getAccessPath in interface ecmwf.web.services.content.Content
    • getBasePathKey

      public String getBasePathKey()
      Gets the base path key.
      Specified by:
      getBasePathKey in interface ecmwf.web.services.content.Content
    • getContentType

      public String getContentType()
      Gets the content type.
      Specified by:
      getContentType in interface ecmwf.web.services.content.Content
    • getLinkByName

      public ecmwf.web.services.content.Content getLinkByName(String name) throws ecmwf.web.services.content.ContentProcessorException
      Gets the link by name.
      Specified by:
      getLinkByName in interface ecmwf.web.services.content.Content
      Throws:
      ecmwf.web.services.content.ContentProcessorException
    • getLinks

      public Collection<?> getLinks() throws ecmwf.web.services.content.ContentProcessorException
      Gets the links.
      Specified by:
      getLinks in interface ecmwf.web.services.content.Content
      Throws:
      ecmwf.web.services.content.ContentProcessorException
    • getResource

      public ecmwf.web.model.users.Resource getResource() throws ecmwf.web.services.content.ContentProcessorException
      Gets the resource.
      Specified by:
      getResource in interface ecmwf.web.services.content.Content
      Throws:
      ecmwf.web.services.content.ContentProcessorException
    • getStringRepresentation

      public String getStringRepresentation()
      Gets the string representation.
      Specified by:
      getStringRepresentation in interface ecmwf.web.services.content.Content
    • getWikiWordPath

      public String getWikiWordPath() throws ecmwf.web.services.content.ContentProcessorException
      Gets the wiki word path.
      Specified by:
      getWikiWordPath in interface ecmwf.web.services.content.Content
      Throws:
      ecmwf.web.services.content.ContentProcessorException
    • getStringContent

      public String getStringContent()
      Gets the string content.
      Returns:
      the string content