| Package | Description |
|---|---|
| fr.paris.lutece.plugins.myluteceaccessrules.business | |
| fr.paris.lutece.plugins.myluteceaccessrules.service |
| Modifier and Type | Method and Description |
|---|---|
static Rule |
RuleHome.create(Rule rule)
Create an instance of the rule class
|
static Rule |
RuleHome.findByPrimaryKey(int nKey)
Returns an instance of a rule whose identifier is specified in parameter
|
Rule |
IRuleDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Rule |
RuleDAO.load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
static Rule |
RuleHome.update(Rule rule)
Update of the rule which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
static List<Rule> |
RuleHome.getRulesList()
Load the data of all the rule objects and returns them as a list
|
List<Rule> |
IRuleDAO.selectRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the rule objects and returns them as a list
|
List<Rule> |
RuleDAO.selectRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the rule objects and returns them as a list
|
| Modifier and Type | Method and Description |
|---|---|
static Rule |
RuleHome.create(Rule rule)
Create an instance of the rule class
|
void |
IRuleDAO.insert(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
RuleDAO.insert(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
IRuleDAO.store(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
RuleDAO.store(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static Rule |
RuleHome.update(Rule rule)
Update of the rule which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RuleHome.updateRulesPriorities(List<Rule> listRules)
Update rules priorities.
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
AccessRulesService.geFirstRuleTriggered(javax.servlet.http.HttpServletRequest request)
Ge the first rule triggered.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
AccessRulesService.getRulesEnabled()
Gets the list of enabled rules
|
| Modifier and Type | Method and Description |
|---|---|
String |
AccessRulesService.buildRedirectUrl(Rule rule,
javax.servlet.http.HttpServletRequest request,
int nbRedirect)
Builds the redirect url depending to the rule specification
|
boolean |
AccessRulesService.isRuleMatchingRequest(Rule rule,
javax.servlet.http.HttpServletRequest request)
Checks if this rule match the request.
|
Copyright © 2023 City of Paris. All rights reserved.