Class DocumentTypeJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
-
- fr.paris.lutece.plugins.document.web.DocumentTypeJspBean
-
- All Implemented Interfaces:
java.io.Serializable
public class DocumentTypeJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBeanJSP Bean for document type management- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRIGHT_DOCUMENT_TYPES_MANAGEMENT
-
Constructor Summary
Constructors Constructor Description DocumentTypeJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoAddAttribute(javax.servlet.http.HttpServletRequest request)Perform attribute creationjava.lang.StringdoAttributeMoveDown(javax.servlet.http.HttpServletRequest request)Perform the move down actionjava.lang.StringdoAttributeMoveUp(javax.servlet.http.HttpServletRequest request)Perform the move up actionjava.lang.StringdoConfirmDelete(javax.servlet.http.HttpServletRequest request)Confirm the deletion of a document typejava.lang.StringdoConfirmDeleteAttribute(javax.servlet.http.HttpServletRequest request)Confirm the deletion of an attributejava.lang.StringdoCreateDocumentType(javax.servlet.http.HttpServletRequest request)Perform the document type creationjava.lang.StringdoDeleteAttribute(javax.servlet.http.HttpServletRequest request)Perform the attribute deletionjava.lang.StringdoDeleteDocumentType(javax.servlet.http.HttpServletRequest request)Perform the deletion of a document typejava.lang.StringdoDeleteRegularExpression(javax.servlet.http.HttpServletRequest request)Deletes a regular expression in the attributejava.lang.StringdoInsertRegularExpression(javax.servlet.http.HttpServletRequest request)Inserts a regular expression in the attributejava.lang.StringdoLoadStyleSheets(javax.servlet.http.HttpServletRequest request)Save the uploaded Sytlesheetsjava.lang.StringdoModifyAttribute(javax.servlet.http.HttpServletRequest request)Perform attribute modificationjava.lang.StringdoModifyDocumentType(javax.servlet.http.HttpServletRequest request)Perform document type modification creationjava.lang.StringgetAddAttribute(javax.servlet.http.HttpServletRequest request)Gets ttribute creation pagejava.lang.StringgetCreateDocumentType(javax.servlet.http.HttpServletRequest request)Gets the document type creation pagejava.lang.StringgetManageDocumentTypes(javax.servlet.http.HttpServletRequest request)Gets the Document Types Management Pagejava.lang.StringgetModifyAttribute(javax.servlet.http.HttpServletRequest request)Gets the modification pagejava.lang.StringgetModifyDocumentType(javax.servlet.http.HttpServletRequest request)Gets the document type modification pageDocumentResourcegetStyleSheetFile(javax.servlet.http.HttpServletRequest request)Get the XSL specified in parameters-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Field Detail
-
RIGHT_DOCUMENT_TYPES_MANAGEMENT
public static final java.lang.String RIGHT_DOCUMENT_TYPES_MANAGEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageDocumentTypes
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getAddAttribute(javax.servlet.http.HttpServletRequest request)
Gets ttribute creation page- Parameters:
request- The HTTP request- Returns:
- the html template
-
doAddAttribute
public java.lang.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 java.lang.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 java.lang.String getModifyAttribute(javax.servlet.http.HttpServletRequest request)
Gets the modification page- Parameters:
request- The HTTP request- Returns:
- The modification page
-
doConfirmDelete
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String doLoadStyleSheets(javax.servlet.http.HttpServletRequest request)
Save the uploaded Sytlesheets- Parameters:
request- TheHttpServletRequest- Returns:
- the home url
-
getStyleSheetFile
public DocumentResource getStyleSheetFile(javax.servlet.http.HttpServletRequest request)
Get the XSL specified in parameters- Parameters:
request- TheHttpServletRequest- Returns:
- A
DocumentResource(name, content and contentType)
-
doInsertRegularExpression
public java.lang.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 java.lang.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
-
-