Interface IDocContentDAO
- All Known Implementing Classes:
DocContentDAO
public interface IDocContentDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nBlogId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the DocContent identifier Blog is specified in parametervoiddeleteById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the DocContent whose identifier is specified in parametervoiddeleteInBlogById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the link between the document and the blogvoidinsertDocContent(DocContent docContent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Create an instance of the DocContent classvoidinsertDocContentInBlog(int nIdBlog, int nIdDocument, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin) Link a blog with a documentloadContentType(int idType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an instance of a ContentType whose identifier is specified in parameterloadDocContent(int nIdDocument, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an instance of a DocContent whose identifier is specified in parameterloadDocContentByIdHtemldoc(int idHtmlDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an list of a DocContent whose htmldoc identifier is specified in parameterloadListContentType(fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns a list of a ContentTypevoidstore(DocContent docContent, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update of the DocContent which is specified in parameter
-
Method Details
-
insertDocContent
Create an instance of the DocContent class- Parameters:
docContent- The Document Contentplugin- the plugin
-
loadDocContent
Returns an instance of a DocContent whose identifier is specified in parameter- Parameters:
nIdDocument-plugin- the plugin- Returns:
- an instance of DocContent
-
loadDocContentByIdHtemldoc
List<DocContent> loadDocContentByIdHtemldoc(int idHtmlDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin) Returns an list of a DocContent whose htmldoc identifier is specified in parameter- Parameters:
idHtmlDoc-plugin- the plugin- Returns:
- an instance of DocContent
-
delete
void delete(int nBlogId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the DocContent identifier Blog is specified in parameter- Parameters:
nBlogId- the Id Blogplugin- the plugin
-
deleteById
void deleteById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the DocContent whose identifier is specified in parameter- Parameters:
nDocumentId- the Id DocContentplugin- the plugin
-
store
Update of the DocContent which is specified in parameter- Parameters:
docContent- the Document Contentplugin- the plugin
-
loadContentType
Returns an instance of a ContentType whose identifier is specified in parameter- Parameters:
idType- The identifierplugin- the plugin- Returns:
- an instance of a ContentType
-
loadListContentType
Returns a list of a ContentType- Parameters:
plugin- the plugin- Returns:
- a list of a ContentType
-
insertDocContentInBlog
void insertDocContentInBlog(int nIdBlog, int nIdDocument, int nPriority, fr.paris.lutece.portal.service.plugin.Plugin plugin) Link a blog with a document- Parameters:
nIdBlog-nIdDocument-nPriority-plugin-
-
deleteInBlogById
void deleteInBlogById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove the link between the document and the blog- Parameters:
nDocumentId- the document Idplugin- the plugin
-