Class FollowHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.extend.modules.follow.business.FollowHistoryDAO
- All Implemented Interfaces:
IFollowHistoryDAO
This class provides Data Access methods for Follow objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(FollowHistory followHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert.findByHistoryExtenderId(long lIdHistoryExtenderId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find aFollowHistoryvoidremove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.voidremoveByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by resource
-
Constructor Details
-
FollowHistoryDAO
public FollowHistoryDAO()
-
-
Method Details
-
remove
public void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFollowHistoryDAODelete.- Specified by:
removein interfaceIFollowHistoryDAO- Parameters:
nId- the n id followplugin- the plugin
-
removeByResource
public void removeByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFollowHistoryDAODelete by resource- Specified by:
removeByResourcein interfaceIFollowHistoryDAO- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typeplugin- the plugin
-
create
public void create(FollowHistory followHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFollowHistoryDAOInsert.- Specified by:
createin interfaceIFollowHistoryDAO- Parameters:
followHistory- the followHistoryplugin- the plugin
-
findByHistoryExtenderId
public FollowHistory findByHistoryExtenderId(long lIdHistoryExtenderId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFollowHistoryDAOFind aFollowHistory- Specified by:
findByHistoryExtenderIdin interfaceIFollowHistoryDAO- Parameters:
lIdHistoryExtenderId- the extender idplugin- the plugin- Returns:
- the corresponding
FollowHistory
-