fr.paris.lutece.plugins.document.web.rules
Class DocumentRulesJspBean

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.rules.DocumentRulesJspBean

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

JSP Bean for document rules management


Field Summary
static java.lang.String RIGHT_RULES_MANAGEMENT
           
 
Constructor Summary
DocumentRulesJspBean()
           
 
Method Summary
 java.lang.String deleteRule(javax.servlet.http.HttpServletRequest request)
          Confirm the deletion
 java.lang.String doCreateRule(javax.servlet.http.HttpServletRequest request)
          Perform the rule creation
 java.lang.String doDeleteRule(javax.servlet.http.HttpServletRequest request)
          Perform the deletion
 java.lang.String doSaveRuleSession(javax.servlet.http.HttpServletRequest request)
          Perform the rule in session
 java.lang.String doSelectSpace(javax.servlet.http.HttpServletRequest request)
          perform the space selected in the rule session
 java.lang.String getCreateRule(javax.servlet.http.HttpServletRequest request)
          Gets the create rule page
 java.lang.String getManageRules(javax.servlet.http.HttpServletRequest request)
          Gets the manage rules page
 java.lang.String getRuleAttributeSelectedSession()
           
 Rule getRuleSession()
           
 java.lang.String getSelectSpace(javax.servlet.http.HttpServletRequest request)
          Gets the interface of spaces selection
 void setRuleAttributeSelectedSession(java.lang.String ruleAttributeSelected)
           
 void setRuleSession(Rule rule)
           
 
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, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_RULES_MANAGEMENT

public static final java.lang.String RIGHT_RULES_MANAGEMENT
See Also:
Constant Field Values
Constructor Detail

DocumentRulesJspBean

public DocumentRulesJspBean()
Method Detail

getRuleSession

public Rule getRuleSession()

setRuleSession

public void setRuleSession(Rule rule)

getRuleAttributeSelectedSession

public java.lang.String getRuleAttributeSelectedSession()

setRuleAttributeSelectedSession

public void setRuleAttributeSelectedSession(java.lang.String ruleAttributeSelected)

getManageRules

public java.lang.String getManageRules(javax.servlet.http.HttpServletRequest request)
Gets the manage rules page

Parameters:
request - The HTTP request
Returns:
the manage rules page

getSelectSpace

public java.lang.String getSelectSpace(javax.servlet.http.HttpServletRequest request)
Gets the interface of spaces selection

Parameters:
request - the request
Returns:
the interface of spaces select

doSelectSpace

public java.lang.String doSelectSpace(javax.servlet.http.HttpServletRequest request)
perform the space selected in the rule session

Parameters:
request - The HTTP request
Returns:
The create rule page

getCreateRule

public java.lang.String getCreateRule(javax.servlet.http.HttpServletRequest request)
Gets the create rule page

Parameters:
request - The HTTP request
Returns:
The create rule page

doCreateRule

public java.lang.String doCreateRule(javax.servlet.http.HttpServletRequest request)
Perform the rule creation

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

doSaveRuleSession

public java.lang.String doSaveRuleSession(javax.servlet.http.HttpServletRequest request)
Perform the rule in session

Parameters:
request - The HTTP request
Returns:
The URL of spaces selection

deleteRule

public java.lang.String deleteRule(javax.servlet.http.HttpServletRequest request)
Confirm the deletion

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

doDeleteRule

public java.lang.String doDeleteRule(javax.servlet.http.HttpServletRequest request)
Perform the deletion

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.