|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.database.authentication.business.GroupRoleDAO
public class GroupRoleDAO
This class provides Data Access methods for Group objects
| Field Summary | |
|---|---|
static String |
SQL_QUERY_FIND_GROUPS_FROM_ROLE_ID
|
static String |
SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
|
| Constructor Summary | |
|---|---|
GroupRoleDAO()
|
|
| Method Summary | |
|---|---|
void |
createRole(String strGroupKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to group |
void |
deleteRoles(String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a group |
List<String> |
selectGroupRoles(String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find group's roles |
List<String> |
selectGroupRolesByRoleKey(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find group's roles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
public static final String SQL_QUERY_FIND_GROUPS_FROM_ROLE_ID
| Constructor Detail |
|---|
public GroupRoleDAO()
| Method Detail |
|---|
public List<String> selectGroupRoles(String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectGroupRoles in interface IGroupRoleDAOstrGroupKey - the group keyplugin - Plugin
public List<String> selectGroupRolesByRoleKey(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectGroupRolesByRoleKey in interface IGroupRoleDAOstrRoleKey - The Role keyplugin - Plugin
public void deleteRoles(String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteRoles in interface IGroupRoleDAOstrGroupKey - The key of the groupplugin - Plugin
public void createRole(String strGroupKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
createRole in interface IGroupRoleDAOstrGroupKey - The key of the groupstrRoleKey - The key of the roleplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||