fr.paris.lutece.portal.business.group
Class GroupDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.group.GroupDAO
All Implemented Interfaces:
IGroupDAO

public final class GroupDAO
extends java.lang.Object
implements IGroupDAO

This class provides Data Access methods for Group objects


Constructor Summary
GroupDAO()
           
 
Method Summary
 void delete(java.lang.String strGroupKey)
          Delete a record from the table
 void insert(Group group)
          Insert a new record in the table.
 Group load(java.lang.String strGroupKey)
          load the data of Group from the table
 java.util.Collection<Group> selectAll()
          Load the list of groups
 ReferenceList selectGroupsList()
          Returns a list of all the right group
 void store(Group group)
          Update the record in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupDAO

public GroupDAO()
Method Detail

insert

public void insert(Group group)
Insert a new record in the table.

Specified by:
insert in interface IGroupDAO
Parameters:
group - The Instance of the object Group

load

public Group load(java.lang.String strGroupKey)
load the data of Group from the table

Specified by:
load in interface IGroupDAO
Parameters:
strGroupKey - The indentifier of the object Group
Returns:
The Instance of the object Group

delete

public void delete(java.lang.String strGroupKey)
Delete a record from the table

Specified by:
delete in interface IGroupDAO
Parameters:
strGroupKey - The indentifier of the object Group

store

public void store(Group group)
Update the record in the table

Specified by:
store in interface IGroupDAO
Parameters:
group - The instance of the Group to update

selectGroupsList

public ReferenceList selectGroupsList()
Returns a list of all the right group

Specified by:
selectGroupsList in interface IGroupDAO
Returns:
A ReferenceList of group objects

selectAll

public java.util.Collection<Group> selectAll()
Load the list of groups

Specified by:
selectAll in interface IGroupDAO
Returns:
The Collection of the Groups


Copyright © 2007 Mairie de Paris. All Rights Reserved.