public final class HtmlDocHome extends Object
Modifier and Type | Method and Description |
---|---|
static HtmlDoc |
addInitialVersion(HtmlDoc htmlDoc)
Create an initial version of an htmlDoc
|
static HtmlDoc |
addNewVersion(HtmlDoc htmlDoc)
Adds a new version of an htmlDoc
|
static HtmlDoc |
create(HtmlDoc htmlDoc)
Create an instance of the htmlDoc class
|
static HtmlDoc |
createVersion(HtmlDoc htmlDoc)
Create an instance of the htmlDoc class
|
static List<HtmlDoc> |
findByFilter(HtmlDocFilter filter,
Locale locale)
Returns a collection of HtmlDoc objects
|
static HtmlDoc |
findByName(String strName)
Returns an instance of a htmlDoc whose identifier is specified in parameter
|
static HtmlDoc |
findByPrimaryKey(int nKey)
Returns an instance of a htmlDoc whose identifier is specified in parameter
|
static HtmlDoc |
findVersion(int nId,
int nVersion)
Returns an instance of a htmlDoc whose identifier is specified in parameter
|
static List<HtmlDoc> |
getHtmlDocsList()
Load the data of all the htmlDoc objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getHtmlDocsReferenceList()
Load the data of all the htmlDoc objects and returns them as a referenceList
|
static List<HtmlDoc> |
getHtmlDocsVersionsList(int nId)
Load the data of all the htmlDoc objects and returns them as a list
|
static List<Integer> |
getIdHtmlDocsList()
Load the id of all the htmlDoc objects and returns them as a list
|
static void |
remove(int nKey)
Remove the htmlDoc whose identifier is specified in parameter
|
static void |
removeVersions(int nKey)
Remove the htmlDoc's versions whose identifier is specified in parameter
|
static HtmlDoc |
update(HtmlDoc htmlDoc)
Update of the htmlDoc which is specified in parameter
|
public static HtmlDoc create(HtmlDoc htmlDoc)
htmlDoc
- The instance of the HtmlDoc which contains the informations to storepublic static HtmlDoc createVersion(HtmlDoc htmlDoc)
htmlDoc
- The instance of the HtmlDoc which contains the informations to storepublic static HtmlDoc update(HtmlDoc htmlDoc)
htmlDoc
- The instance of the HtmlDoc which contains the data to storepublic static void remove(int nKey)
nKey
- The htmlDoc Idpublic static void removeVersions(int nKey)
nKey
- The htmlDoc Idpublic static HtmlDoc findByPrimaryKey(int nKey)
nKey
- The htmlDoc primary keypublic static HtmlDoc findByName(String strName)
nKey
- The htmlDoc primary keypublic static HtmlDoc findVersion(int nId, int nVersion)
nKey
- The htmlDoc primary keypublic static List<HtmlDoc> getHtmlDocsList()
public static List<HtmlDoc> getHtmlDocsVersionsList(int nId)
public static List<Integer> getIdHtmlDocsList()
public static fr.paris.lutece.util.ReferenceList getHtmlDocsReferenceList()
public static HtmlDoc addInitialVersion(HtmlDoc htmlDoc)
htmlDoc
- The instance of the HtmlDoc which contains the informations to storepublic static HtmlDoc addNewVersion(HtmlDoc htmlDoc)
htmlDoc
- The instance of the HtmlDoc which contains the informations to storepublic static List<HtmlDoc> findByFilter(HtmlDocFilter filter, Locale locale)
filter
- The filterlocale
- The localeCopyright © 2017 City of Paris. All rights reserved.