@Controller(value="blAdminEntityStatusController")
@RequestMapping(value="/status/{sectionKey:.+}")
public class AdminEntityStatusController
extends org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
protected ModuleManager |
moduleManager |
protected org.broadleafcommerce.openadmin.server.factory.PersistencePackageFactory |
persistencePackageFactory |
protected SandBoxHelperImpl |
sandBoxHelper |
protected SimpleChangeDetailDao |
simpleChangeDetailDao |
protected SimpleStatusDao |
simpleStatusDao |
adminNavigationService, 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, formService, MODAL_CONTAINER_VIEW, service, validationService| Constructor and Description |
|---|
AdminEntityStatusController() |
| Modifier and Type | Method and Description |
|---|---|
EntityStatus |
getEntityStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
Boolean includeProperties)
Get the status for a specific entity.
|
Set<EntityStatus> |
getEntityStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
String[] ids,
Boolean includeProperties,
org.springframework.util.MultiValueMap<String,String> requestParams)
Get the statuses for one or more entities that are members of a collection field.
|
EntityStatus |
getEntityStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
String memberId,
Boolean includeProperties,
org.springframework.util.MultiValueMap<String,String> requestParams)
Get the status for a specific entity that is a member of a collection field.
|
Set<EntityStatus> |
getEntityStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
String operation,
String[] ids,
Boolean includeProperties,
org.springframework.util.MultiValueMap<String,String> requestParams)
Get the statuses for one or more entities that are members of a collection field used as a lookup.
|
EntityStatus |
getEntityStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
String memberId,
String alternateId,
Boolean includeProperties,
org.springframework.util.MultiValueMap<String,String> requestParams)
Get the status for a specific entity that is a member of a collection field.
|
Set<EntityStatus> |
getEntityStatuses(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String[] ids,
Boolean includeProperties)
Get the statuses for one or more entities based on the list of ids.
|
protected boolean |
isSandBoxable(String sectionClassName) |
attachSectionSpecificInfo, attachSectionSpecificInfo, createSectionCrumb, extractDynamicFormFields, getAddEntityTypes, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getEntityForm, getEntityForm, getEntityForm, getFirstId, getLastId, getLowerCount, getMaxIndex, getMaxResults, getPageSize, getPersistencePackageRequest, getSectionCrumbs, getSectionCustomCriteria, getSectionKey, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, getUpperCount, modifyAddEntityForm, modifyCriteria, modifyEntityForm, populateJsonValidationErrors, setModelAttributes, setSpecializedNameForFields, translateErrorMessageprotected static final org.apache.commons.logging.Log LOG
protected ModuleManager moduleManager
protected org.broadleafcommerce.openadmin.server.factory.PersistencePackageFactory persistencePackageFactory
protected SandBoxHelperImpl sandBoxHelper
protected SimpleStatusDao simpleStatusDao
protected SimpleChangeDetailDao simpleChangeDetailDao
@RequestMapping(value="",
method=GET,
params={"ids","includeProperties"})
@ResponseBody
public Set<EntityStatus> getEntityStatuses(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@RequestParam(value="ids",required=true)
String[] ids,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties)
throws Exception
request - response - model - pathVars - ids - the required list of ids to checkincludeProperties - whether or not to include the status of each of the dirty properties in the respective entitiesException@RequestMapping(value="/{id:\\-?[0-9]+}",
method=GET)
@ResponseBody
public EntityStatus getEntityStatus(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,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties)
throws Exception
request - response - model - pathVars - id - the entity idincludeProperties - whether or not to include the status of each of the dirty properties in the respective entitiesException@RequestMapping(value="/{id:\\-?[0-9]+}/{collectionField:.*}",
method=GET)
@ResponseBody
public Set<EntityStatus> getEntityStatus(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,
@PathVariable(value="collectionField")
String collectionField,
@RequestParam(value="ids",required=true)
String[] ids,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
request - response - model - pathVars - id - the id of the entity that contains the collection fieldcollectionField - the name of the collection fieldids - the required list of collection member ids to checkincludeProperties - whether or not to include the status of each of the dirty properties in the respective entitiesrequestParams - Exception@RequestMapping(value="/{id:\\-?[0-9]+}/{collectionField:.*}/{operation:[A-Za-z]+}",
method=GET)
@ResponseBody
public Set<EntityStatus> getEntityStatus(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,
@PathVariable(value="collectionField")
String collectionField,
@PathVariable(value="operation")
String operation,
@RequestParam(value="ids",required=true)
String[] ids,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
request - response - model - pathVars - id - collectionField - operation - ids - includeProperties - requestParams - Exception@RequestMapping(value="/{id:\\-?[0-9]+}/{collectionField:.*}/{memberId:\\-?[0-9]+}",
method=GET)
@ResponseBody
public EntityStatus getEntityStatus(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,
@PathVariable(value="collectionField")
String collectionField,
@PathVariable(value="memberId")
String memberId,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
request - response - model - pathVars - id - the id of the entity that contains the collection fieldcollectionField - the name of the collection fieldmemberId - the collection member id to checkincludeProperties - whether or not to include the status of each of the dirty properties in the respective entitiesrequestParams - Exception@RequestMapping(value="/{id:\\-?[0-9]+}/{collectionField:.*}/{memberId:\\-?[0-9]+}/{alternateId:\\-?[0-9]+}",
method=GET)
@ResponseBody
public EntityStatus getEntityStatus(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,
@PathVariable(value="collectionField")
String collectionField,
@PathVariable(value="memberId")
String memberId,
@PathVariable(value="alternateId")
String alternateId,
@RequestParam(value="includeProperties",defaultValue="true")
Boolean includeProperties,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
AdminPresentationAdornedTargetCollection).request - response - model - pathVars - id - the id of the entity that contains the collection fieldcollectionField - the name of the collection fieldmemberId - the collection member id to checkalternateId - an "aka" id for the collection member - used when identifying an adorned target collection memberincludeProperties - whether or not to include the status of each of the dirty properties in the respective entitiesrequestParams - Exceptionprotected boolean isSandBoxable(String sectionClassName)
Copyright © 2021. All rights reserved.