类 CmsContentAdminController
java.lang.Object
com.publiccms.controller.admin.cms.CmsContentAdminController
CmsContentController
-
字段概要
字段修饰符和类型字段说明private CmsCategoryModelServiceprivate CmsCategoryServiceprivate CmsContentRelatedServiceprotected ConfigDataComponentprivate ContentExchangeComponentprivate ContentExportComponentprotected final org.apache.commons.logging.Logprotected LogOperateServiceprivate ModelComponentprivate CmsContentServiceprotected SiteComponentprivate SysSiteServiceprivate SysDeptItemServiceprivate SysDeptServiceprivate TemplateComponentprivate SysWorkflowProcessItemServiceprivate SysWorkflowProcessService -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明changeModel(SysSite site, SysUser admin, Long id, String modelId, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) check(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) private StringcheckOrUncheck(SysSite site, SysUser admin, boolean uncheck, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) delete(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) static voiddeleteFile(SysSite site, CmsContent entity, SiteComponent siteComponent) distribute(SysSite site, SysUser admin, Long id, Integer[] categoryIds, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) 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>exportData(SysSite site, SysUser admin, CmsContentQuery queryEntity) exportExcel(SysSite site, SysUser admin, CmsContentQuery queryEntity, String orderField, String orderType, jakarta.servlet.http.HttpServletRequest request) exportWorkload(SysSite site, Integer[] status, Date startCreateDate, Date endCreateDate, String workloadType, String dateField, jakarta.servlet.http.HttpServletRequest request) private booleanmove(SysSite site, CmsContent entity, Integer categoryId) move(SysSite site, SysUser admin, Long[] ids, Integer categoryId, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) private booleanpublish(SysSite site, CmsContent entity, SysUser admin) publish(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) realDelete(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request) recycle(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) refresh(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) related(SysSite site, SysUser admin, CmsContentRelated entity, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) save(SysSite site, SysUser admin, CmsContent entity, CmsContentAttribute attribute, CmsContentParameters contentParameters, Boolean draft, Boolean checked, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) 保存内容sort(SysSite site, SysUser admin, Long id, int sort, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) uncheck(SysSite site, SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) unrelated(SysSite site, SysUser admin, Long id, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
-
字段详细资料
-
log
protected final org.apache.commons.logging.Log log -
service
-
sysDeptItemService
-
sysDeptService
-
cmsContentRelatedService
-
categoryModelService
-
modelComponent
-
categoryService
-
templateComponent
-
logOperateService
-
siteComponent
-
configDataComponent
-
siteService
-
exchangeComponent
-
exportComponent
-
workflowProcessItemService
-
workflowProcessService
-
-
构造器详细资料
-
CmsContentAdminController
public CmsContentAdminController()
-
-
方法详细资料
-
save
@RequestMapping("save") public String save(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsContent entity, CmsContentAttribute attribute, @ModelAttribute CmsContentParameters contentParameters, Boolean draft, Boolean checked, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) 保存内容- 参数:
site-admin-entity-attribute-contentParameters-draft-checked-request-model-- 返回:
- view name
-
check
@RequestMapping("check") public String check(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
reject
@RequestMapping("reject") public String reject(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request) - 参数:
site-admin-ids-request-- 返回:
- view name
-
uncheck
@RequestMapping("uncheck") public String uncheck(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
checkOrUncheck
-
refresh
@RequestMapping("refresh") public String refresh(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
move
@RequestMapping("move") public String move(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, Integer categoryId, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-categoryId-request-model-- 返回:
- view name
-
move
private boolean move(SysSite site, CmsContent entity, Integer categoryId) throws IOException, freemarker.template.TemplateException - 参数:
site-entity-categoryId-- 抛出:
freemarker.template.TemplateExceptionIOException
-
changeModel
@RequestMapping("changeModel") public String changeModel(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long id, String modelId, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-id-modelId-request-model-- 返回:
- view name
-
sort
@RequestMapping("sort") public String sort(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long id, int sort, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-id-sort-request-model-- 返回:
- view name
-
publish
@RequestMapping("publish") public String publish(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
publish
private boolean publish(SysSite site, CmsContent entity, SysUser admin) throws IOException, freemarker.template.TemplateException - 抛出:
IOExceptionfreemarker.template.TemplateException
-
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-- 返回:
-
exportExcel
@RequestMapping("exportExcel") public ExcelView exportExcel(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsContentQuery queryEntity, String orderField, String orderType, jakarta.servlet.http.HttpServletRequest request) - 参数:
site-admin-queryEntity-orderField-orderType-request-- 返回:
- view name
-
exportData
@RequestMapping("exportData") public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> exportData(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsContentQuery queryEntity) - 参数:
site-admin-queryEntity-- 返回:
- response entity
-
exportWorkload
@RequestMapping("exportWorkload") public ExcelView exportWorkload(@RequestAttribute SysSite site, Integer[] status, @DateTimeFormat(pattern="yyyy-MM-dd") Date startCreateDate, @DateTimeFormat(pattern="yyyy-MM-dd") Date endCreateDate, String workloadType, String dateField, jakarta.servlet.http.HttpServletRequest request) - 参数:
site-status-startCreateDate-endCreateDate-workloadType-dateField-request-- 返回:
- view name
-
deleteFile
-
delete
@RequestMapping("delete") public String delete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
distribute
@RequestMapping("distribute") public String distribute(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long id, Integer[] categoryIds, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-id-categoryIds-request-model-- 返回:
- view name
-
recycle
@RequestMapping("recycle") public String recycle(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) - 参数:
site-admin-ids-request-model-- 返回:
- view name
-
realDelete
@RequestMapping("realDelete") public String realDelete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, Long[] ids, jakarta.servlet.http.HttpServletRequest request) - 参数:
site-admin-ids-request-- 返回:
- view name
-