fr.paris.lutece.portal.business.portlet
Interface IAliasPortletDAO

All Superinterfaces:
IPortletInterfaceDAO
All Known Implementing Classes:
AliasPortletDAO

public interface IAliasPortletDAO
extends IPortletInterfaceDAO

Author:
lenaini

Method Summary
 void delete(int nPortletId)
          Delete a record from the table
 void insert(Portlet portlet)
          Insert a new record in the table.
 Portlet load(int nIdPortlet)
          Load the data of a portlet from the database
 ReferenceList selectAcceptAliasPortletList()
           
 int selectAliasId(int nIdPortlet)
           
 ReferenceList selectPortletsByTypeList(java.lang.String strPortletTypeId)
           
 void store(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:
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

Portlet load(int nIdPortlet)
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

void store(Portlet portlet)
Update the record in the table

Specified by:
store in interface IPortletInterfaceDAO
Parameters:
portlet - the portlet reference

selectPortletsByTypeList

ReferenceList selectPortletsByTypeList(java.lang.String strPortletTypeId)

selectAliasId

int selectAliasId(int nIdPortlet)

selectAcceptAliasPortletList

ReferenceList selectAcceptAliasPortletList()


Copyright © 2007 Mairie de Paris. All Rights Reserved.