org.alfresco.bm.user
Class GetInviteStatus
java.lang.Object
org.alfresco.bm.event.AbstractEventProcessor
org.alfresco.bm.user.GetInviteStatus
- All Implemented Interfaces:
- org.alfresco.bm.event.EventProcessor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
public class GetInviteStatus
- extends org.alfresco.bm.event.AbstractEventProcessor
Check status of Alfresco Cloud invite.
Input
Signup id and key.
Data
A MongoDB collection containing the details of the user matching the input email address.
Actions
Fetches the user data from the MongoDB using the inbound email address.
Retrieves the invitation details for the user.
Checks the status of the invitation.
Output
EVENT_NAME_ACCEPT_INVITE: The user's email address
- Since:
- 1.0
- Author:
- David Caruana
| Fields inherited from class org.alfresco.bm.event.AbstractEventProcessor |
DEFAULT_WARN_DELAY, logger |
| Methods inherited from class org.alfresco.bm.event.AbstractEventProcessor |
getWarnDelay, register, setBeanName, setEventName, setEventNames, setRegistry, setWarnDelay |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ADMIN_USER
public static final String DEFAULT_ADMIN_USER
- See Also:
- Constant Field Values
DEFAULT_ADMIN_PWD
public static final String DEFAULT_ADMIN_PWD
- See Also:
- Constant Field Values
DEFAULT_API_ACCOUNT_SIGNUP_QUEUE
public static final String DEFAULT_API_ACCOUNT_SIGNUP_QUEUE
- See Also:
- Constant Field Values
EVENT_NAME_ACCEPT_INVITE
public static final String EVENT_NAME_ACCEPT_INVITE
- See Also:
- Constant Field Values
GetInviteStatus
public GetInviteStatus(org.springframework.data.mongodb.core.MongoTemplate mongo,
String userData,
String alfrescoUrl)
- Parameters:
mongo - connection to MongoDBuserData - name of DB collection containing user detailsalfrescoUrl - the Alfresco root URL e.g. http://localhost:8080/
setApiSignupQueue
public void setApiSignupQueue(String apiSignupQueue)
- Override the
default URL part to the signup queue API.
setEventNameAcceptInvite
public void setEventNameAcceptInvite(String eventNameAcceptInvite)
- Override the
default event name for 'accept invite'.
processEvent
public org.alfresco.bm.event.EventResult processEvent(org.alfresco.bm.event.Event event)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.