|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.style.StyleDAO
public final class StyleDAO
This class provides Data Access methods for style objects
Constructor Summary | |
---|---|
StyleDAO()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleDAO()
Method Detail |
---|
public void insert(Style style)
insert
in interface IStyleDAO
style
- The Instance of the object Stylepublic Style load(int nStyleId)
load
in interface IStyleDAO
nStyleId
- The identifier of the Style
public void delete(int nStyleId)
delete
in interface IStyleDAO
nStyleId
- the identifier of the style to deletepublic void store(Style style)
store
in interface IStyleDAO
style
- The instance of the Style to updatepublic 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 Style
public boolean checkStylePortalComponent(int nPortalComponentId)
checkStylePortalComponent
in interface IStyleDAO
nPortalComponentId
- The identifier of the portal component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |