public interface IDocContentDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nBlogId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the DocContent identifier Blog is specified in parameter
|
void |
deleteById(int nDocumentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the DocContent whose identifier is specified in parameter
|
void |
deleteInBlogById(int nDocumentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the link between the document and the blog
|
void |
insertDocContent(DocContent docContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the DocContent class
|
void |
insertDocContentInBlog(int nIdBlog,
int nIdDocument,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Link a blog with a document
|
ContentType |
loadContentType(int idType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a ContentType whose identifier is specified in parameter
|
DocContent |
loadDocContent(int idDocument,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a DocContent whose identifier is specified in parameter
|
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
|
List<ContentType> |
loadListContentType(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of a ContentType
|
void |
store(DocContent docContent,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the DocContent which is specified in parameter
|
void insertDocContent(DocContent docContent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
docContent
- The Document Contentplugin
- the pluginDocContent loadDocContent(int idDocument, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDocument
- plugin
- the pluginList<DocContent> loadDocContentByIdHtemldoc(int idHtmlDoc, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idHtmlDoc
- plugin
- the pluginvoid delete(int nBlogId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- the Id Blogplugin
- the pluginvoid deleteById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- the Id DocContentplugin
- the pluginvoid store(DocContent docContent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
docContent
- the Document Contentplugin
- the pluginContentType loadContentType(int idType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
idType
- The identifierplugin
- the pluginList<ContentType> loadListContentType(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginvoid insertDocContentInBlog(int nIdBlog, int nIdDocument, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdBlog
- nIdDocument
- plugin
- void deleteInBlogById(int nDocumentId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDocumentId
- the document Idplugin
- the pluginCopyright © 2020 City of Paris. All rights reserved.