|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.group.GroupRoleDAO
public final class GroupRoleDAO
This class provides Data Access methods for Group objects
| Field Summary | |
|---|---|
static java.lang.String |
SQL_QUERY_FIND_GROUPS_FROM_ROLE_ID
|
static java.lang.String |
SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
|
| Constructor Summary | |
|---|---|
GroupRoleDAO()
|
|
| 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.List<java.lang.String> |
selectGroupRoles(java.lang.String strGroupKey)
Find group's roles |
java.util.List<java.lang.String> |
selectGroupRolesByRoleKey(java.lang.String strRoleKey)
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 java.lang.String SQL_QUERY_FIND_ROLES_FROM_GROUP_ID
public static final java.lang.String SQL_QUERY_FIND_GROUPS_FROM_ROLE_ID
| Constructor Detail |
|---|
public GroupRoleDAO()
| Method Detail |
|---|
public java.util.List<java.lang.String> selectGroupRoles(java.lang.String strGroupKey)
selectGroupRoles in interface IGroupRoleDAOstrGroupKey - the group key
public java.util.List<java.lang.String> selectGroupRolesByRoleKey(java.lang.String strRoleKey)
selectGroupRolesByRoleKey in interface IGroupRoleDAOstrRoleKey - The Role key
public void deleteRoles(java.lang.String strGroupKey)
deleteRoles in interface IGroupRoleDAOstrGroupKey - The key of the group
public void createRole(java.lang.String strGroupKey,
java.lang.String strRoleKey)
createRole in interface IGroupRoleDAOstrGroupKey - The key of the groupstrRoleKey - The key of the role
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||