public final class StyleSheetDAO extends Object implements IStyleSheetDAO
| Constructor and Description |
|---|
StyleSheetDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdStylesheet)
Delete the StyleSheet from the database whose identifier is specified in parameter
|
void |
insert(StyleSheet stylesheet)
Insert a new record in the table.
|
StyleSheet |
load(int nIdStylesheet)
Load the data of Stylesheet from the table
|
int |
selectModeId(int nIdStylesheet)
Returns the identifier of the mode of the stylesheet whose identifier is specified in parameter
|
Collection<StyleSheet> |
selectStyleSheetList(int nModeId)
Load the list of stylesheet
|
int |
selectStyleSheetNbPerStyleMode(int nStyleId,
int nModeId)
Returns the number of stylesheets associated to the style and the mode specified in parameter
|
void |
store(StyleSheet stylesheet)
Update the record in the table
|
public void insert(StyleSheet stylesheet)
insert in interface IStyleSheetDAOstylesheet - The StyleSheet objectpublic StyleSheet load(int nIdStylesheet)
load in interface IStyleSheetDAOnIdStylesheet - the identifier of the Stylesheet to loadpublic void delete(int nIdStylesheet)
delete in interface IStyleSheetDAOnIdStylesheet - the identifier of the StyleSheet to deletepublic Collection<StyleSheet> selectStyleSheetList(int nModeId)
selectStyleSheetList in interface IStyleSheetDAOnModeId - The Mode identifierpublic void store(StyleSheet stylesheet)
store in interface IStyleSheetDAOstylesheet - The stylesheetpublic int selectStyleSheetNbPerStyleMode(int nStyleId,
int nModeId)
selectStyleSheetNbPerStyleMode in interface IStyleSheetDAOnStyleId - the style idnModeId - the mode idpublic int selectModeId(int nIdStylesheet)
selectModeId in interface IStyleSheetDAOnIdStylesheet - the identifier of the stylesheetCopyright © 2020 City of Paris. All rights reserved.