@Controller(controllerJsp="ManageBlogs.jsp", controllerPath="jsp/admin/plugins/blog/", right="BLOG_MANAGEMENT") public class BlogJspBean extends ManageBlogJspBean
Modifier and Type | Field and Description |
---|---|
static String |
CONSTANT_DUPLICATE_BLOG_NAME |
RIGHT_MANAGEHTMLDOCS
Constructor and Description |
---|
BlogJspBean() |
Modifier and Type | Method and Description |
---|---|
String |
addContent(javax.servlet.http.HttpServletRequest request)
Added docContent to the htmlDoc content list
|
String |
doAddTag(javax.servlet.http.HttpServletRequest request)
Return Json if the tag is added
|
String |
doCreateBlog(javax.servlet.http.HttpServletRequest request)
Process the data capture form of a new blog
|
String |
doDuplicateBlog(javax.servlet.http.HttpServletRequest request) |
String |
doModifyBlog(javax.servlet.http.HttpServletRequest request)
Process the change form of a blog
|
String |
doRemoveBlog(javax.servlet.http.HttpServletRequest request)
Handles the removal form of a blog
|
String |
doRemoveTag(javax.servlet.http.HttpServletRequest request)
Return Json if the tag is removed
|
String |
doUpdatePriorityTag(javax.servlet.http.HttpServletRequest request)
Return Json if the tag is updated
|
String |
getConfirmRemoveBlog(javax.servlet.http.HttpServletRequest request)
Manages the removal form of a blog whose identifier is in the http request
|
String |
getCreateBlog(javax.servlet.http.HttpServletRequest request)
Returns the form to create a blog
|
String |
getDiffBlog(javax.servlet.http.HttpServletRequest request)
Returns the diff of two blog versions
|
String |
getHistoryBlog(javax.servlet.http.HttpServletRequest request)
Return View history page
|
String |
getManageBlogs(javax.servlet.http.HttpServletRequest request)
Build the Manage View
|
String |
getModifyBlog(javax.servlet.http.HttpServletRequest request)
Returns the form to update info about a blog
|
String |
getPreviewBlog(javax.servlet.http.HttpServletRequest request)
Returns the preview of an blog
|
Timestamp |
getSqlDate()
Gets the current
|
String |
removeContent(javax.servlet.http.HttpServletRequest request)
delete docContent in the htmlDoc content list
|
DocContent |
setContent(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest,
Locale locale)
Set content of the blog
|
static void |
unLockedBlogByIdSession(String strIdSession)
Unlock Blogs By Session Id
|
static void |
unLockedBlogByTime(long nTime)
Unlock the blog if the lock clearance time has passed
|
String |
updateContentType(javax.servlet.http.HttpServletRequest request) |
processController
getPlugin, init
public static final String CONSTANT_DUPLICATE_BLOG_NAME
@View(value="manageBlogs", defaultView=true) public String getManageBlogs(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request@View(value="historyBlog") public String getHistoryBlog(javax.servlet.http.HttpServletRequest request)
request
- The request@View(value="createBlog") public String getCreateBlog(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The Http requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@Action(value="createBlog") public String doCreateBlog(javax.servlet.http.HttpServletRequest request)
request
- The Http Request@Action(value="addTag") public String doAddTag(javax.servlet.http.HttpServletRequest request)
request
- The request@Action(value="removeTag") public String doRemoveTag(javax.servlet.http.HttpServletRequest request)
request
- @Action(value="updatePriorityTag") public String doUpdatePriorityTag(javax.servlet.http.HttpServletRequest request)
request
- @Action(value="confirmRemoveBlog") public String getConfirmRemoveBlog(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The Http requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@Action(value="removeBlog") public String doRemoveBlog(javax.servlet.http.HttpServletRequest request)
request
- The Http request@Action(value="duplicateBlog") public String doDuplicateBlog(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
fr.paris.lutece.portal.service.admin.AccessDeniedException
@View(value="modifyBlog") public String getModifyBlog(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request
- The Http requestfr.paris.lutece.portal.service.admin.AccessDeniedException
@Action(value="modifyBlog") public String doModifyBlog(javax.servlet.http.HttpServletRequest request)
request
- The Http request@View(value="previewBlog") public String getPreviewBlog(javax.servlet.http.HttpServletRequest request)
request
- The Http request@View(value="diffBlog") public String getDiffBlog(javax.servlet.http.HttpServletRequest request)
request
- The Http request@Action(value="addContent") public String addContent(javax.servlet.http.HttpServletRequest request)
request
- The Http requesthtmldoc
- The HtmlDoc@Action(value="deleteContent") public String removeContent(javax.servlet.http.HttpServletRequest request)
request
- The Http requesthtmldoc
- The HtmlDoc@Action(value="updateContentType") public String updateContentType(javax.servlet.http.HttpServletRequest request)
request
- public DocContent setContent(fr.paris.lutece.portal.web.upload.MultipartHttpServletRequest mRequest, Locale locale)
mRequest
- locale
- public static void unLockedBlogByIdSession(String strIdSession)
strIdSession
- The Id sessionpublic static void unLockedBlogByTime(long nTime)
nTime
- the clearance timepublic Timestamp getSqlDate()
Copyright © 2020 City of Paris. All rights reserved.