public final class PortalComponentDAO extends Object implements IPortalComponentDAO
Constructor and Description |
---|
PortalComponentDAO() |
Modifier and Type | Method and Description |
---|---|
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
|
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 PortalComponentpublic 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 modeCopyright © 2020 City of Paris. All rights reserved.