Class IncomingProfile
java.lang.Object
ecmwf.ecpds.master.IncomingProfile
- All Implemented Interfaces:
Serializable
The Class IncomingProfile.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPermission(String permission, String filename) Check permission.Gets the destinations.Gets the incoming user setup.Gets the incoming user.Gets the permissions.booleanhasPermission(String permission) Checks if the user has been granted the named permission for any path.
-
Method Details
-
getIncomingUser
-
getECtransSetup
-
getPermissions
-
getDestinations
-
hasPermission
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
Check permission.- Parameters:
permission- the filenamefilename- the filename- Throws:
EccmdException- the eccmd exception
-