Constructor and Description |
---|
StyleDAO() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkStylePortalComponent(int nPortalComponentId)
Checks if a style has been created in the database with the given portal componenet
|
void |
delete(int nStyleId)
Delete a record from the table
|
void |
insert(Style style)
Insert a new record in the table.
|
Style |
load(int nStyleId)
load the data of the Style whose identifier is specified in parameter from the table
|
ReferenceList |
selectPortalComponentList()
Returns the list of the portal component in form of a ReferenceList
|
Collection<StyleSheet> |
selectStyleSheetList(int nStyleId)
load the data of the StyleSheet which re associated to the given style
|
Collection<Style> |
selectStylesList()
Load the list of styles stored in the database
|
void |
store(Style style)
Update the record in the table
|
public void insert(Style style)
public Style load(int nStyleId)
public void delete(int nStyleId)
public void store(Style style)
public Collection<Style> selectStylesList()
selectStylesList
in interface IStyleDAO
public ReferenceList selectPortalComponentList()
selectPortalComponentList
in interface IStyleDAO
public Collection<StyleSheet> selectStyleSheetList(int nStyleId)
selectStyleSheetList
in interface IStyleDAO
nStyleId
- The identifier of the Stylepublic boolean checkStylePortalComponent(int nPortalComponentId)
checkStylePortalComponent
in interface IStyleDAO
nPortalComponentId
- The identifier of the portal componentCopyright © 2020 City of Paris. All rights reserved.