Interface IPortalComponentDAO
-
- All Known Implementing Classes:
PortalComponentDAO
public interface IPortalComponentDAOIPortalComponentDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract 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 tableStyleSheetselectXslFile(int nPortalComponentId, int nIdMode)Returns the stylesheet of the portlet according to the modevoidstore(PortalComponent portalComponent)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(PortalComponent portalComponent)
Insert a new record in the table.- Parameters:
portalComponent- component The Instance of the object PortalComponent
-
load
PortalComponent load(int nPortalComponentId)
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
void store(PortalComponent portalComponent)
Update the record in the table- Parameters:
portalComponent- The instance of the PortalComponent to update
-
selectXslFile
StyleSheet selectXslFile(int nPortalComponentId, int nIdMode)
Returns the stylesheet of the portlet according to the mode- Parameters:
nPortalComponentId- the identifier of the portletnIdMode- the selected mode- Returns:
- the stylesheet
-
-