com.atlassian.greenhopper.web.rapid.welcome
Class WelcomeHelper
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.global.AbstractResultBuilder
com.atlassian.greenhopper.web.rapid.welcome.WelcomeHelper
@Service
public class WelcomeHelper
- extends AbstractResultBuilder
Responsible for all interactions with the welcome mat.
- Author:
- ahennecke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WelcomeHelper
public WelcomeHelper()
buildModel
public ResultEntry<WelcomeModel> buildModel()
- Returns:
- Model with data needed by the welcome mat wizard
validateProject
public ResultEntry<java.lang.Boolean> validateProject(java.lang.String name,
java.lang.String key,
java.lang.String lead,
java.lang.String workflowOption)
- Check if the project data the user entered is valid.
validateViewFind
public ResultEntry<java.lang.Boolean> validateViewFind(java.lang.String idString)
- Check if the view searched for by the user was valid
createProject
public ResultEntry<WelcomeCreateResponse> createProject(WelcomeCreateProjectRequest createProjectRequest)
- Take the data entered by the user during the wizard steps and create stuff. Trying to be transactional here - if
something goes wrong with the different creations, we're trying to clean up the mess we made as much as possible.
getNextSampleDataProjectName
public com.atlassian.fugue.Option<SampleProjectKeyNamePair> getNextSampleDataProjectName(java.lang.String presetName)
handleAnalyticsOptInRequest
public void handleAnalyticsOptInRequest(AnalyticsOptInRequest request)
- Either enables analytics or marks the user as having dismissed the message.
Copyright © 2007-2012 Atlassian. All Rights Reserved.