-
Method Summary
void
Delete a record from the table
void
Insert a new record in the table.
Load the data of a portlet from the database
Select all portlets that accept alias
Select all portlets that accept alias
int
void
Update the record in the table
-
Method Details
-
insert
Insert a new record in the table. NB : The portlet identifier will already been obtained by the portlet girl
- Specified by:
insert in interface IPortletInterfaceDAO
- Parameters:
portlet - the portlet to insert in the database
-
delete
void delete(int nPortletId)
Delete a record from the table
- Specified by:
delete in interface IPortletInterfaceDAO
- Parameters:
nPortletId - the identifier of the portlet to be deleted
-
load
Load the data of a portlet from the database
- Specified by:
load in interface IPortletInterfaceDAO
- Parameters:
nPortletId - the portlet identifier
- Returns:
- the object Portlet initialized with the data of the database
-
store
Update the record in the table
- Specified by:
store in interface IPortletInterfaceDAO
- Parameters:
portlet - the portlet reference
-
selectPortletsByTypeList
Select portlets by type
- Parameters:
strPortletTypeId - The type Id
- Returns:
- A list of portlets
-
selectAliasId
int selectAliasId(int nIdPortlet)
Select the Alias Id
- Parameters:
nIdPortlet - The portlet Id
- Returns:
- The alias Id
-
selectAcceptAliasPortletRefList
Select all portlets that accept alias
- Returns:
- A reference list
-
selectAcceptAliasPortletList
Select all portlets that accept alias
- Returns:
- A Portlet list