org.alfresco.bm.user
Class PickUserCallback
java.lang.Object
org.alfresco.http.AbstractHttpRequestCallback<String>
org.alfresco.bm.user.PickUserCallback
- All Implemented Interfaces:
- org.alfresco.http.HttpRequestCallback<String>
public class PickUserCallback
- extends org.alfresco.http.AbstractHttpRequestCallback<String>
Callback that extracts the nodeRef from the picked user. Throws an exception
when no user can be extracted from the response.
- Author:
- Frederik Heremans
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PickUserCallback
public PickUserCallback(String userName)
onCallSuccess
public String onCallSuccess(org.apache.http.HttpResponse response)
onCallException
public String onCallException(org.apache.http.HttpResponse response,
Throwable t)
- Specified by:
onCallException in interface org.alfresco.http.HttpRequestCallback<String>- Overrides:
onCallException in class org.alfresco.http.AbstractHttpRequestCallback<String>
Copyright © 2012. All Rights Reserved.