public class MyCompanyPageController
extends AbstractSearchPageController
| Modifier and Type | Class and Description |
|---|---|
static class |
MyCompanyPageController.SelectOption
Data class used to hold a drop down select option value.
|
| Constructor and Description |
|---|
MyCompanyPageController() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
addCostCenter(Model model) |
protected java.lang.String |
assignPermissionName(B2BPermissionForm b2BPermissionForm) |
protected boolean |
checkEndDateIsBeforeStartDateForBudget(B2BBudgetForm b2BBudgetForm) |
protected java.lang.String |
createUser(B2BCustomerForm b2BCustomerForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
protected java.lang.String |
createUser(Model model) |
protected java.lang.String |
editCostCenterDetails(java.lang.String costCenterCode,
Model model) |
java.lang.String |
editPermission(B2BPermissionForm b2BPermissionForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
java.lang.String |
editPermission(java.lang.String permissionCode,
Model model) |
protected java.lang.String |
editUser(java.lang.String user,
B2BCustomerForm b2BCustomerForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
java.lang.String |
editUser(java.lang.String user,
Model model) |
java.util.List<MyCompanyPageController.SelectOption> |
getAllCostCenters() |
java.util.List<MyCompanyPageController.SelectOption> |
getB2BPeriodRanges() |
java.util.List<MyCompanyPageController.SelectOption> |
getB2BPermissionTypes() |
java.util.List<MyCompanyPageController.SelectOption> |
getB2BUnits() |
protected java.util.List<MyCompanyPageController.SelectOption> |
getBranchSelectOptions(java.util.List<B2BUnitNodeData> branchNodes) |
protected java.lang.String |
getCancelUrl(java.lang.String url,
java.lang.String contextPath,
java.lang.String param) |
java.lang.String |
getCurrentB2BStore() |
protected int |
getSearchPageSize() |
protected UserFacade |
getUserFacade() |
protected void |
initBinder(ServletRequestDataBinder binder) |
protected java.lang.String |
manageUserDetail(java.lang.String user,
Model model) |
protected B2BBudgetData |
populateB2BBudgetDataFromForm(B2BBudgetForm b2BBudgetForm) |
protected B2BCostCenterData |
populateB2BCostCenterDataFromForm(B2BCostCenterForm b2BCostCenterForm) |
protected B2BPermissionData |
populateB2BPermissionDataFromForm(B2BPermissionForm b2BPermissionForm) |
protected java.util.List<MyCompanyPageController.SelectOption> |
populateCurrencySelectBox(java.util.Collection<CurrencyData> currencies) |
protected B2BSelectionData |
populateDisplayNamesForRoles(B2BSelectionData b2BSelectionData) |
protected java.util.List<MyCompanyPageController.SelectOption> |
populateRolesCheckBoxes(java.util.List<java.lang.String> roles) |
protected java.util.List<MyCompanyPageController.SelectOption> |
populateSelectBoxForString(java.util.List<java.lang.String> listOfStrings) |
protected java.lang.String |
saveCostCenter(B2BCostCenterForm b2BCostCenterForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
protected java.lang.String |
unitDetails(java.lang.String unit,
Model model) |
protected java.lang.String |
updateCostCenterDetails(B2BCostCenterForm b2BCostCenterForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
protected java.lang.String |
viewCostCenterDetails(java.lang.String costCenterCode,
Model model) |
protected static final java.lang.String MY_COMPANY_CMS_PAGE
protected static final java.lang.String ORGANIZATION_MANAGEMENT_CMS_PAGE
protected static final java.lang.String MANAGE_UNITS_CMS_PAGE
protected static final java.lang.String MANAGE_USERGROUPS_CMS_PAGE
protected static final java.lang.String MANAGE_USER_DETAILS_URL
protected static final java.lang.String MANAGE_UNIT_DETAILS_URL
protected static final java.lang.String MANAGE_USERGROUP_DETAILS_URL
protected static final java.lang.String MANAGE_COST_CENTER_BASE_URL
protected static final java.lang.String MANAGE_COSTCENTERS_EDIT_URL
protected static final java.lang.String MANAGE_COSTCENTERS_VIEW_URL
protected static final java.lang.String MANAGE_COSTCENTERS_SELECTBUDGET_URL
protected static final java.lang.String MANAGE_PERMISSIONS_VIEW_URL
protected static final java.lang.String MANAGE_PERMISSIONS_EDIT_URL
protected static final java.lang.String REDIRECT_TO_UNIT_DETAILS
protected static final java.lang.String REDIRECT_TO_COSTCENTER_DETAILS
protected static final java.lang.String REDIRECT_TO_USER_DETAILS
protected static final java.lang.String REDIRECT_TO_BUDGET_DETAILS
protected static final java.lang.String REDIRECT_TO_PERMISSION_DETAILS
protected static final java.lang.String REDIRECT_TO_USERGROUP_DETAILS
protected static final java.lang.String REDIRECT_TO_USER_GROUPS_PAGE
protected static final java.lang.String SINGLE_WHITEPSACE
protected static final java.lang.String MANAGE_UNITS_BASE_URL
protected static final java.lang.String MANAGE_USERGROUPS_BASE_URL
protected static final java.lang.String ADD_COSTCENTER_URL
protected static final java.lang.String EDIT_COSTCENTER_URL
protected CheckoutFacade checkoutFacade
protected StoreSessionFacade storeSessionFacade
protected CustomerFacade customerFacade
protected B2BApprovalProcessFacade b2bApprovalProcessFacade
protected B2BUserFacade b2bUserFacade
protected B2BUnitFacade b2bUnitFacade
protected B2BPermissionFacade b2bPermissionFacade
protected B2BCostCenterFacade b2bCostCenterFacade
protected B2BBudgetFacade budgetFacade
protected B2BUserGroupFacade b2bUserGroupFacade
protected MyCompanyBreadcrumbBuilder myCompanyBreadcrumbBuilder
protected B2BPermissionFormValidator b2BPermissionFormValidator
protected B2BBudgetFormValidator b2BBudgetFormValidator
protected FormatFactory formatFactory
protected B2BApproverFacade b2bApproverFacade
protected BaseStoreService baseStoreService
protected UserFacade getUserFacade()
public java.util.List<MyCompanyPageController.SelectOption> getB2BUnits()
public java.util.List<MyCompanyPageController.SelectOption> getAllCostCenters()
public java.util.List<MyCompanyPageController.SelectOption> getB2BPeriodRanges()
public java.util.List<MyCompanyPageController.SelectOption> getB2BPermissionTypes()
protected void initBinder(ServletRequestDataBinder binder)
public java.lang.String getCurrentB2BStore()
protected java.lang.String unitDetails(java.lang.String unit,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String addCostCenter(Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String saveCostCenter(B2BCostCenterForm b2BCostCenterForm, BindingResult bindingResult, Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String viewCostCenterDetails(java.lang.String costCenterCode,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String editCostCenterDetails(java.lang.String costCenterCode,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String updateCostCenterDetails(B2BCostCenterForm b2BCostCenterForm, BindingResult bindingResult, Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String createUser(Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String createUser(B2BCustomerForm b2BCustomerForm, BindingResult bindingResult, Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String editUser(java.lang.String user,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String editUser(java.lang.String user,
B2BCustomerForm b2BCustomerForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected java.lang.String manageUserDetail(java.lang.String user,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected B2BCostCenterData populateB2BCostCenterDataFromForm(B2BCostCenterForm b2BCostCenterForm)
protected B2BBudgetData populateB2BBudgetDataFromForm(B2BBudgetForm b2BBudgetForm) throws java.text.ParseException
java.text.ParseExceptionprotected B2BPermissionData populateB2BPermissionDataFromForm(B2BPermissionForm b2BPermissionForm) throws java.text.ParseException
java.text.ParseExceptionprotected java.lang.String assignPermissionName(B2BPermissionForm b2BPermissionForm)
public java.lang.String editPermission(java.lang.String permissionCode,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String editPermission(B2BPermissionForm b2BPermissionForm, BindingResult bindingResult, Model model, RedirectAttributes redirectModel) throws CMSItemNotFoundException, java.text.ParseException
CMSItemNotFoundExceptionjava.text.ParseExceptionprotected boolean checkEndDateIsBeforeStartDateForBudget(B2BBudgetForm b2BBudgetForm)
protected java.util.List<MyCompanyPageController.SelectOption> populateCurrencySelectBox(java.util.Collection<CurrencyData> currencies)
protected java.util.List<MyCompanyPageController.SelectOption> populateSelectBoxForString(java.util.List<java.lang.String> listOfStrings)
protected java.util.List<MyCompanyPageController.SelectOption> populateRolesCheckBoxes(java.util.List<java.lang.String> roles)
protected java.util.List<MyCompanyPageController.SelectOption> getBranchSelectOptions(java.util.List<B2BUnitNodeData> branchNodes)
protected B2BSelectionData populateDisplayNamesForRoles(B2BSelectionData b2BSelectionData)
protected java.lang.String getCancelUrl(java.lang.String url,
java.lang.String contextPath,
java.lang.String param)
protected int getSearchPageSize()
Copyright © 2018 SAP SE. All Rights Reserved.