fr.paris.lutece.plugins.jcr.business.admin
Class AdminViewRoleDAO
java.lang.Object
fr.paris.lutece.plugins.jcr.business.admin.AdminViewRoleDAO
- All Implemented Interfaces:
- IAdminViewRoleDAO
public class AdminViewRoleDAO
- extends Object
- implements IAdminViewRoleDAO
Method Summary |
void |
delete(int id,
String strAccessRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
List<String> |
findByIdAndAccessRight(int id,
String strAccessRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
int |
findByRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the number of AdminViewRole linked with the specified Lutece Role |
void |
insert(int id,
String strAccessRight,
List<String> listRoles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
void |
store(int id,
String strAccessRight,
List<String> listRoles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminViewRoleDAO
public AdminViewRoleDAO()
delete
public void delete(int id,
String strAccessRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
delete
in interface IAdminViewRoleDAO
findByIdAndAccessRight
public List<String> findByIdAndAccessRight(int id,
String strAccessRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
findByIdAndAccessRight
in interface IAdminViewRoleDAO
findByRole
public int findByRole(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Get the number of AdminViewRole linked with the specified Lutece Role
- Specified by:
findByRole
in interface IAdminViewRoleDAO
- Parameters:
strRoleKey
- The Lutece Role keyplugin
- The plugin
- Returns:
- the count of AdminViewRole
insert
public void insert(int id,
String strAccessRight,
List<String> listRoles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
insert
in interface IAdminViewRoleDAO
store
public void store(int id,
String strAccessRight,
List<String> listRoles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
store
in interface IAdminViewRoleDAO
Copyright © 2014 Mairie de Paris. All Rights Reserved.