|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.stylesheet.StyleSheetHome
public final class StyleSheetHome
This class provides instances management methods (create, find, ...) for Stylesheet objects
Method Summary | |
---|---|
static StyleSheet |
create(StyleSheet stylesheet)
Creation of an instance of a Stylesheet file in the database |
static StyleSheet |
findByPrimaryKey(int nKey)
Returns an instance of a stylesheet file whose identifier is specified in parameter |
static Collection<StyleSheet> |
getStyleSheetList(int nModeId)
Returns a collection of StyleSheet objet |
static int |
getStyleSheetNbPerStyleMode(int nStyleId,
int nModeId)
Returns the number of stylesheets associated to the style and the mode specified in parameter |
static void |
remove(int nId)
Deletes the StylesSheet whose identifier is specified in parameter |
static void |
update(StyleSheet stylesheet)
Update the StylesSheet whose identifier is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StyleSheet create(StyleSheet stylesheet)
stylesheet
- An instance of a stylesheet which contains the informations to store
public static void remove(int nId)
nId
- the identifier of the stylesheet to deletepublic static void update(StyleSheet stylesheet)
stylesheet
- the stylesheet to updatepublic static StyleSheet findByPrimaryKey(int nKey)
nKey
- the stylesheet primary key
public static int getStyleSheetNbPerStyleMode(int nStyleId, int nModeId)
nStyleId
- the style idnModeId
- the mode id
public static Collection<StyleSheet> getStyleSheetList(int nModeId)
nModeId
- The mode identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |