def get_objective_query_session_for_objective_bank(self, objective_bank_id=None):
        """Gets the OsidSession associated with the objective query service
        for the given objective bank.

        arg:    objectiveBankId (osid.id.Id): the Id of the objective
                bank
        return: (osid.learning.ObjectiveQuerySession) - an
                ObjectiveQuerySession
        raise:  NotFound - objectiveBankId not found
        raise:  NullArgument - objectiveBankId is null
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_objective_query() or
                supports_visible_federation() is false
        compliance: optional - This method must be implemented if
                    supports_objective_query() and
                    supports_visible_federation() are true.

        """
        if not objective_bank_id:
            raise NullArgument
        if not self.supports_objective_query():
            raise Unimplemented()
        try:
            from . import sessions
        except ImportError:
            raise OperationFailed()
        try:
            session = sessions.ObjectiveQuerySession(objective_bank_id, runtime=self._runtime)
        except AttributeError:
            raise OperationFailed()
        return session
def get_objective_query_session_for_objective_bank ( self , objective_bank_id = None ) : if not objective_bank_id : raise NullArgument if not self . supports_objective_query ( ) : raise Unimplemented ( ) try : from . import sessions except ImportError : raise OperationFailed ( ) try : session = sessions . ObjectiveQuerySession ( objective_bank_id , runtime = self . _runtime ) except AttributeError : raise OperationFailed ( ) return session
Gets the OsidSession associated with the objective query service
        for the given objective bank.

        arg:    objectiveBankId (osid.id.Id): the Id of the objective
                bank
        return: (osid.learning.ObjectiveQuerySession) - an
                ObjectiveQuerySession
        raise:  NotFound - objectiveBankId not found
        raise:  NullArgument - objectiveBankId is null
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_objective_query() or
                supports_visible_federation() is false
        compliance: optional - This method must be implemented if
                    supports_objective_query() and
                    supports_visible_federation() are true.