Class ECtransProvider

java.lang.Object
ecmwf.common.ectrans.RemoteProvider
ecmwf.common.ectrans.ECtransProvider

public abstract class ECtransProvider extends RemoteProvider
The Class ECtransProvider.
  • Constructor Details

    • ECtransProvider

      public ECtransProvider()
  • Method Details

    • deploy

      public void deploy()
      Deploy.
    • getMSUser

      public abstract MSUser getMSUser(String ecuser, String msuser) throws ECtransException
      Gets the MS user.
      Parameters:
      ecuser - the ecuser
      msuser - the msuser
      Returns:
      the MS user
      Throws:
      ECtransException - the ectrans exception
    • getECUser

      public abstract ECUser getECUser(String name)
      Gets the EC user.
      Parameters:
      name - the name
      Returns:
      the EC user
    • getECtransModule

      public abstract ECtransModule getECtransModule(String name)
      Gets the ectrans module.
      Parameters:
      name - the name
      Returns:
      the ectrans module
    • isGranted

      public boolean isGranted(ECUser ecuser, MSUser msuser)
      Checks if is granted.
      Parameters:
      ecuser - the ecuser
      msuser - the msuser
      Returns:
      true, if is granted
    • isGranted

      public boolean isGranted(MSUser msuser, ECtransDestination destination)
      Checks if is granted.
      Parameters:
      msuser - the msuser
      destination - the destination
      Returns:
      true, if is granted