|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.portalcomponent.PortalComponentDAO
public final class PortalComponentDAO
This class provides Data Access methods for PortalComponent objects
Constructor Summary | |
---|---|
PortalComponentDAO()
|
Method Summary | |
---|---|
void |
delete(int nPortalComponentId)
Delete a record from the table |
void |
insert(PortalComponent portalComponent)
Insert a new record in the table. |
PortalComponent |
load(int nPortalComponentId)
load the data of PortalComponent from the table |
StyleSheet |
selectXslFile(int nPortalComponentId,
int nIdMode)
Returns the stylesheet of the portlet according to the mode |
void |
store(PortalComponent portalComponent)
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 PortalComponentDAO()
Method Detail |
---|
public void insert(PortalComponent portalComponent)
insert
in interface IPortalComponentDAO
portalComponent
- component The Instance of the object PortalComponentpublic PortalComponent load(int nPortalComponentId)
load
in interface IPortalComponentDAO
nPortalComponentId
- The indentifier of the object PortalComponent
public void delete(int nPortalComponentId)
delete
in interface IPortalComponentDAO
nPortalComponentId
- The indentifier of the object PortalComponentpublic void store(PortalComponent portalComponent)
store
in interface IPortalComponentDAO
portalComponent
- The instance of the PortalComponent to updatepublic StyleSheet selectXslFile(int nPortalComponentId, int nIdMode)
selectXslFile
in interface IPortalComponentDAO
nPortalComponentId
- the identifier of the portletnIdMode
- the selected mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |