Class IncomingProfile

java.lang.Object
ecmwf.ecpds.master.IncomingProfile
All Implemented Interfaces:
Serializable

public final class IncomingProfile extends Object implements Serializable
The Class IncomingProfile.
See Also:
  • Method Details

    • getIncomingUser

      public IncomingUser getIncomingUser()
      Gets the incoming user.
      Returns:
      the incoming user
    • getECtransSetup

      public ECtransSetup getECtransSetup()
      Gets the incoming user setup.
      Returns:
      the incoming user
    • getPermissions

      public List<IncomingPermission> getPermissions()
      Gets the permissions.
      Returns:
      the permissions
    • getDestinations

      public List<Destination> getDestinations()
      Gets the destinations.
      Returns:
      the destinations
    • hasPermission

      public boolean hasPermission(String permission)
      Checks if the user has been granted the named permission for any path.
      Parameters:
      permission - the operation name (e.g. "put", "delete")
      Returns:
      true if at least one IncomingPermission with that operation name exists
    • checkPermission

      public void checkPermission(String permission, String filename) throws EccmdException
      Check permission.
      Parameters:
      permission - the filename
      filename - the filename
      Throws:
      EccmdException - the eccmd exception