WorkflowManager.start(context, (WorkspaceItem) subInfo.submission);   userHasReached(subInfo, SUBMISSION_COMPLETE); doStep(context, request, response, subInfo, SUBMISSION_COMPLETE);  context.complete();
    private void processCC(Context context,			   HttpServletRequest request,                           HttpServletResponse response,                           SubmissionInfo subInfo)	throws ServletException, IOException, SQLException, AuthorizeException    {        String buttonPressed = UIUtil.getSubmitButton(request, "submit_next");        // Firstly, check for a click of the cancel button.        if (buttonPressed.equals("submit_cancel"))        {             doCancellation(request,                 response,                 subInfo,                 CC_LICENSE,                 CC_LICENSE);             return;         }  	// Secondly, check if the person wants CC, and if so, set it 	if (!buttonPressed.equals("submit_no_cc"))        {     	    Item item = subInfo.submission.getItem(); 	 	    // set the CC license 	    CC.setLicense(context, item, request.getParameter("cc_license_url"));  	} 	 	// Start the workflow 	WorkflowManager.start(context, (WorkspaceItem) subInfo.submission);  	// we're done! 	userHasReached(subInfo, SUBMISSION_COMPLETE); 	doStep(context, request, response, subInfo, SUBMISSION_COMPLETE);  	context.complete();     }