Interface IAliasPortletDAO
-
- All Superinterfaces:
IPortletInterfaceDAO
- All Known Implementing Classes:
AliasPortletDAO
public interface IAliasPortletDAO extends IPortletInterfaceDAO
- Author:
- lenaini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nPortletId)Delete a record from the tablevoidinsert(Portlet portlet)Insert a new record in the table.Portletload(int nPortletId)Load the data of a portlet from the databasejava.util.Collection<Portlet>selectAcceptAliasPortletList()Select all portlets that accept aliasReferenceListselectAcceptAliasPortletRefList()Select all portlets that accept aliasintselectAliasId(int nIdPortlet)Select the Alias IdReferenceListselectPortletsByTypeList(java.lang.String strPortletTypeId)Select portlets by typevoidstore(Portlet portlet)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Portlet portlet)
Insert a new record in the table. NB : The portlet identifier will already been obtained by the portlet girl- Specified by:
insertin interfaceIPortletInterfaceDAO- Parameters:
portlet- the portlet to insert in the database
-
delete
void delete(int nPortletId)
Delete a record from the table- Specified by:
deletein interfaceIPortletInterfaceDAO- Parameters:
nPortletId- the identifier of the portlet to be deleted
-
load
Portlet load(int nPortletId)
Load the data of a portlet from the database- Specified by:
loadin interfaceIPortletInterfaceDAO- Parameters:
nPortletId- the portlet identifier- Returns:
- the object Portlet initialized with the data of the database
-
store
void store(Portlet portlet)
Update the record in the table- Specified by:
storein interfaceIPortletInterfaceDAO- Parameters:
portlet- the portlet reference
-
selectPortletsByTypeList
ReferenceList selectPortletsByTypeList(java.lang.String strPortletTypeId)
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
ReferenceList selectAcceptAliasPortletRefList()
Select all portlets that accept alias- Returns:
- A reference list
-
selectAcceptAliasPortletList
java.util.Collection<Portlet> selectAcceptAliasPortletList()
Select all portlets that accept alias- Returns:
- A Portlet list
-
-