public class AccessControlResourceDAO extends Object implements IAccessControlResourceDAO
| Constructor and Description |
|---|
AccessControlResourceDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByAccessControl(int nIdAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
findByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load a record from the table
|
void |
insert(AccessControlResource accessControlResource,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
public void insert(AccessControlResource accessControlResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAccessControlResourceDAOinsert in interface IAccessControlResourceDAOaccessControlResource - instance of the AccessControlResource object to insertplugin - the Pluginpublic void deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAccessControlResourceDAOdeleteByResource in interface IAccessControlResourceDAOnIdResource - The identifier of the resourcestrResourceType - The type of the resourceplugin - the Pluginpublic void deleteByAccessControl(int nIdAccessControl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAccessControlResourceDAOdeleteByAccessControl in interface IAccessControlResourceDAOplugin - the Pluginpublic int findByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IAccessControlResourceDAOfindByResource in interface IAccessControlResourceDAOnIdResource - The identifier of the resourcestrResourceType - The type of the resourceplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.