Interface IRuleDAO
- All Known Implementing Classes:
RuleDAO
public interface IRuleDAO
IRuleDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectIdRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the rule objects and returns them as a listselectRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the rule objects and returns them as a listfr.paris.lutece.util.ReferenceListselectRulesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the rule objects and returns them as a referenceListvoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
rule- instance of the Rule object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
rule- the reference of the Ruleplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the Rule to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the ruleplugin- the Plugin- Returns:
- The instance of the rule
-
selectRulesList
Load the data of all the rule objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the rule objects
-
selectIdRulesList
Load the id of all the rule objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the rule objects
-
selectRulesReferenceList
fr.paris.lutece.util.ReferenceList selectRulesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the rule objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the rule objects
-