@Controller
@RequestMapping(value="cmsCategory")
public class CmsCategoryAdminController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private CmsCategoryAttributeService |
attributeService |
private CmsCategoryModelService |
categoryModelService |
private CmsContentService |
contentService |
protected CategoryExchangeComponent |
exchangeComponent |
protected org.apache.commons.logging.Log |
log |
protected LogOperateService |
logOperateService |
private ModelComponent |
modelComponent |
private CmsCategoryService |
service |
protected SiteComponent |
siteComponent |
private TemplateComponent |
templateComponent |
构造器和说明 |
---|
CmsCategoryAdminController() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
batchPublish(SysSite site,
java.lang.Integer[] ids) |
java.lang.String |
batchSave(SysSite site,
SysUser admin,
java.lang.Integer id,
CmsCategoryListParameters categoryListParameters,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
changeType(SysSite site,
SysUser admin,
java.lang.Integer id,
java.lang.String typeId,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
delete(SysSite site,
SysUser admin,
java.lang.Integer[] ids,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
doImport(SysSite site,
SysUser admin,
org.springframework.web.multipart.MultipartFile file,
boolean overwrite,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> |
export(SysSite site,
java.lang.Integer id) |
java.lang.String |
lookupBySiteId(short siteId,
java.lang.Integer parentId,
org.springframework.ui.ModelMap model) |
private void |
move(SysSite site,
java.lang.Integer id,
java.lang.Integer parentId) |
java.lang.String |
move(SysSite site,
SysUser admin,
java.lang.Integer[] ids,
java.lang.Integer parentId,
javax.servlet.http.HttpServletRequest request) |
private void |
publish(SysSite site,
java.lang.Integer id,
java.lang.Integer max) |
java.lang.String |
publish(SysSite site,
SysUser admin,
java.lang.Integer[] ids,
java.lang.Integer max,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
rebuildChildIds(SysSite site) |
java.lang.String |
save(SysSite site,
SysUser admin,
CmsCategory entity,
CmsCategoryAttribute attribute,
CmsCategoryParameters categoryParameters,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
saveSeo(SysSite site,
SysUser admin,
CmsCategorySEOParameters seoParameters,
javax.servlet.http.HttpServletRequest request) |
boolean |
virify(SysSite site,
java.lang.String code,
java.lang.String oldCode) |
protected final org.apache.commons.logging.Log log
private CmsCategoryService service
private CmsContentService contentService
private CmsCategoryAttributeService attributeService
private CmsCategoryModelService categoryModelService
private TemplateComponent templateComponent
private ModelComponent modelComponent
protected LogOperateService logOperateService
protected SiteComponent siteComponent
protected CategoryExchangeComponent exchangeComponent
@RequestMapping(value="save") public java.lang.String save(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsCategory entity, CmsCategoryAttribute attribute, @ModelAttribute CmsCategoryParameters categoryParameters, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- entity
- attribute
- categoryParameters
- request
- model
- @RequestMapping(value="batchSave") public java.lang.String batchSave(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Integer id, @ModelAttribute CmsCategoryListParameters categoryListParameters, javax.servlet.http.HttpServletRequest request)
site
- admin
- id
- categoryListParameters
- request
- @RequestMapping(value="saveSeo") public java.lang.String saveSeo(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, @ModelAttribute CmsCategorySEOParameters seoParameters, javax.servlet.http.HttpServletRequest request)
site
- admin
- seoParameters
- request
- @RequestMapping(value="move") public java.lang.String move(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Integer[] ids, java.lang.Integer parentId, javax.servlet.http.HttpServletRequest request)
site
- admin
- ids
- parentId
- request
- private void move(SysSite site, java.lang.Integer id, java.lang.Integer parentId)
site
- id
- parentId
- @RequestMapping(value="publish") public java.lang.String publish(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Integer[] ids, java.lang.Integer max, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- max
- request
- model
- @RequestMapping(value="changeType") public java.lang.String changeType(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Integer id, java.lang.String typeId, javax.servlet.http.HttpServletRequest request)
site
- admin
- id
- typeId
- request
- private void publish(SysSite site, java.lang.Integer id, java.lang.Integer max) throws java.io.IOException, freemarker.template.TemplateException
site
- id
- max
- java.io.IOException
freemarker.template.TemplateException
@RequestMapping(value="lookupBySiteId") public java.lang.String lookupBySiteId(short siteId, java.lang.Integer parentId, org.springframework.ui.ModelMap model)
siteId
- parentId
- model
- @RequestMapping(value="virify") @ResponseBody public boolean virify(@RequestAttribute SysSite site, java.lang.String code, java.lang.String oldCode)
site
- code
- oldCode
- @RequestMapping(value="delete") public java.lang.String delete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Integer[] ids, javax.servlet.http.HttpServletRequest request)
site
- admin
- ids
- request
- @RequestMapping(value="doImport") public java.lang.String doImport(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile file, boolean overwrite, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- overwrite
- file
- request
- model
- @RequestMapping(value="export") public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> export(@RequestAttribute SysSite site, java.lang.Integer id)
site
- id
- @RequestMapping(value="batchPublish") public java.lang.String batchPublish(@RequestAttribute SysSite site, java.lang.Integer[] ids)
site
- ids
- @RequestMapping(value="rebuildChildIds") public java.lang.String rebuildChildIds(@RequestAttribute SysSite site)
site
-