|
||||||||||
| 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 |
java.util.Collection<StyleSheet> |
selectStyleSheetList(int nStyleId)
load the data of the StyleSheet which re associated to the given style |
java.util.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 IStyleDAOstyle - The Instance of the object Stylepublic Style load(int nStyleId)
load in interface IStyleDAOnStyleId - The identifier of the Style
public void delete(int nStyleId)
delete in interface IStyleDAOnStyleId - the identifier of the style to deletepublic void store(Style style)
store in interface IStyleDAOstyle - The instance of the Style to updatepublic java.util.Collection<Style> selectStylesList()
selectStylesList in interface IStyleDAOpublic ReferenceList selectPortalComponentList()
selectPortalComponentList in interface IStyleDAOpublic java.util.Collection<StyleSheet> selectStyleSheetList(int nStyleId)
selectStyleSheetList in interface IStyleDAOnStyleId - The identifier of the Style
public boolean checkStylePortalComponent(int nPortalComponentId)
checkStylePortalComponent in interface IStyleDAOnPortalComponentId - The identifier of the portal component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||