fr.paris.lutece.plugins.document.web
Class DocumentJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.document.web.DocumentJspBean
All Implemented Interfaces:
Serializable

public class DocumentJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

JspBean for document management

See Also:
Serialized Form

Field Summary
static String PARAMETER_SPACE_ID_FILTER
           
static String RIGHT_DOCUMENT_MANAGEMENT
           
 
Constructor Summary
DocumentJspBean()
          Constructor
 
Method Summary
 String deleteDocument(javax.servlet.http.HttpServletRequest request)
          Confirm the deletion
 String doActionSelectionDocument(javax.servlet.http.HttpServletRequest request)
          Processes document action for multiselection
 String doArchiveDocument(javax.servlet.http.HttpServletRequest request)
          Perform the document filing
 String doArchiveSelection(javax.servlet.http.HttpServletRequest request)
          Unpublish and archive selected documents
 String doChangeState(javax.servlet.http.HttpServletRequest request)
          Perform the changing of state
 String doConfirmArchiveDocument(javax.servlet.http.HttpServletRequest request)
          Confirm the filing
 String doCreateDocument(javax.servlet.http.HttpServletRequest request)
          Perform the creation
 String doDeleteDocument(javax.servlet.http.HttpServletRequest request)
          Perform the deletion
 String doModifyDocument(javax.servlet.http.HttpServletRequest request)
          Perform the modification
 String doMoveDocument(javax.servlet.http.HttpServletRequest request)
          Perform the document moving
 String doRemoveSelection(javax.servlet.http.HttpServletRequest request)
          Remove selection
 String doSearchDocumentById(javax.servlet.http.HttpServletRequest request)
          Perform a document search by Id
 String doValidateDocument(javax.servlet.http.HttpServletRequest request)
          Perform the document validation
 String getCreateDocument(javax.servlet.http.HttpServletRequest request)
          Gets the document creation page
 String getHomeUrl(javax.servlet.http.HttpServletRequest request)
          
 String getManageDocuments(javax.servlet.http.HttpServletRequest request)
          Gets the document management page
 String getModifyDocument(javax.servlet.http.HttpServletRequest request)
          Gets the document modification page
 String getMoveDocument(javax.servlet.http.HttpServletRequest request)
          Perform the changing of space
 String getPreviewDocument(javax.servlet.http.HttpServletRequest request)
          Get the preview page
 void init(javax.servlet.http.HttpServletRequest request, String strRight)
          
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getLocale, getPageTitle, getUser, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_DOCUMENT_MANAGEMENT

public static final String RIGHT_DOCUMENT_MANAGEMENT
See Also:
Constant Field Values

PARAMETER_SPACE_ID_FILTER

public static final String PARAMETER_SPACE_ID_FILTER
See Also:
Constant Field Values
Constructor Detail

DocumentJspBean

public DocumentJspBean()
Constructor

Method Detail

getManageDocuments

public String getManageDocuments(javax.servlet.http.HttpServletRequest request)
Gets the document management page

Parameters:
request - The HTTP request
Returns:
The document management page

getCreateDocument

public String getCreateDocument(javax.servlet.http.HttpServletRequest request)
Gets the document creation page

Parameters:
request - The HTTP request
Returns:
The document creation page

doCreateDocument

public String doCreateDocument(javax.servlet.http.HttpServletRequest request)
Perform the creation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getModifyDocument

public String getModifyDocument(javax.servlet.http.HttpServletRequest request)
Gets the document modification page

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doModifyDocument

public String doModifyDocument(javax.servlet.http.HttpServletRequest request)
Perform the modification

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

deleteDocument

public String deleteDocument(javax.servlet.http.HttpServletRequest request)
Confirm the deletion

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the confirmation

doDeleteDocument

public String doDeleteDocument(javax.servlet.http.HttpServletRequest request)
Perform the deletion

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doChangeState

public String doChangeState(javax.servlet.http.HttpServletRequest request)
Perform the changing of state

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doValidateDocument

public String doValidateDocument(javax.servlet.http.HttpServletRequest request)
Perform the document validation

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doConfirmArchiveDocument

public String doConfirmArchiveDocument(javax.servlet.http.HttpServletRequest request)
Confirm the filing

Parameters:
request - The HTTP servlet Request
Returns:
The url of filing jsp

doRemoveSelection

public String doRemoveSelection(javax.servlet.http.HttpServletRequest request)
Remove selection

Parameters:
request - The HTTP request
Returns:
The forward url

doArchiveSelection

public String doArchiveSelection(javax.servlet.http.HttpServletRequest request)
Unpublish and archive selected documents

Parameters:
request - The Http request
Returns:
The URL to redirect to

doActionSelectionDocument

public String doActionSelectionDocument(javax.servlet.http.HttpServletRequest request)
Processes document action for multiselection

Parameters:
request - The Http request
Returns:
The URL to redirect to

doArchiveDocument

public String doArchiveDocument(javax.servlet.http.HttpServletRequest request)
Perform the document filing

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

doSearchDocumentById

public String doSearchDocumentById(javax.servlet.http.HttpServletRequest request)
Perform a document search by Id

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getPreviewDocument

public String getPreviewDocument(javax.servlet.http.HttpServletRequest request)
Get the preview page

Parameters:
request - The HTTP request
Returns:
The preview page

getMoveDocument

public String getMoveDocument(javax.servlet.http.HttpServletRequest request)
Perform the changing of space

Parameters:
request - The HTTP request
Returns:
The document move page

doMoveDocument

public String doMoveDocument(javax.servlet.http.HttpServletRequest request)
Perform the document moving

Parameters:
request - The HTTP request
Returns:
The URL to go after performing the action

getHomeUrl

public String getHomeUrl(javax.servlet.http.HttpServletRequest request)

Overrides:
getHomeUrl in class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
Returns:
Return the URL of the menu if the user come from the menu, of the URL of the main page of this feature if he comes from anywhere else

init

public void init(javax.servlet.http.HttpServletRequest request,
                 String strRight)
          throws fr.paris.lutece.portal.service.admin.AccessDeniedException,
                 fr.paris.lutece.portal.service.admin.PasswordResetException

Overrides:
init in class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
fr.paris.lutece.portal.service.admin.PasswordResetException


Copyright © 2013 Mairie de Paris. All Rights Reserved.