Interface IPortalComponentDAO
- All Known Implementing Classes:
PortalComponentDAO
public interface IPortalComponentDAO
IPortalComponentDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nPortalComponentId) Delete a record from the tablevoidinsert(PortalComponent portalComponent) Insert a new record in the table.load(int nPortalComponentId) load the data of PortalComponent from the tableselectXslFile(int nPortalComponentId, int nIdMode) Returns the stylesheet of the portlet according to the modevoidstore(PortalComponent portalComponent) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
portalComponent- component The Instance of the object PortalComponent
-
load
load the data of PortalComponent from the table- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent- Returns:
- The Instance of the object PortalComponent
-
delete
void delete(int nPortalComponentId) Delete a record from the table- Parameters:
nPortalComponentId- The indentifier of the object PortalComponent
-
store
Update the record in the table- Parameters:
portalComponent- The instance of the PortalComponent to update
-
selectXslFile
Returns the stylesheet of the portlet according to the mode- Parameters:
nPortalComponentId- the identifier of the portletnIdMode- the selected mode- Returns:
- the stylesheet
-