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) voidsetNuclosUserAccount(NuclosUserCommunicationAccount userAccount) voidsetToNumber(String toNumber) Methods inherited from interface org.nuclos.api.context.communication.CommunicationContext
getPortMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarnMethods 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
-