Class MaintainController
java.lang.Object
de.hybris.platform.hac.controller.MaintainController
Controller for maintaining handles like key migration, orphaned types/medias, ....
-
Constructor Summary
ConstructorsConstructorDescriptionMaintainController(HacMaintenanceFacade maintenanceFacade, CacheConfiguration cacheConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionbooleancleanup(org.springframework.ui.Model model) cleanupData(Boolean deleteRelated, Boolean deleteInstances) cleanupData(org.springframework.ui.Model model) deployments(org.springframework.ui.Model model) type code info, e.g.voidinitBinder(org.springframework.web.bind.WebDataBinder binder) keyGeneration(String fileName, int keySize) keyMigrationMigrate(String typesString) keys(org.springframework.ui.Model model) handing key migration pageloadUnencryptedCreditCards(int start, int count, int dataTableDrawCount, int orderByNumCol, CreditCardPaymentInfoDao.SortDirection sortDirection) Get unencrypted credit cards data.removeTypeSystem(String typeSystemName)
-
Constructor Details
-
MaintainController
@Autowired public MaintainController(HacMaintenanceFacade maintenanceFacade, CacheConfiguration cacheConfiguration)
-
-
Method Details
-
keys
handing key migration page -
checkEncryptionForCreditCards
@RequestMapping(value="keys/creditcards/checkencryption", method=GET, headers="Accept=application/json") @ResponseBody public boolean checkEncryptionForCreditCards() -
loadUnencryptedCreditCards
@RequestMapping(value="keys/creditcards/unencrypted", method=GET, headers="Accept=application/json") @ResponseBody public Map<String,Object> loadUnencryptedCreditCards(@RequestParam("iDisplayStart") int start, @RequestParam("iDisplayLength") int count, @RequestParam("sEcho") int dataTableDrawCount, @RequestParam("iSortCol_0") int orderByNumCol, @RequestParam("sSortDir_0") CreditCardPaymentInfoDao.SortDirection sortDirection) Get unencrypted credit cards data. Input parameters are controls for server side processing way of rendering data table on front end with help of JQuery DataTable JS library (http://datatables.net/usage/server-side) -
initBinder
@InitBinder("sSortDir_0") public void initBinder(org.springframework.web.bind.WebDataBinder binder) -
encryptCardNumbers
-
keyGeneration
@RequestMapping(value="keys/generate", method=POST, headers="Accept=application/json") @ResponseBody public Map<String,Object> keyGeneration(@RequestParam String fileName, @RequestParam int keySize) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
keyMigrationData
-
keyMigrationMigrate
-
deployments
type code info, e.g. used and orphaned deployment tables -
cleanup
-
cleanupData
-
removeTypeSystem
-
cleanupData
-
cleanupMediaData
-
creditCards
-
cleanupMediaRemove
-
populateTypeSystems
-