@RequestMapping(value="/assets")
public class EnterpriseAdminAssetController
extends org.broadleafcommerce.cms.admin.web.controller.AdminAssetController
| Modifier and Type | Field and Description |
|---|---|
protected AssetFolderDao |
assetFolderDao |
protected AssetFolderService |
assetFolderService |
protected AssetGridBuilderService |
assetGridBuilderService |
protected org.broadleafcommerce.common.security.service.ExploitProtectionService |
exploitProtectionService |
protected org.broadleafcommerce.openadmin.web.service.FormBuilderService |
formService |
protected org.broadleafcommerce.cms.file.service.StaticAssetStorageService |
staticAssetStorageService |
SECTION_KEY, staticAssetExtensionManager, staticAssetServiceadminUserDao, adornedTargetAutoPopulateExtensionManager, ALTERNATE_ID_PROPERTY, CUSTOM_CRITERIA, duplicator, dynamicEntityDao, genericEntityService, IS_SELECTIZE_REQUEST, LOG, rowLevelSecurityService, sandBoxHelperadminNavigationService, adminRemoteSecurityService, CURRENT_ADMIN_MODULE_ATTRIBUTE_NAME, CURRENT_ADMIN_SECTION_ATTRIBUTE_NAME, customCriteriaService, DEFAULT_CONTAINER_VIEW, entityConfiguration, entityFormValidator, extensionManager, FILTER_VALUE_SEPARATOR, FILTER_VALUE_SEPARATOR_REGEX, filterProductTypeExtensionManager, MODAL_CONTAINER_VIEW, service, validationService| Constructor and Description |
|---|
EnterpriseAdminAssetController() |
| Modifier and Type | Method and Description |
|---|---|
String |
addNewFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
confirmDeleteFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
deleteAsset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
submitDeleteFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
submitEditFolderModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
submitMoveAssetModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
viewAssetGridFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String parentId,
boolean inModal,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
viewEditFolderModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id) |
String |
viewEntityList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
viewFolderLookup(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
String |
viewMoveAssetModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
org.springframework.util.MultiValueMap<String,String> requestParams) |
getDefaultEntityType, getSectionKey, saveEntityaddAddActionIfAllowed, addAuditableDisplayFields, addCollectionItem, addCollectionItem, addEmptyCollectionItem, addEntity, addSelectizeCollectionItem, buildAddCollectionItemModel, buildDirtyList, buildSelectizeCustomCriteria, declareShouldIgnoreAdditionStatusFilter, determineEntityType, duplicateEntity, getCollectionFieldRecords, getCollectionValueDetails, getCurrentTabName, getCustomCriteria, getErrorDuplicatingResponse, getModalForBlankEntityType, getSelectizeCollectionOptions, getViewSubRecords, initBinder, isAddActionAllowed, isNotReadOnly, modifyEntityForm, reinitializeEntityForm, removeCollectionItem, removeCollectionItem, removeEntity, resolveAppropriateEntityView, saveEntityJson, setTypedEntityModelAttributes, setupViewEntityListBasicModel, showAddCollectionItem, showUpdateCollectionItem, showUpdateCollectionItem, showViewCollectionItem, showViewCollectionItem, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, showViewUpdateCollection, updateCollectionItem, updateCollectionItem, updateCollectionItemSequence, updateCollectionItemSequence, viewAddEntityForm, viewCollectionItemDetails, viewCollectionItemTab, viewEntityListSelectize, viewEntityTab, viewReadOnlyCollectionItemTabattachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionCustomCriteria, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, modifyCriteria, modifyEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessageprotected AssetFolderDao assetFolderDao
protected AssetFolderService assetFolderService
protected AssetGridBuilderService assetGridBuilderService
protected org.broadleafcommerce.openadmin.web.service.FormBuilderService formService
protected org.broadleafcommerce.cms.file.service.StaticAssetStorageService staticAssetStorageService
protected org.broadleafcommerce.common.security.service.ExploitProtectionService exploitProtectionService
@RequestMapping(value="",
method=GET)
public String viewEntityList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
viewEntityList in class org.broadleafcommerce.cms.admin.web.controller.AdminAssetControllerException@RequestMapping(value="/{id}",
method=GET)
public String viewEntityForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@PathVariable(value="id")
String id)
throws Exception
viewEntityForm in class org.broadleafcommerce.cms.admin.web.controller.AdminAssetControllerException@RequestMapping(value="/grid/load-folder",
method=GET)
public String viewAssetGridFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
String parentId,
@RequestParam
boolean inModal,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/lookup/load-folder",
method=GET)
public String viewFolderLookup(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/add-new-folder",
method=POST)
public String addNewFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/move-asset",
method=GET)
public String viewMoveAssetModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/move-asset",
method=POST)
public String submitMoveAssetModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/delete-asset",
method=POST)
public String deleteAsset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/delete-folder",
method=GET)
public String confirmDeleteFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/delete-folder",
method=POST)
public String submitDeleteFolder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/edit-folder",
method=GET)
public String viewEditFolderModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
Exception@RequestMapping(value="/edit-folder",
method=POST)
public String submitEditFolderModal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
ExceptionCopyright © 2021. All rights reserved.