类 CmsCategoryAdminController
java.lang.Object
com.publiccms.controller.admin.cms.CmsCategoryAdminController
CmsCategoryController
-
字段概要
字段修饰符和类型字段说明private CmsCategoryAttributeService
private CmsCategoryModelService
private CmsContentService
protected CategoryExchangeComponent
protected final org.apache.commons.logging.Log
protected LogOperateService
private ModelComponent
private CmsCategoryService
protected SiteComponent
private TemplateComponent
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明batchPublish
(SysSite site, Integer[] ids) batchSave
(SysSite site, SysUser admin, Integer id, CmsCategoryListParameters categoryListParameters, jakarta.servlet.http.HttpServletRequest request) changeType
(SysSite site, SysUser admin, Integer id, String typeId, jakarta.servlet.http.HttpServletRequest request) doImport
(SysSite site, SysUser admin, org.springframework.web.multipart.MultipartFile file, boolean overwrite, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody>
lookupBySiteId
(short siteId, Integer parentId, org.springframework.ui.ModelMap model) move
(SysSite site, SysUser admin, Integer[] ids, Integer parentId, jakarta.servlet.http.HttpServletRequest request) private void
publish
(SysSite site, SysUser admin, Integer[] ids, Integer max, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) private void
rebuildChildIds
(SysSite site) save
(SysSite site, SysUser admin, CmsCategory entity, CmsCategoryAttribute attribute, CmsCategoryParameters categoryParameters, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) saveSeo
(SysSite site, SysUser admin, CmsCategorySEOParameters seoParameters, jakarta.servlet.http.HttpServletRequest request) saveWorkflow
(SysSite site, SysUser admin, Integer workflowId, Integer[] categoryIds, jakarta.servlet.http.HttpServletRequest request) boolean
-
字段详细资料
-
log
protected final org.apache.commons.logging.Log log -
service
-
contentService
-
attributeService
-
categoryModelService
-
templateComponent
-
modelComponent
-
logOperateService
-
siteComponent
-
exchangeComponent
-
-
构造器详细资料
-
CmsCategoryAdminController
public CmsCategoryAdminController()
-
-
方法详细资料
-
save
@RequestMapping("save") public String save(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsCategory entity, CmsCategoryAttribute attribute, @ModelAttribute CmsCategoryParameters categoryParameters, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site
-admin
-entity
-attribute
-categoryParameters
-request
-model
-- 返回:
- view name
-
batchSave
@RequestMapping("batchSave") public String batchSave(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer id, @ModelAttribute CmsCategoryListParameters categoryListParameters, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-id
-categoryListParameters
-request
-- 返回:
- view name
-
saveSeo
@RequestMapping("saveSeo") public String saveSeo(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, @ModelAttribute CmsCategorySEOParameters seoParameters, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-seoParameters
-request
-- 返回:
- view name
-
saveWorkflow
@RequestMapping("saveWorkflow") public String saveWorkflow(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer workflowId, Integer[] categoryIds, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-workflowId
-categoryIds
-request
-- 返回:
- view name
-
move
@RequestMapping("move") public String move(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer[] ids, Integer parentId, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-ids
-parentId
-request
-- 返回:
- view name
-
move
- 参数:
site
-id
-parentId
-
-
publish
@RequestMapping("publish") public String publish(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer[] ids, Integer max, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site
-admin
-ids
-max
-request
-model
-- 返回:
- view name
-
changeType
@RequestMapping("changeType") public String changeType(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer id, String typeId, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-id
-typeId
-request
-- 返回:
- view name
-
publish
private void publish(SysSite site, Integer id, Integer max) throws IOException, freemarker.template.TemplateException - 参数:
site
-id
-max
-- 抛出:
IOException
freemarker.template.TemplateException
-
lookupBySiteId
@RequestMapping("lookupBySiteId") public String lookupBySiteId(short siteId, Integer parentId, org.springframework.ui.ModelMap model) - 参数:
siteId
-parentId
-model
-- 返回:
- view name
-
virify
@RequestMapping("virify") @ResponseBody public boolean virify(@RequestAttribute SysSite site, String code, String oldCode) - 参数:
site
-code
-oldCode
-- 返回:
- view name
-
delete
@RequestMapping("delete") public String delete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Integer[] ids, jakarta.servlet.http.HttpServletRequest request) - 参数:
site
-admin
-ids
-request
-- 返回:
- view name
-
doImport
@RequestMapping("doImport") public String doImport(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile file, boolean overwrite, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site
-admin
-file
-overwrite
-request
-model
-- 返回:
-
export
@RequestMapping("export") public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> export(@RequestAttribute SysSite site, Integer id) - 参数:
site
-id
-- 返回:
- response entity
-
batchPublish
@RequestMapping("batchPublish") public String batchPublish(@RequestAttribute SysSite site, Integer[] ids) - 参数:
site
-ids
-- 返回:
- view name
-
rebuildChildIds
- 参数:
site
-- 返回:
- view name
-