@Controller(controllerJsp="ManageBlogs.jsp",
controllerPath="jsp/admin/plugins/blog/",
right="BLOG_MANAGEMENT")
public class BlogJspBean
extends ManageBlogJspBean
MARK_PERMISSION_CREATE_TAG, MARK_PERMISSION_DELETE_TAG, MARK_PERMISSION_MODIFY_TAG, MESSAGE_CONFIRM_REMOVE_TAG, 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 |
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) |
getPaginatedListModeladdError, addError, addInfo, addInfo, addWarning, addWarning, download, download, fillCommons, getActionUrl, getControllerJsp, getControllerPath, getModel, getPage, getPage, getPage, getViewFullUrl, getViewUrl, processController, redirect, redirect, redirect, redirect, redirectView, validateBeangetPlugin, initprotected static final String PARAMETER_ID_BLOG
protected static final String PARAMETER_VERSION_BLOG
protected static final String PARAMETER_VERSION_BLOG2
protected static final String PARAMETER_CONTENT_LABEL
protected static final String PARAMETER_HTML_CONTENT
protected static final String PARAMETER_EDIT_COMMENT
protected static final String PARAMETER_DESCRIPTION
protected static final String PARAMETER_FILE_NAME
protected static final String PARAMETER_VIEW
protected static final String PARAMETER_BUTTON_SEARCH
protected static final String PARAMETER_BUTTON_RESET
protected static final String PARAMETER_SEARCH_TEXT
protected static final String PARAMETER_UPDATE_ATTACHMENT
protected static final String PARAMETER_TAG
protected static final String PARAMETER_TAG_NAME
protected static final String PARAMETER_URL
protected static final String PARAMETER_UNPUBLISHED
protected static final String PARAMETER_DATE_UPDATE_BLOG_AFTER
protected static final String PARAMETER_DATE_UPDATE_BLOG_BEFOR
protected static final String PARAMETER_TAG_TO_REMOVE
protected static final String PARAMETER_SHAREABLE
protected static final String PARAMETER_PRIORITY
protected static final String PARAMETER_TAG_ACTION
protected static final String PARAMETER_ACTION_BUTTON
protected static final String PARAMETER_APPLY
protected static final String PARAMETER_TYPE_ID
protected static final String PARAMETER_CONTENT_ID
protected static final String PROPERTY_USE_UPLOAD_IMAGE_PLUGIN
protected static final String MARK_BLOG_LIST
protected static final String MARK_BLOG_VERSION_LIST
protected static final String MARK_BLOG
protected static final String MARK_WEBAPP_URL
protected static final String MARK_IS_CHECKED
protected static final String MARK_CURRENT_USER
protected static final String MARK_ID_BLOG
protected static final String MARK_SEARCH_TEXT
protected static final String MARK_DIFF
protected static final String MARK_BLOG2
protected static final String MARK_LIST_TAG
protected static final String MARK_LIST_IMAGE_TYPE
protected static final String MARK_SORTED_ATTRIBUTE
protected static final String MARK_TAG
protected static final String MARK_USE_UPLOAD_IMAGE_PLUGIN
protected static final String MARK_PERMISSION_CREATE_BLOG
protected static final String MARK_PERMISSION_MODIFY_BLOG
protected static final String MARK_PERMISSION_PUBLISH_BLOG
protected static final String MARK_PERMISSION_DELETE_BLOG
protected static final String VIEW_MANAGE_BLOGS
protected static final String MARK_BLOG_FILTER_LIST
protected static final String MARK_BLOG_FILTER_NAME
protected static final String MARK_BLOG_FILTER_DATE
protected static final String MARK_BLOG_FILTER_USER
protected static final String MARK_PAGINATOR
protected static final String MARK_NB_ITEMS_PER_PAGE
protected static final String MARK_ASC_SORT
protected static final String MARK_DATE_UPDATE_BLOG_AFTER
protected static final String MARK_DATE_UPDATE_BLOG_BEFOR
protected static final String MARK_UNPUBLISHED
protected Blog _blog
protected boolean _bIsChecked
protected String _strSearchText
protected boolean _bIsUnpulished
protected String _dateUpdateBlogAfter
protected String _dateUpdateBlogBefor
protected String _strCurrentPageIndex
protected int _nItemsPerPage
protected int _nDefaultItemsPerPage
protected boolean _bIsSorted
protected String _strSortedAttributeName
protected Boolean _bIsAscSort
protected String[] _strTag
@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@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 © 2019 City of Paris. All rights reserved.