public final class StyleHome extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkStylePortalComponent(int nPortalComponentId)
Checks if a style has been created in the database with the given portal componenet
|
static Style |
create(Style style)
Creation of a Style record in the database
|
static Style |
findByPrimaryKey(int nKey)
Returns an instance of a style whose identifier is specified in parameter
|
static ReferenceList |
getPortalComponentList()
Returns a reference list which contains all the Portal Components
|
static Collection<StyleSheet> |
getStyleSheetList(int nStyleId)
Returns the collection of the StyleSheet objects associated to the Style
|
static Collection<Style> |
getStylesList()
Returns the collection of the Style objects stored in the database
|
static void |
remove(int nStyleId)
Deletes the record in the database which corresponds to the Style instance specified in parameter.
|
static void |
update(Style style)
Updates the record in the database which corresponds to the Style instance specified in parameter.
|
public static Style create(Style style)
style
- An instance of the style which contains the informations to storepublic static void update(Style style)
style
- the instance of the style to updatepublic static void remove(int nStyleId)
nStyleId
- The identifier of the stylepublic static Style findByPrimaryKey(int nKey)
nKey
- The primary key of the style to find in the databasepublic static Collection<Style> getStylesList()
public static Collection<StyleSheet> getStyleSheetList(int nStyleId)
nStyleId
- identifier of the stylepublic static ReferenceList getPortalComponentList()
public static boolean checkStylePortalComponent(int nPortalComponentId)
nPortalComponentId
- The identifier of the portal componentCopyright © 2020 City of Paris. All rights reserved.