public interface IStyleSheetDAO
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
|
void delete(int nIdStylesheet)
nIdStylesheet
- the identifier of the StyleSheet to deletevoid insert(StyleSheet stylesheet)
stylesheet
- The StyleSheet objectStyleSheet load(int nIdStylesheet)
nIdStylesheet
- the identifier of the Stylesheet to loadint selectModeId(int nIdStylesheet)
nIdStylesheet
- the identifier of the stylesheetCollection<StyleSheet> selectStyleSheetList(int nModeId)
nModeId
- The Mode identifierint selectStyleSheetNbPerStyleMode(int nStyleId, int nModeId)
nStyleId
- the style idnModeId
- the mode idvoid store(StyleSheet stylesheet)
stylesheet
- The stylesheet to storeCopyright © 2020 City of Paris. All rights reserved.