Interface Prospect.ServiceAsync
-
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Prospect
public static interface Prospect.ServiceAsync extends ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Prospect>
createProspect(Prospect templateObject, Boolean commit)
Future<?>
createProspect(Prospect templateObject, Boolean commit, ResponseHandler<Prospect> callback)
Future<Prospect>
getObject()
Async version ofProspect.Service.getObject()
Future<?>
getObject(ResponseHandler<Prospect> callback)
Future<List<Question>>
getSurveyQuestions()
Async version ofProspect.Service.getSurveyQuestions()
Future<?>
getSurveyQuestions(ResponseHandler<List<Question>> callback)
void
setMask(Prospect.Mask mask)
Prospect.Mask
withMask()
Use the existing mask on this service or create it if not presentProspect.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Prospect.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Prospect.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Prospect.Mask mask)
-
createProspect
Future<?> createProspect(Prospect templateObject, Boolean commit, ResponseHandler<Prospect> callback)
-
getObject
Future<Prospect> getObject()
Async version ofProspect.Service.getObject()
-
getObject
Future<?> getObject(ResponseHandler<Prospect> callback)
-
getSurveyQuestions
Future<List<Question>> getSurveyQuestions()
Async version ofProspect.Service.getSurveyQuestions()
-
getSurveyQuestions
Future<?> getSurveyQuestions(ResponseHandler<List<Question>> callback)
-
-