public final class DocContentHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(DocContent docContent)
Create an instance of the DocContent class
|
static DocContent |
getDocsContent(int nIdDocument)
Returns an instance of a DocContent whose identifier is specified in parameter
|
static List<DocContent> |
getDocsContentByHtmlDoc(int nIdHtmlDoc)
Returns an list of a DocContent whose htmldoc identifier is specified in parameter
|
static List<ContentType> |
getListContentType()
Returns a list of a ContentType
|
static void |
insertInBlog(int nIdBlog,
int nIdDocument) |
static void |
remove(int nBlog)
Remove the DocContent whose identifier Blog is specified in parameter
|
static void |
removeById(int nKey)
Remove the DocContent whose identifier is specified in parameter
|
static void |
removeInBlogById(int nDocumentId)
Remove the correspondance beetween the document and the blog
|
static DocContent |
update(DocContent docContent)
Update of the DocContent which is specified in parameter
|
public static void create(DocContent docContent)
docContent - The Document Contentpublic static void insertInBlog(int nIdBlog,
int nIdDocument)
nIdBlog - the blog idnIdDocument - the document idpublic static DocContent update(DocContent docContent)
docContent - the Document Contentpublic static void remove(int nBlog)
nKey - the Id DocContentpublic static void removeInBlogById(int nDocumentId)
nDocumentId - the document idpublic static void removeById(int nKey)
nKey - the Id DocContentpublic static DocContent getDocsContent(int nIdDocument)
nIdDocument - public static List<DocContent> getDocsContentByHtmlDoc(int nIdHtmlDoc)
nIdHtmlDoc - public static List<ContentType> getListContentType()
plugin - the pluginCopyright © 2020 City of Paris. All rights reserved.