Interface PhoneCallRequestContext
- All Superinterfaces:
CommunicationContext
,InstantiableContext
,LogContext
,RequestContext<PhoneCallResponse>
public interface PhoneCallRequestContext
extends RequestContext<PhoneCallResponse>, InstantiableContext
-
Method Summary
Modifier and TypeMethodDescription<T extends BusinessObject<?>>
TgetBusinessObject
(Class<T> t) <T extends BusinessObject<?>>
voidsetBusinessObject
(T businessObject) void
setNuclosUserAccount
(NuclosUserCommunicationAccount userAccount) void
setToNumber
(String toNumber) Methods inherited from interface org.nuclos.api.context.communication.CommunicationContext
getPort
Methods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarn
Methods inherited from interface org.nuclos.api.context.communication.RequestContext
clearResponse, getResponse, isResponse
-
Method Details
-
setToNumber
- Parameters:
toNumber
-
-
setNuclosUserAccount
- Parameters:
userAccount
-
-
setBusinessObject
- Parameters:
businessObject
-
-
getToNumber
String getToNumber()- Returns:
- the called phone number
-
getNuclosUserAccount
NuclosUserCommunicationAccount getNuclosUserAccount()- Returns:
- the calling user (account)
-
getBusinessObject
- Returns:
- the business object the number belongs to
-