public final class PortletTypeDAO extends Object implements IPortletTypeDAO
Constructor and Description |
---|
PortletTypeDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String strPortletTypeId)
Delete a record from the table
|
void |
insert(PortletType portletType)
Insert a new record in the table PortletType
|
PortletType |
load(String strPortletTypeId)
Load the data of PortletType from the table
|
int |
selectNbPortletTypeByPortlet(String strPortletTypeId)
Returns the portlet count for a given provider
|
ReferenceList |
selectPortletsTypesList(Locale locale)
Return a Reference List of portletType
|
String |
selectPortletTypeId(String strPluginHomeClass)
Returns the portlet type identifier
|
List<PortletType> |
selectPortletTypesList()
Returns the list of the portlet types
|
public void insert(PortletType portletType)
insert
in interface IPortletTypeDAO
portletType
- The portlet Type objectpublic PortletType load(String strPortletTypeId)
load
in interface IPortletTypeDAO
strPortletTypeId
- The identifier of PortletTypepublic void delete(String strPortletTypeId)
delete
in interface IPortletTypeDAO
strPortletTypeId
- The POrtletTYpe identifierpublic String selectPortletTypeId(String strPluginHomeClass)
selectPortletTypeId
in interface IPortletTypeDAO
strPluginHomeClass
- the name of the portlet typepublic int selectNbPortletTypeByPortlet(String strPortletTypeId)
selectNbPortletTypeByPortlet
in interface IPortletTypeDAO
strPortletTypeId
- The provider's identifierpublic ReferenceList selectPortletsTypesList(Locale locale)
selectPortletsTypesList
in interface IPortletTypeDAO
locale
- The current localepublic List<PortletType> selectPortletTypesList()
selectPortletTypesList
in interface IPortletTypeDAO
Copyright © 2020 City of Paris. All rights reserved.