Interface IStyleDAO
-
- All Known Implementing Classes:
StyleDAO
public interface IStyleDAO- Author:
- LEVY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckStylePortalComponent(int nPortalComponentId)Checks if a style has been created in the database with the given portal componenetvoiddelete(int nStyleId)Delete a record from the tablevoidinsert(Style style)Insert a new record in the table.Styleload(int nStyleId)load the data of the Style whose identifier is specified in parameter from the tableReferenceListselectPortalComponentList()Returns the list of the portal component in form of a ReferenceListjava.util.Collection<StyleSheet>selectStyleSheetList(int nStyleId)load the data of the StyleSheet which re associated to the given stylejava.util.Collection<Style>selectStylesList()Load the list of styles stored in the databasevoidstore(Style style)Update the record in the table
-
-
-
Method Detail
-
checkStylePortalComponent
boolean checkStylePortalComponent(int nPortalComponentId)
Checks if a style has been created in the database with the given portal componenet- Parameters:
nPortalComponentId- The identifier of the portal component- Returns:
- true if a style has been created for this portal component, false otherwise
-
delete
void delete(int nStyleId)
Delete a record from the table- Parameters:
nStyleId- the identifier of the style to delete
-
insert
void insert(Style style)
Insert a new record in the table.- Parameters:
style- The Instance of the object Style
-
load
Style load(int nStyleId)
load the data of the Style whose identifier is specified in parameter from the table- Parameters:
nStyleId- The identifier of the Style- Returns:
- an instance of the Style which has been created
-
selectPortalComponentList
ReferenceList selectPortalComponentList()
Returns the list of the portal component in form of a ReferenceList- Returns:
- the list of the portal component
-
selectStyleSheetList
java.util.Collection<StyleSheet> selectStyleSheetList(int nStyleId)
load the data of the StyleSheet which re associated to the given style- Parameters:
nStyleId- The identifier of the Style- Returns:
- an instance of the Style which has been created
-
selectStylesList
java.util.Collection<Style> selectStylesList()
Load the list of styles stored in the database- Returns:
- The styles list in form of a Collection object
-
store
void store(Style style)
Update the record in the table- Parameters:
style- The instance of the Style to update
-
-