public class UserNameResolverHelper extends Object implements EventListener
Modifier and Type | Field and Description |
---|---|
protected Cache |
cache |
protected static org.apache.commons.logging.Log |
log |
static String |
USERNAMECACHE |
Constructor and Description |
---|
UserNameResolverHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
aboutToHandleEvent(Event arg0)
Notified about an event about to be processed.
|
protected String |
computeUserFullName(DataModel model) |
protected String |
computeUserFullName(NuxeoPrincipal principal) |
protected String |
computeUserFullName(String login) |
protected Cache |
getCache() |
String |
getUserFullName(String login) |
void |
handleEvent(Event event)
An event was received.
|
protected static final org.apache.commons.logging.Log log
public static final String USERNAMECACHE
public UserNameResolverHelper()
public String getUserFullName(String login)
protected String computeUserFullName(String login)
protected String computeUserFullName(DataModel model)
protected String computeUserFullName(NuxeoPrincipal principal)
public boolean aboutToHandleEvent(Event arg0)
EventListener
aboutToHandleEvent
in interface EventListener
arg0
- the eventpublic void handleEvent(Event event)
EventListener
handleEvent
in interface EventListener
Copyright © 2016 Nuxeo SA. All rights reserved.