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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
The Constant DEFAULT_CONTENT_TYPE. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DestinationMetaDataBean
(String destinationNameOrType, FileListElement file, String contentType) Instantiates a new destination meta data bean. -
Method Summary
Modifier and TypeMethodDescriptionGets the access path.Gets the base path key.Gets the bean interface name.Gets the content type.Gets the input stream.Gets the last modification date.ecmwf.web.services.content.Content
getLinkByName
(String name) Gets the link by name.Collection
<?> getLinks()
Gets the links.Gets the modification date.getName()
Gets the name.ecmwf.web.model.users.Resource
Gets the resource.Gets the string content.Gets the string representation.getTitle()
Gets the title.Gets the wiki word path.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getId, getIntId, insert, insert, isNew, save, save, setId
-
Field Details
-
DEFAULT_CONTENT_TYPE
-
-
Constructor Details
-
DestinationMetaDataBean
protected DestinationMetaDataBean(String destinationNameOrType, FileListElement file, String contentType) Instantiates a new destination meta data bean.- Parameters:
destinationNameOrType
- the destination name or typefile
- the filecontentType
- the content type
-
-
Method Details
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getModificationDate
Gets the modification date.- Specified by:
getModificationDate
in interfaceecmwf.web.services.content.Content
-
getLastModificationDate
Gets the last modification date. Gets the last modification date.- Specified by:
getLastModificationDate
in interfaceDestinationMetaData
- Returns:
- the last modification date
-
getName
Gets the name.- Specified by:
getName
in interfaceecmwf.web.services.content.Content
-
getTitle
Gets the title.- Specified by:
getTitle
in interfaceecmwf.web.services.content.Content
-
getInputStream
Gets the input stream.- Specified by:
getInputStream
in interfaceecmwf.web.services.content.Content
- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getAccessPath
Gets the access path.- Specified by:
getAccessPath
in interfaceecmwf.web.services.content.Content
-
getBasePathKey
Gets the base path key.- Specified by:
getBasePathKey
in interfaceecmwf.web.services.content.Content
-
getContentType
Gets the content type.- Specified by:
getContentType
in interfaceecmwf.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 interfaceecmwf.web.services.content.Content
- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getLinks
Gets the links.- Specified by:
getLinks
in interfaceecmwf.web.services.content.Content
- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getResource
public ecmwf.web.model.users.Resource getResource() throws ecmwf.web.services.content.ContentProcessorExceptionGets the resource.- Specified by:
getResource
in interfaceecmwf.web.services.content.Content
- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getStringRepresentation
Gets the string representation.- Specified by:
getStringRepresentation
in interfaceecmwf.web.services.content.Content
-
getWikiWordPath
Gets the wiki word path.- Specified by:
getWikiWordPath
in interfaceecmwf.web.services.content.Content
- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getStringContent
-