@com.adaptavist.hapi.platform.analytics.Tracked class ServiceDesk extends java.lang.Object
| Constructor and description |
|---|
ServiceDesk() |
| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
static T |
runAsCustomer(java.util.concurrent.Callable<T> callable)Executes code as if the current user was interacting via a service desk portal. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Executes code as if the current user was interacting via a service desk portal. Users with no application access (portal only users) may not be able to call APIs unless running "as a customer".
callable - code to run as a customer