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 nPortletId)
          Load the data of a portlet from the database
 ReferenceList selectAcceptAliasPortletList()
          Select all portlets that accept alias
 int selectAliasId(int nIdPortlet)
          Select the Alias Id
 ReferenceList selectPortletsByTypeList(java.lang.String strPortletTypeId)
          Select portlets by type
 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 nPortletId)
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)
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

selectAcceptAliasPortletList

ReferenceList selectAcceptAliasPortletList()
Select all portlets that accept alias

Returns:
A reference list


Copyright © 2012 Mairie de Paris. All Rights Reserved.