Interface IPortletTypeDAO
- All Known Implementing Classes:
PortletTypeDAO
public interface IPortletTypeDAO
IPortletTypeDAO Interface
-
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
-
Method Details
-
insert
Insert a new record in the table PortletType- Parameters:
portletType- The portlet Type object
-
load
Load the data of PortletType from the table- Parameters:
strPortletTypeId- The identifier of PortletType- Returns:
- The instance of the PortletType
-
delete
Delete a record from the table- Parameters:
strPortletTypeId- The POrtletTYpe identifier
-
selectPortletTypeId
Returns the portlet type identifier- Parameters:
strPluginHomeClass- the name of the portlet type- Returns:
- the identifier of the portlet type
-
selectNbPortletTypeByPortlet
Returns the portlet count for a given provider- Parameters:
strPortletTypeId- The provider's identifier- Returns:
- nCount
-
selectPortletsTypesList
Return a Reference List of portletType- Parameters:
locale- The locale- Returns:
- list The reference List
-
selectPortletTypesList
List<PortletType> selectPortletTypesList()Returns the list of the portlet types- Returns:
- the list of the portlet types
-