@Controller(value="blSandBoxPreviewController") public class SandBoxPreviewController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.crossapp.service.CrossAppAuthService |
crossAppAuthService |
protected org.broadleafcommerce.common.service.GenericEntityService |
genericEntityService |
static String |
PREVIEW_URL |
protected WorkflowSandBoxItemService |
workflowSandBoxItemService |
| Constructor and Description |
|---|
SandBoxPreviewController() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
encodeLocation(String location,
javax.servlet.http.HttpServletResponse response) |
String |
preview(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
String sandBoxId,
Long adminUserId,
String securityToken,
Long[] requestedIds,
String ceilingEntity,
String id) |
public static final String PREVIEW_URL
protected org.broadleafcommerce.common.service.GenericEntityService genericEntityService
protected WorkflowSandBoxItemService workflowSandBoxItemService
@Autowired(required=false) @Qualifier(value="blCrossAppAuthService") protected org.broadleafcommerce.common.crossapp.service.CrossAppAuthService crossAppAuthService
@RequestMapping(value="/sandboxpreview",
method=GET)
public String preview(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@RequestParam(required=false,value="blSandboxId")
String sandBoxId,
@RequestParam(required=false,value="blAdminUserId")
Long adminUserId,
@RequestParam(required=false,value="blAuthToken")
String securityToken,
@RequestParam(required=false)
Long[] requestedIds,
@RequestParam(required=false)
String ceilingEntity,
@RequestParam(required=false)
String id)
throws Exception
ExceptionCopyright © 2019. All rights reserved.