public final class AliasPortletDAO extends Object implements IAliasPortletDAO
Constructor and Description |
---|
AliasPortletDAO() |
Modifier and Type | Method and Description |
---|---|
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
|
Collection<Portlet> |
selectAcceptAliasPortletList()
Select all portlets that accept alias
|
ReferenceList |
selectAcceptAliasPortletRefList()
Select all portlets that accept alias
|
int |
selectAliasId(int nIdPortlet)
Select the Alias Id
|
ReferenceList |
selectPortletsByTypeList(String strPortletTypeId)
Select portlets by type
|
void |
store(Portlet portlet)
Update the record in the table
|
public void insert(Portlet portlet)
insert
in interface IAliasPortletDAO
insert
in interface IPortletInterfaceDAO
portlet
- the portlet to insert in the databasepublic void delete(int nPortletId)
delete
in interface IAliasPortletDAO
delete
in interface IPortletInterfaceDAO
nPortletId
- the identifier of the portlet to be deletedpublic Portlet load(int nIdPortlet)
load
in interface IAliasPortletDAO
load
in interface IPortletInterfaceDAO
nIdPortlet
- the portlet identifierpublic void store(Portlet portlet)
store
in interface IAliasPortletDAO
store
in interface IPortletInterfaceDAO
portlet
- the portlet referencepublic ReferenceList selectPortletsByTypeList(String strPortletTypeId)
selectPortletsByTypeList
in interface IAliasPortletDAO
strPortletTypeId
- The type Idpublic int selectAliasId(int nIdPortlet)
selectAliasId
in interface IAliasPortletDAO
nIdPortlet
- The portlet Idpublic ReferenceList selectAcceptAliasPortletRefList()
selectAcceptAliasPortletRefList
in interface IAliasPortletDAO
public Collection<Portlet> selectAcceptAliasPortletList()
selectAcceptAliasPortletList
in interface IAliasPortletDAO
Copyright © 2020 City of Paris. All rights reserved.