Class DocumentRulesJspBean
- java.lang.Object
-
- fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
-
- fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
-
- fr.paris.lutece.plugins.document.web.rules.DocumentRulesJspBean
-
- All Implemented Interfaces:
Serializable
public class DocumentRulesJspBean extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBeanJSP Bean for document rules management- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringRIGHT_RULES_MANAGEMENT
-
Constructor Summary
Constructors Constructor Description DocumentRulesJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeleteRule(javax.servlet.http.HttpServletRequest request)Confirm the deletionStringdoCreateRule(javax.servlet.http.HttpServletRequest request)Perform the rule creationStringdoDeleteRule(javax.servlet.http.HttpServletRequest request)Perform the deletionStringdoSaveRuleSession(javax.servlet.http.HttpServletRequest request)Perform the rule in sessionStringdoSelectSpace(javax.servlet.http.HttpServletRequest request)perform the space selected in the rule sessionStringgetCreateRule(javax.servlet.http.HttpServletRequest request)Gets the create rule pageStringgetManageRules(javax.servlet.http.HttpServletRequest request)Gets the manage rules pageStringgetRuleAttributeSelectedSession()Get the RuleAttributeSelectedSessionRulegetRuleSession()Get ruleStringgetSelectSpace(javax.servlet.http.HttpServletRequest request)Gets the interface of spaces selectionvoidsetRuleAttributeSelectedSession(String ruleAttributeSelected)Set the RuleAttributeSelectedSessionvoidsetRuleSession(Rule rule)Set rule-
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
-
-
-
-
Field Detail
-
RIGHT_RULES_MANAGEMENT
public static final String RIGHT_RULES_MANAGEMENT
- See Also:
- Constant Field Values
-
-
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
-
-