|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.stylesheet.StyleSheetDAO
public final class StyleSheetDAO
This class provides Data Access methods for StyleSheet objects
| Constructor Summary | |
|---|---|
StyleSheetDAO()
|
|
| Method Summary | |
|---|---|
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 |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleSheetDAO()
| Method Detail |
|---|
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 load
public void delete(int nIdStylesheet)
delete in interface IStyleSheetDAOnIdStylesheet - the identifier of the StyleSheet to deletepublic java.util.Collection<StyleSheet> selectStyleSheetList(int nModeId)
selectStyleSheetList in interface IStyleSheetDAOnModeId - The Mode identifier
public void store(StyleSheet stylesheet)
store in interface IStyleSheetDAOstyleSheet - The reference of styleSheet
public int selectStyleSheetNbPerStyleMode(int nStyleId,
int nModeId)
selectStyleSheetNbPerStyleMode in interface IStyleSheetDAOnStyleId - the style idnModeId - the mode id
public int selectModeId(int nIdStylesheet)
selectModeId in interface IStyleSheetDAOnIdStylesheet - the identifier of the stylesheet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||