Class PortletTypeDAO
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletTypeDAO
- All Implemented Interfaces:
IPortletTypeDAO
This class provides Data Access methods for PortletType objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidinsert(PortletType portletType) Insert a new record in the table PortletTypeLoad the data of PortletType from the tableintselectNbPortletTypeByPortlet(String strPortletTypeId) Returns the portlet count for a given providerselectPortletsTypesList(Locale locale) Return a Reference List of portletTypeselectPortletTypeId(String strPluginHomeClass) Returns the portlet type identifierReturns the list of the portlet types
-
Constructor Details
-
PortletTypeDAO
public PortletTypeDAO()
-
-
Method Details
-
insert
Insert a new record in the table PortletType- Specified by:
insertin interfaceIPortletTypeDAO- Parameters:
portletType- The portlet Type object
-
load
Load the data of PortletType from the table- Specified by:
loadin interfaceIPortletTypeDAO- Parameters:
strPortletTypeId- The identifier of PortletType- Returns:
- The instance of the PortletType
-
delete
Delete a record from the table- Specified by:
deletein interfaceIPortletTypeDAO- Parameters:
strPortletTypeId- The POrtletTYpe identifier
-
selectPortletTypeId
Returns the portlet type identifier- Specified by:
selectPortletTypeIdin interfaceIPortletTypeDAO- Parameters:
strPluginHomeClass- the name of the portlet type- Returns:
- the identifier of the portlet type
-
selectNbPortletTypeByPortlet
Returns the portlet count for a given provider- Specified by:
selectNbPortletTypeByPortletin interfaceIPortletTypeDAO- Parameters:
strPortletTypeId- The provider's identifier- Returns:
- nCount
-
selectPortletsTypesList
Return a Reference List of portletType- Specified by:
selectPortletsTypesListin interfaceIPortletTypeDAO- Parameters:
locale- The current locale- Returns:
- list The reference List
-
selectPortletTypesList
Returns the list of the portlet types- Specified by:
selectPortletTypesListin interfaceIPortletTypeDAO- Returns:
- the list of the portlet types
-