public class InviteUser
extends org.alfresco.bm.http.AuthenticatedHttpEventProcessor
EVENT_NAME_USER_INVITED: The user's email address| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_API_SIGNUP_QUEUE |
static long |
DEFAULT_MAX_ACCEPT_TIME |
static long |
DEFAULT_MIN_ACCEPT_TIME |
static String |
EVENT_NAME_USER_INVITED |
| Constructor and Description |
|---|
InviteUser(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
org.alfresco.bm.user.UserDataService userDataService) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.bm.event.EventResult |
processEvent(org.alfresco.bm.event.Event event) |
void |
setApiSignupQueue(String apiSignupQueue)
Override the
default URL part to the signup queue api. |
void |
setEventNameUserInvited(String eventNameUserInvited)
Override the
default event name for 'user invited'. |
void |
setLayer7Key(String layer7Key)
Optionally set the gateway 'key' header value.
|
void |
setMaxAcceptTime(long maxAcceptTime)
Override the
default maximum time for the user to accept the invite. |
void |
setMinAcceptTime(long minAcceptTime)
Override the
default minimum time for the user to accept the invite. |
executeHttpMethodAsAdmin, executeHttpMethodAsUser, getAuthDetailProvider, getFullUrlForPath, getHttpProvider, releaseResources, setTicketBasedAuthenticationpublic static final long DEFAULT_MIN_ACCEPT_TIME
public static final long DEFAULT_MAX_ACCEPT_TIME
public static final String DEFAULT_API_SIGNUP_QUEUE
public static final String EVENT_NAME_USER_INVITED
public InviteUser(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
org.alfresco.bm.user.UserDataService userDataService)
httpClientProvider - common provider for HTTP connectionsauthenticationDetailsProvider - common provider of username-passwordsbaseUrl - the base Alfresco URL for fetching ticketsuserDataService - service handling user detailspublic void setApiSignupQueue(String apiSignupQueue)
default URL part to the signup queue api.public void setLayer7Key(String layer7Key)
layer7Key - a secret key; null or empty string to ignorepublic void setMinAcceptTime(long minAcceptTime)
default minimum time for the user to accept the invite.public void setMaxAcceptTime(long maxAcceptTime)
default maximum time for the user to accept the invite.public void setEventNameUserInvited(String eventNameUserInvited)
default event name for 'user invited'.Copyright © 2013. All Rights Reserved.