Class PortalComponentHome
java.lang.Object
fr.paris.lutece.portal.business.portalcomponent.PortalComponentHome
This class provides instances management methods (create, find, ...) for PortalComponent objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(PortalComponent portalComponent) Insert a new record in the table.static PortalComponentfindByPrimaryKey(int nPortalComponentId) load the data of PortalComponent from the tablestatic voidremove(int nPortalComponentId) Delete a record from the tablestatic voidupdate(PortalComponent portalComponent) Update the record in the table
-
Method Details
-
create
Insert a new record in the table.- Parameters:
portalComponent- component The Instance of the object PortalComponent
-
remove
public static void remove(int nPortalComponentId) Delete a record from the table- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent
-
findByPrimaryKey
load the data of PortalComponent from the table- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent- Returns:
- The Instance of the object PortalComponent
-
update
Update the record in the table- Parameters:
portalComponent- The instance of the PortalComponent to update
-