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

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.DocumentTypeJspBean
All Implemented Interfaces:
Serializable

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

JSP Bean for document type management

See Also:
Serialized Form

Field Summary
static String RIGHT_DOCUMENT_TYPES_MANAGEMENT
           
 
Constructor Summary
DocumentTypeJspBean()
           
 
Method Summary
 String doAddAttribute(javax.servlet.http.HttpServletRequest request)
          Perform attribute creation
 String doAttributeMoveDown(javax.servlet.http.HttpServletRequest request)
          Perform the move down action
 String doAttributeMoveUp(javax.servlet.http.HttpServletRequest request)
          Perform the move up action
 String doConfirmDelete(javax.servlet.http.HttpServletRequest request)
          Confirm the deletion of a document type
 String doConfirmDeleteAttribute(javax.servlet.http.HttpServletRequest request)
          Confirm the deletion of an attribute
 String doCreateDocumentType(javax.servlet.http.HttpServletRequest request)
          Perform the document type creation
 String doDeleteAttribute(javax.servlet.http.HttpServletRequest request)
          Perform the attribute deletion
 String doDeleteDocumentType(javax.servlet.http.HttpServletRequest request)
          Perform the deletion of a document type
 String doDeleteRegularExpression(javax.servlet.http.HttpServletRequest request)
          Deletes a regular expression in the attribute
 String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
          Inserts a regular expression in the attribute
 String doLoadStyleSheets(javax.servlet.http.HttpServletRequest request)
          Save the uploaded Sytlesheets
 String doModifyAttribute(javax.servlet.http.HttpServletRequest request)
          Perform attribute modification
 String doModifyDocumentType(javax.servlet.http.HttpServletRequest request)
          Perform document type modification creation
 String getAddAttribute(javax.servlet.http.HttpServletRequest request)
          Gets ttribute creation page
 String getCreateDocumentType(javax.servlet.http.HttpServletRequest request)
          Gets the document type creation page
 String getManageDocumentTypes(javax.servlet.http.HttpServletRequest request)
          Gets the Document Types Management Page
 String getModifyAttribute(javax.servlet.http.HttpServletRequest request)
          Gets the modification page
 String getModifyDocumentType(javax.servlet.http.HttpServletRequest request)
          Gets the document type modification page
 DocumentResource getStyleSheetFile(javax.servlet.http.HttpServletRequest request)
          Get the XSL specified in parameters
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, 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_TYPES_MANAGEMENT

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

DocumentTypeJspBean

public DocumentTypeJspBean()
Method Detail

getManageDocumentTypes

public String getManageDocumentTypes(javax.servlet.http.HttpServletRequest request)
Gets the Document Types Management Page

Parameters:
request - The HTTP request
Returns:
The Document Types Management Page

getCreateDocumentType

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

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

doCreateDocumentType

public String doCreateDocumentType(javax.servlet.http.HttpServletRequest request)
Perform the document type creation

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

getModifyDocumentType

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

Parameters:
request - The HTTP request
Returns:
The document type modification page

doModifyDocumentType

public String doModifyDocumentType(javax.servlet.http.HttpServletRequest request)
Perform document type modification creation

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

getAddAttribute

public String getAddAttribute(javax.servlet.http.HttpServletRequest request)
Gets ttribute creation page

Parameters:
request - The HTTP request
Returns:
the html template

doAddAttribute

public String doAddAttribute(javax.servlet.http.HttpServletRequest request)
Perform attribute creation

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

doModifyAttribute

public String doModifyAttribute(javax.servlet.http.HttpServletRequest request)
Perform attribute modification

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

getModifyAttribute

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

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

doConfirmDelete

public String doConfirmDelete(javax.servlet.http.HttpServletRequest request)
Confirm the deletion of a document type

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

doDeleteDocumentType

public String doDeleteDocumentType(javax.servlet.http.HttpServletRequest request)
Perform the deletion of a document type

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

doConfirmDeleteAttribute

public String doConfirmDeleteAttribute(javax.servlet.http.HttpServletRequest request)
Confirm the deletion of an attribute

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

doDeleteAttribute

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

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

doAttributeMoveUp

public String doAttributeMoveUp(javax.servlet.http.HttpServletRequest request)
Perform the move up action

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

doAttributeMoveDown

public String doAttributeMoveDown(javax.servlet.http.HttpServletRequest request)
Perform the move down action

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

doLoadStyleSheets

public String doLoadStyleSheets(javax.servlet.http.HttpServletRequest request)
Save the uploaded Sytlesheets

Parameters:
request - The HttpServletRequest
Returns:
the home url

getStyleSheetFile

public DocumentResource getStyleSheetFile(javax.servlet.http.HttpServletRequest request)
Get the XSL specified in parameters

Parameters:
request - The HttpServletRequest
Returns:
A DocumentResource (name, content and contentType)

doInsertRegularExpression

public String doInsertRegularExpression(javax.servlet.http.HttpServletRequest request)
Inserts a regular expression in the attribute

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

doDeleteRegularExpression

public String doDeleteRegularExpression(javax.servlet.http.HttpServletRequest request)
Deletes a regular expression in the attribute

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.