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

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

JSP Bean for document rules management

See Also:
Serialized Form

Field Summary
static String RIGHT_RULES_MANAGEMENT
           
 
Constructor Summary
DocumentRulesJspBean()
           
 
Method Summary
 String deleteRule(javax.servlet.http.HttpServletRequest request)
          Confirm the deletion
 String doCreateRule(javax.servlet.http.HttpServletRequest request)
          Perform the rule creation
 String doDeleteRule(javax.servlet.http.HttpServletRequest request)
          Perform the deletion
 String doSaveRuleSession(javax.servlet.http.HttpServletRequest request)
          Perform the rule in session
 String doSelectSpace(javax.servlet.http.HttpServletRequest request)
          perform the space selected in the rule session
 String getCreateRule(javax.servlet.http.HttpServletRequest request)
          Gets the create rule page
 String getManageRules(javax.servlet.http.HttpServletRequest request)
          Gets the manage rules page
 String getRuleAttributeSelectedSession()
          Get the RuleAttributeSelectedSession
 Rule getRuleSession()
          Get rule
 String getSelectSpace(javax.servlet.http.HttpServletRequest request)
          Gets the interface of spaces selection
 void setRuleAttributeSelectedSession(String ruleAttributeSelected)
          Set the RuleAttributeSelectedSession
 void setRuleSession(Rule rule)
          Set 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, 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_RULES_MANAGEMENT

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

DocumentRulesJspBean

public DocumentRulesJspBean()
Method Detail

getRuleSession

public Rule getRuleSession()
Get rule

Returns:
Rule

setRuleSession

public void setRuleSession(Rule rule)
Set rule

Parameters:
rule - rule

getRuleAttributeSelectedSession

public String getRuleAttributeSelectedSession()
Get the RuleAttributeSelectedSession

Returns:
RuleAttributeSelectedSession

setRuleAttributeSelectedSession

public void setRuleAttributeSelectedSession(String ruleAttributeSelected)
Set the RuleAttributeSelectedSession

Parameters:
ruleAttributeSelected - RuleAttributeSelectedSession

getManageRules

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

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

getSelectSpace

public 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 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 String getCreateRule(javax.servlet.http.HttpServletRequest request)
Gets the create rule page

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

doCreateRule

public 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 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 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 String doDeleteRule(javax.servlet.http.HttpServletRequest request)
Perform the deletion

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.