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 StringThe Constant DEFAULT_CONTENT_TYPE. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDestinationMetaDataBean(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.ContentgetLinkByName(String name) Gets the link by name.Collection<?> getLinks()Gets the links.Gets the modification date.getName()Gets the name.ecmwf.web.model.users.ResourceGets 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:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getModificationDate
Gets the modification date.- Specified by:
getModificationDatein interfaceecmwf.web.services.content.Content
-
getLastModificationDate
Gets the last modification date. Gets the last modification date.- Specified by:
getLastModificationDatein interfaceDestinationMetaData- Returns:
- the last modification date
-
getName
Gets the name.- Specified by:
getNamein interfaceecmwf.web.services.content.Content
-
getTitle
Gets the title.- Specified by:
getTitlein interfaceecmwf.web.services.content.Content
-
getInputStream
Gets the input stream.- Specified by:
getInputStreamin interfaceecmwf.web.services.content.Content- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getAccessPath
Gets the access path.- Specified by:
getAccessPathin interfaceecmwf.web.services.content.Content
-
getBasePathKey
Gets the base path key.- Specified by:
getBasePathKeyin interfaceecmwf.web.services.content.Content
-
getContentType
Gets the content type.- Specified by:
getContentTypein 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:
getLinkByNamein interfaceecmwf.web.services.content.Content- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getLinks
Gets the links.- Specified by:
getLinksin 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:
getResourcein interfaceecmwf.web.services.content.Content- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getStringRepresentation
Gets the string representation.- Specified by:
getStringRepresentationin interfaceecmwf.web.services.content.Content
-
getWikiWordPath
Gets the wiki word path.- Specified by:
getWikiWordPathin interfaceecmwf.web.services.content.Content- Throws:
ecmwf.web.services.content.ContentProcessorException
-
getStringContent
-