fr.paris.lutece.plugins.helpdesk.business
Interface IVisitorQuestionDAO

All Known Implementing Classes:
VisitorQuestionDAO

public interface IVisitorQuestionDAO

Interface for Visitor DAO


Method Summary
 void delete(int nIdVisitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 java.util.List<VisitorQuestion> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all objects
 fr.paris.lutece.util.ReferenceList findByTopic(int nIdQuestionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all objects
 java.util.List<VisitorQuestion> findByTopics(int nIdQuestionTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all objects
 java.util.List<VisitorQuestion> findByType(int nIdQuestionType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all objects
 java.util.List<VisitorQuestion> findByUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find all objects
 void insert(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 VisitorQuestion load(int nIdVisitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of VisitorQuestion from the table
 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Calculate a new primary key to add a new VisitorQuestion
 void store(VisitorQuestion visitorQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

delete

void delete(int nIdVisitorQuestion,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdVisitorQuestion - The indentifier of the object VisitorQuestion
plugin - The Plugin using this data access service

findAll

java.util.List<VisitorQuestion> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects

Parameters:
plugin - The Plugin using this data access service
Returns:
A Collection of objects

insert

void insert(VisitorQuestion visitorQuestion,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
visitorQuestion - The Instance of the object VisitorQuestion
plugin - The Plugin using this data access service

load

VisitorQuestion load(int nIdVisitorQuestion,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of VisitorQuestion from the table

Parameters:
nIdVisitorQuestion - The indentifier of the object VisitorQuestion
plugin - The Plugin using this data access service
Returns:
The Instance of the object VisitorQuestion

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate a new primary key to add a new VisitorQuestion

Parameters:
plugin - The Plugin using this data access service
Returns:
The new key.

store

void store(VisitorQuestion visitorQuestion,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
visitorQuestion - The instance of the VisitorQuestion to update
plugin - The Plugin using this data access service

findByUser

java.util.List<VisitorQuestion> findByUser(int nIdUser,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects

Parameters:
nIdUser - The User ID
plugin - The Plugin using this data access service
Returns:
A Collection of objects

findByTopic

fr.paris.lutece.util.ReferenceList findByTopic(int nIdQuestionTopic,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects

Parameters:
nIdQuestionTopic - The Question Topic ID
plugin - The Plugin using this data access service
Returns:
A Collection of objects

findByType

java.util.List<VisitorQuestion> findByType(int nIdQuestionType,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects

Parameters:
nIdQuestionType - The Question Type ID
plugin - The Plugin using this data access service
Returns:
A Collection of objects

findByTopics

java.util.List<VisitorQuestion> findByTopics(int nIdQuestionTopic,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all objects

Parameters:
nIdQuestionTopic - The Question Topic ID
plugin - The Plugin using this data access service
Returns:
A Collection of objects


Copyright © 2007 Mairie de Paris. All Rights Reserved.