Interface PhoneCallRequestContext

All Superinterfaces:
CommunicationContext, InstantiableContext, LogContext, RequestContext<PhoneCallResponse>

public interface PhoneCallRequestContext extends RequestContext<PhoneCallResponse>, InstantiableContext
  • Method Details

    • setToNumber

      void setToNumber(String toNumber)
      Parameters:
      toNumber -
    • setNuclosUserAccount

      void setNuclosUserAccount(NuclosUserCommunicationAccount userAccount)
      Parameters:
      userAccount -
    • setBusinessObject

      <T extends BusinessObject<?>> void setBusinessObject(T businessObject)
      Parameters:
      businessObject -
    • getToNumber

      String getToNumber()
      Returns:
      the called phone number
    • getNuclosUserAccount

      NuclosUserCommunicationAccount getNuclosUserAccount()
      Returns:
      the calling user (account)
    • getBusinessObject

      <T extends BusinessObject<?>> T getBusinessObject(Class<T> t)
      Returns:
      the business object the number belongs to