Class PortalComponentDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.portalcomponent.PortalComponentDAO
-
- All Implemented Interfaces:
IPortalComponentDAO
public final class PortalComponentDAO extends java.lang.Object implements IPortalComponentDAO
This class provides Data Access methods for PortalComponent objects
-
-
Constructor Summary
Constructors Constructor Description PortalComponentDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nPortalComponentId)Delete a record from the tablevoidinsert(PortalComponent portalComponent)Insert a new record in the table.PortalComponentload(int nPortalComponentId)load the data of PortalComponent from the tablevoidstore(PortalComponent portalComponent)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(PortalComponent portalComponent)
Insert a new record in the table.- Specified by:
insertin interfaceIPortalComponentDAO- Parameters:
portalComponent- component The Instance of the object PortalComponent
-
load
public PortalComponent load(int nPortalComponentId)
load the data of PortalComponent from the table- Specified by:
loadin interfaceIPortalComponentDAO- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent- Returns:
- The Instance of the object PortalComponent
-
delete
public void delete(int nPortalComponentId)
Delete a record from the table- Specified by:
deletein interfaceIPortalComponentDAO- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent
-
store
public void store(PortalComponent portalComponent)
Update the record in the table- Specified by:
storein interfaceIPortalComponentDAO- Parameters:
portalComponent- The instance of the PortalComponent to update
-
-