Class FollowDAO
java.lang.Object
fr.paris.lutece.plugins.extend.modules.follow.business.FollowDAO
- All Implemented Interfaces:
IFollowDAO
This class provides Data Access methods for follow objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.voiddeleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by id hub resource.voidInsert.load(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.loadByFilter(FollowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select by id hub resource.voidStore.
-
Constructor Details
-
FollowDAO
public FollowDAO()
-
-
Method Details
-
insert
Insert.- Specified by:
insertin interfaceIFollowDAO- Parameters:
follow- the Followplugin- the plugin
-
load
Load.- Specified by:
loadin interfaceIFollowDAO- Parameters:
nIdfollow- the n id Followplugin- the plugin- Returns:
- the Follow
-
delete
public void delete(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete.- Specified by:
deletein interfaceIFollowDAO- Parameters:
nIdfollow- the n id Followplugin- the plugin
-
deleteByResource
public void deleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete by id hub resource.- Specified by:
deleteByResourcein interfaceIFollowDAO- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typeplugin- the plugin
-
store
Store.- Specified by:
storein interfaceIFollowDAO- Parameters:
follow- the Followplugin- the plugin
-
loadByResource
public Follow loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select by id hub resource.- Specified by:
loadByResourcein interfaceIFollowDAO- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typeplugin- the plugin- Returns:
- the Follow
-
loadByFilter
public List<Follow> loadByFilter(FollowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
loadByFilterin interfaceIFollowDAO- Parameters:
filter- the filterplugin- the plugin- Returns:
- List Follow
-