Interface IBlogDAO
-
- All Known Implementing Classes:
BlogDAO
public interface IBlogDAOIBlogDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteSpecificVersion(int nIdBlog, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a blog's specific version record from the tablevoiddeleteVersions(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.voidinsertVersion(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Blogload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<Blog>loadBlogByIdTag(int nIdTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of Blogs objects and returns them as a listBlogloadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableBlogloadVersion(int nId, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<String>selectAllUsersEditedBlog(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the users edited the blog and returns them as a listList<Blog>selectBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the blog objects and returns them as a listfr.paris.lutece.util.ReferenceListselectBlogsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the Blog objects and returns them as a referenceListList<Blog>selectBlogsVersionsList(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the blog objects and returns them as a listList<Blog>selectByFilter(BlogFilter filter)Load the list of BlogsList<Integer>selectIdBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the Blog objects and returns them as a listList<Blog>selectLastBlogVersionsList(int nId, int nLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of nLimit last versions of a specific blog and returns them as a listList<Blog>selectlastModifiedBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nLimit)Load the data of nLimit last modified blog objects and returns them as a listList<Blog>selectWithoutBinaries(fr.paris.lutece.portal.service.plugin.Plugin plugin)voidstore(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
blog- instance of the Blog object to insertplugin- the Plugin
-
insertVersion
void insertVersion(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
blog- instance of the blog object to insertplugin- the Plugin
-
store
void store(Blog blog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
blog- the reference of the blogplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the blog to deleteplugin- the Plugin
-
deleteVersions
void deleteVersions(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the blog to deleteplugin- the Plugin
-
deleteSpecificVersion
void deleteSpecificVersion(int nIdBlog, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a blog's specific version record from the table- Parameters:
nIdBlog- The identifier of the blog to processnVersion- The value of the version to deleteplugin- the Plugin
-
load
Blog load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the blogplugin- the Plugin- Returns:
- The instance of the blog
-
loadByName
Blog loadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strName- The name of the blogplugin- the Plugin- Returns:
- The instance of the blog
-
loadVersion
Blog loadVersion(int nId, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nId- The identifier of the blognVersion- The versionplugin- the Plugin- Returns:
- The instance of the blog
-
selectBlogsList
List<Blog> selectBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the blog objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the blog objects
-
selectlastModifiedBlogsList
List<Blog> selectlastModifiedBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nLimit)
Load the data of nLimit last modified blog objects and returns them as a list- Parameters:
plugin- the PluginnLimit- number of blogument- Returns:
- The list which contains the data of of nLimit last modified blog objects
-
selectLastBlogVersionsList
List<Blog> selectLastBlogVersionsList(int nId, int nLimit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of nLimit last versions of a specific blog and returns them as a list- Parameters:
nId- The blog's primary keynLimit- Maximum amount of Blog Object versions to return- Returns:
- The list which contains the data of nLimit last versions of the blog
-
selectBlogsVersionsList
List<Blog> selectBlogsVersionsList(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the blog objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the blog objects
-
selectAllUsersEditedBlog
List<String> selectAllUsersEditedBlog(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the users edited the blog and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the users edited blog objects
-
selectIdBlogsList
List<Integer> selectIdBlogsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the Blog objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the Blog objects
-
selectBlogsReferenceList
fr.paris.lutece.util.ReferenceList selectBlogsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Blog objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the Blog objects
-
selectByFilter
List<Blog> selectByFilter(BlogFilter filter)
Load the list of Blogs- Parameters:
filter- The BlogFilter Object- Returns:
- The Collection of the Blogss
-
loadBlogByIdTag
List<Blog> loadBlogByIdTag(int nIdTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Blogs objects and returns them as a list- Parameters:
nIdTag-plugin- the Plugin- Returns:
- the list of Blogs objects
-
-