@Controller
@RequestMapping(value="cmsContent")
public class CmsContentAdminController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private CmsCategoryModelService |
categoryModelService |
private CmsCategoryService |
categoryService |
private CmsContentRelatedService |
cmsContentRelatedService |
protected ConfigDataComponent |
configDataComponent |
private ContentExchangeComponent |
exchangeComponent |
private ContentExportComponent |
exportComponent |
protected org.apache.commons.logging.Log |
log |
protected LogOperateService |
logOperateService |
private ModelComponent |
modelComponent |
private CmsContentService |
service |
protected SiteComponent |
siteComponent |
private SysSiteService |
siteService |
private SysDeptItemService |
sysDeptItemService |
private SysDeptService |
sysDeptService |
private TemplateComponent |
templateComponent |
构造器和说明 |
---|
CmsContentAdminController() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
changeModel(SysSite site,
SysUser admin,
java.lang.Long id,
java.lang.String modelId,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
check(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
private java.lang.String |
checkOrUncheck(SysSite site,
SysUser admin,
boolean uncheck,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
delete(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
distribute(SysSite site,
SysUser admin,
java.lang.Long id,
java.lang.Integer[] categoryIds,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
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> |
exportData(SysSite site,
SysUser admin,
CmsContentQuery queryEntity) |
ExcelView |
exportExcel(SysSite site,
SysUser admin,
CmsContentQuery queryEntity,
java.lang.String orderField,
java.lang.String orderType,
javax.servlet.http.HttpServletRequest request) |
ExcelView |
exportWorkload(SysSite site,
java.lang.Integer[] status,
java.util.Date startCreateDate,
java.util.Date endCreateDate,
java.lang.String workloadType,
java.lang.String dateField,
javax.servlet.http.HttpServletRequest request) |
private boolean |
move(SysSite site,
CmsContent entity,
java.lang.Integer categoryId) |
java.lang.String |
move(SysSite site,
SysUser admin,
java.lang.Long[] ids,
java.lang.Integer categoryId,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
private boolean |
publish(SysSite site,
CmsContent entity,
SysUser admin) |
java.lang.String |
publish(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
realDelete(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
recycle(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
refresh(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
reject(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
save(SysSite site,
SysUser admin,
CmsContent entity,
CmsContentAttribute attribute,
CmsContentParameters contentParameters,
java.lang.Boolean draft,
java.lang.Boolean checked,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model)
保存内容
|
java.lang.String |
sort(SysSite site,
SysUser admin,
java.lang.Long id,
int sort,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
uncheck(SysSite site,
SysUser admin,
java.lang.Long[] ids,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
java.lang.String |
unrelated(SysSite site,
SysUser admin,
java.lang.Long id,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model) |
protected final org.apache.commons.logging.Log log
private CmsContentService service
private SysDeptItemService sysDeptItemService
private SysDeptService sysDeptService
private CmsContentRelatedService cmsContentRelatedService
private CmsCategoryModelService categoryModelService
private ModelComponent modelComponent
private CmsCategoryService categoryService
private TemplateComponent templateComponent
protected LogOperateService logOperateService
protected SiteComponent siteComponent
protected ConfigDataComponent configDataComponent
private SysSiteService siteService
private ContentExchangeComponent exchangeComponent
private ContentExportComponent exportComponent
@RequestMapping(value="save") public java.lang.String save(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsContent entity, CmsContentAttribute attribute, @ModelAttribute CmsContentParameters contentParameters, java.lang.Boolean draft, java.lang.Boolean checked, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- entity
- attribute
- contentParameters
- draft
- checked
- request
- model
- @RequestMapping(value="check") public java.lang.String check(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
- @RequestMapping(value="reject") public java.lang.String reject(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request)
site
- admin
- ids
- request
- @RequestMapping(value="uncheck") public java.lang.String uncheck(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
- private java.lang.String checkOrUncheck(SysSite site, SysUser admin, boolean uncheck, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
@RequestMapping(value="refresh") public java.lang.String refresh(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
- @RequestMapping(value="unrelated") public java.lang.String unrelated(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long id, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- id
- request
- model
- @RequestMapping(value="move") public java.lang.String move(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, java.lang.Integer categoryId, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- categoryId
- request
- model
- private boolean move(SysSite site, CmsContent entity, java.lang.Integer categoryId) throws java.io.IOException, freemarker.template.TemplateException
site
- entity
- categoryId
- freemarker.template.TemplateException
java.io.IOException
@RequestMapping(value="changeModel") public java.lang.String changeModel(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long id, java.lang.String modelId, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- id
- modelId
- request
- model
- @RequestMapping(value="sort") public java.lang.String sort(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long id, int sort, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- id
- sort
- request
- model
- @RequestMapping(value="publish") public java.lang.String publish(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
- private boolean publish(SysSite site, CmsContent entity, SysUser admin) throws java.io.IOException, freemarker.template.TemplateException
java.io.IOException
freemarker.template.TemplateException
@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="exportExcel") public ExcelView exportExcel(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, CmsContentQuery queryEntity, java.lang.String orderField, java.lang.String orderType, javax.servlet.http.HttpServletRequest request)
site
- admin
- queryEntity
- orderField
- orderType
- request
- @RequestMapping(value="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
- @RequestMapping(value="exportWorkload") public ExcelView exportWorkload(@RequestAttribute SysSite site, java.lang.Integer[] status, @DateTimeFormat(pattern="yyyy-MM-dd") java.util.Date startCreateDate, @DateTimeFormat(pattern="yyyy-MM-dd") java.util.Date endCreateDate, java.lang.String workloadType, java.lang.String dateField, javax.servlet.http.HttpServletRequest request)
site
- status
- startCreateDate
- endCreateDate
- workloadType
- dateField
- request
- @RequestMapping(value="delete") public java.lang.String delete(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
- @RequestMapping(value="distribute") public java.lang.String distribute(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long id, java.lang.Integer[] categoryIds, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- id
- categoryIds
- request
- model
- @RequestMapping(value="recycle") public java.lang.String recycle(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, java.lang.Long[] ids, javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)
site
- admin
- ids
- request
- model
-