Class TransferMethodBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.TransferMethodBean
All Implemented Interfaces:
OjbImplementedBean, TransferMethod, ecmwf.web.model.ModelBean

public class TransferMethodBean extends ecmwf.web.dao.ModelBeanBase implements TransferMethod, OjbImplementedBean
The Class TransferMethodBean.
  • Constructor Details

    • TransferMethodBean

      protected TransferMethodBean(TransferMethod m)
      Instantiates a new transfer method bean.
      Parameters:
      m - the m
  • Method Details

    • getOjbImplementation

      public DataBaseObject getOjbImplementation()
      Gets the ojb implementation. Gets the ojb implementation.
      Specified by:
      getOjbImplementation in interface OjbImplementedBean
      Returns:
      the ojb implementation
    • 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
    • getId

      public String getId()
      Gets the id.
      Specified by:
      getId in interface ecmwf.web.model.ModelBean
      Overrides:
      getId in class ecmwf.web.dao.ModelBeanBase
    • getActive

      public boolean getActive()
      Gets the active. Gets the active.
      Specified by:
      getActive in interface TransferMethod
      Returns:
      the active
    • getName

      public String getName()
      Gets the name. Gets the name.
      Specified by:
      getName in interface TransferMethod
      Returns:
      the name
    • getResolve

      public boolean getResolve()
      Gets the resolve. Gets the resolve.
      Specified by:
      getResolve in interface TransferMethod
      Returns:
      the resolve
    • getRestrict

      public boolean getRestrict()
      Gets the restrict. Gets the restrict.
      Specified by:
      getRestrict in interface TransferMethod
      Returns:
      the restrict
    • getValue

      public String getValue()
      Gets the value. Gets the value.
      Specified by:
      getValue in interface TransferMethod
      Returns:
      the value
    • getComment

      public String getComment()
      Gets the comment. Gets the comment.
      Specified by:
      getComment in interface TransferMethod
      Returns:
      the comment
    • getModuleGuide

      public String getModuleGuide()
      Gets the guide JSP path for the underlying transfer module, or null if no guide is available. Gets the guide JSP path for the underlying transfer module, or null if no guide is available.
      Specified by:
      getModuleGuide in interface TransferMethod
      Returns:
      the module guide
    • getEcTransModuleName

      public String getEcTransModuleName()
      Gets the ec trans module name. Gets the ec trans module name.
      Specified by:
      getEcTransModuleName in interface TransferMethod
      Returns:
      the ec trans module name
    • getEcTransModule

      public EcTransModule getEcTransModule() throws TransferException
      Gets the ec trans module. Gets the ec trans module.
      Specified by:
      getEcTransModule in interface TransferMethod
      Returns:
      the ec trans module
      Throws:
      TransferException - the transfer exception
    • setActive

      public void setActive(boolean param)
      Sets the active. Sets the active.
      Specified by:
      setActive in interface TransferMethod
      Parameters:
      param - the new active
    • setComment

      public void setComment(String param)
      Sets the comment. Sets the comment.
      Specified by:
      setComment in interface TransferMethod
      Parameters:
      param - the new comment
    • setName

      public void setName(String param)
      Sets the name. Sets the name.
      Specified by:
      setName in interface TransferMethod
      Parameters:
      param - the new name
    • setResolve

      public void setResolve(boolean param)
      Sets the resolve. Sets the resolve.
      Specified by:
      setResolve in interface TransferMethod
      Parameters:
      param - the new resolve
    • setRestrict

      public void setRestrict(boolean param)
      Sets the restrict. Sets the restrict.
      Specified by:
      setRestrict in interface TransferMethod
      Parameters:
      param - the new restrict
    • setValue

      public void setValue(String param)
      Sets the value. Sets the value.
      Specified by:
      setValue in interface TransferMethod
      Parameters:
      param - the new value
    • setEcTransModuleName

      public void setEcTransModuleName(String name)
      Sets the ec trans module name. Sets the ec trans module name.
      Specified by:
      setEcTransModuleName in interface TransferMethod
      Parameters:
      name - the new ec trans module name
    • getHosts

      public Collection<Host> getHosts() throws TransferException
      Gets the hosts. Gets the hosts.
      Specified by:
      getHosts in interface TransferMethod
      Returns:
      the hosts
      Throws:
      TransferException - the transfer exception