public static function getJobSubmissionDetails( $jobSubmissionInterfaceId, $jsp){
    //jsp = job submission protocol type
    if( $jsp == JobSubmissionProtocol::LOCAL)
        return Airavata::getLocalJobSubmission( $jobSubmissionInterfaceId);
    else if( $jsp == JobSubmissionProtocol::SSH)
        return Airavata::getSSHJobSubmission( $jobSubmissionInterfaceId);
    else if( $jsp == JobSubmissionProtocol::UNICORE)
        return Airavata::getUnicoreJobSubmission( $jobSubmissionInterfaceId);
    else if( $jsp == JobSubmissionProtocol::CLOUD)
        return Airavata::getCloudJobSubmission( $jobSubmissionInterfaceId);

    //globus get function not present ??	
}
 public static function getJobSubmissionDetails($jobSubmissionInterfaceId, $jsp)
 {
     //jsp = job submission protocol type
     if ($jsp == JobSubmissionProtocol::LOCAL) {
         return Airavata::getLocalJobSubmission(Session::get('authz-token'), $jobSubmissionInterfaceId);
     } else {
         if ($jsp == JobSubmissionProtocol::SSH || $jsp == JobSubmissionProtocol::SSH_FORK) {
             return Airavata::getSSHJobSubmission(Session::get('authz-token'), $jobSubmissionInterfaceId);
         } else {
             if ($jsp == JobSubmissionProtocol::UNICORE) {
                 return Airavata::getUnicoreJobSubmission(Session::get('authz-token'), $jobSubmissionInterfaceId);
             } else {
                 if ($jsp == JobSubmissionProtocol::CLOUD) {
                     return Airavata::getCloudJobSubmission(Session::get('authz-token'), $jobSubmissionInterfaceId);
                 }
             }
         }
     }
     //globus get function not present ??
 }