Interface IAccessControlResourceDAO
- All Known Implementing Classes:
AccessControlResourceDAO
public interface IAccessControlResourceDAO
IAccessControlResourceDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByAccessControl(int nIdAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tableintfindByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) load a record from the tablevoidinsert(AccessControlResource accessControlResource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.
-
Method Details
-
insert
void insert(AccessControlResource accessControlResource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
accessControlResource- instance of the AccessControlResource object to insertplugin- the Plugin
-
deleteByResource
void deleteByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdResource- The identifier of the resourcestrResourceType- The type of the resourceplugin- the Plugin
-
deleteByAccessControl
void deleteByAccessControl(int nIdAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdResource- The identifier of the access controlplugin- the Plugin
-
findByResource
int findByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) load a record from the table- Parameters:
nIdResource- The identifier of the resourcestrResourceType- The type of the resourceplugin- the Plugin
-