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 IPortletTypeDAOportletType - The portlet Type objectpublic PortletType load(String strPortletTypeId)
load in interface IPortletTypeDAOstrPortletTypeId - The identifier of PortletTypepublic void delete(String strPortletTypeId)
delete in interface IPortletTypeDAOstrPortletTypeId - The POrtletTYpe identifierpublic String selectPortletTypeId(String strPluginHomeClass)
selectPortletTypeId in interface IPortletTypeDAOstrPluginHomeClass - the name of the portlet typepublic int selectNbPortletTypeByPortlet(String strPortletTypeId)
selectNbPortletTypeByPortlet in interface IPortletTypeDAOstrPortletTypeId - The provider's identifierpublic ReferenceList selectPortletsTypesList(Locale locale)
selectPortletsTypesList in interface IPortletTypeDAOlocale - The current localepublic List<PortletType> selectPortletTypesList()
selectPortletTypesList in interface IPortletTypeDAOCopyright © 2024 City of Paris. All rights reserved.