public String getStep() { if (CUPurapConstants.IWantDocumentSteps.CUSTOMER_DATA_STEP.equalsIgnoreCase(step) || CUPurapConstants.IWantDocumentSteps.ITEMS_AND_ACCT_DATA_STEP.equalsIgnoreCase(step) || CUPurapConstants.IWantDocumentSteps.VENDOR_STEP.equalsIgnoreCase(step) || CUPurapConstants.IWantDocumentSteps.ROUTING_STEP.equalsIgnoreCase(step)) { return step; } else { return CUPurapConstants.IWantDocumentSteps.REGULAR; } }
/** * Returns the title at the top of the IWant Document. * * @return */ public String getHeaderTitle() { String iwntTitle = headerTitle; if (CUPurapConstants.IWantDocumentSteps.CUSTOMER_DATA_STEP.equals(step)) { iwntTitle = "Welcome to the I Want Doc! Submit your order request in just 4 easy steps. <br/>I Want Document Step #1"; } else if (CUPurapConstants.IWantDocumentSteps.ITEMS_AND_ACCT_DATA_STEP.equals(step)) { iwntTitle = "I Want Document Step #2"; } else if (CUPurapConstants.IWantDocumentSteps.VENDOR_STEP.equals(step)) { iwntTitle = "I Want Document Step #3"; } else if (CUPurapConstants.IWantDocumentSteps.ROUTING_STEP.equals(step)) { iwntTitle = "I Want Document Step #4"; } else if (CUPurapConstants.IWantDocumentSteps.REGULAR.equals(step)) { // iwntTitle = getDocument().getDocumentTitle(); iwntTitle = KRADServiceLocatorWeb.getDataDictionaryService() .getDocumentLabelByClass(IWantDocument.class); } return iwntTitle; }