fr.paris.lutece.portal.business.group
Class GroupRoleDAO
java.lang.Object
fr.paris.lutece.portal.business.group.GroupRoleDAO
- All Implemented Interfaces:
- IGroupRoleDAO
public final class GroupRoleDAO
- extends java.lang.Object
- implements IGroupRoleDAO
This class provides Data Access methods for Group objects
Method Summary |
void |
createRole(java.lang.String strGroupKey,
java.lang.String strRoleKey)
Assign a role to group |
void |
deleteRoles(java.lang.String strGroupKey)
Delete roles for a group |
java.util.ArrayList<java.lang.String> |
selectGroupRoles(java.lang.String strGroupKey)
Find group's roles |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
public static final java.lang.String SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
- See Also:
- Constant Field Values
GroupRoleDAO
public GroupRoleDAO()
selectGroupRoles
public java.util.ArrayList<java.lang.String> selectGroupRoles(java.lang.String strGroupKey)
- Find group's roles
- Specified by:
selectGroupRoles
in interface IGroupRoleDAO
- Parameters:
strGroupKey
- the group key
- Returns:
- ArrayList the roles key list corresponding to the group
deleteRoles
public void deleteRoles(java.lang.String strGroupKey)
- Delete roles for a group
- Specified by:
deleteRoles
in interface IGroupRoleDAO
- Parameters:
strGroupKey
- The key of the groupplugin
- The Plugin using this data access service
createRole
public void createRole(java.lang.String strGroupKey,
java.lang.String strRoleKey)
- Assign a role to group
- Specified by:
createRole
in interface IGroupRoleDAO
- Parameters:
strGroupKey
- The key of the groupstrRoleKey
- The key of the role
Copyright © 2007 Mairie de Paris. All Rights Reserved.