Class PortletStyleDAO
java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletStyleDAO
- All Implemented Interfaces:
IPortletStyleDAO
This implementation is a default implementation, the XSL implementation is available in the xmltransformer plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselectStylesList(String strIdPortletType) Returns all the styles corresponding to a portlet typeselectXslFile(int nIdPortlet, int nIdMode) Returns the stylesheet content of the portlet according to the modebyte[]selectXslSource(int nIdPortlet, int nIdMode) Returns the stylesheet binary content of the portlet according to the mode
-
Constructor Details
-
PortletStyleDAO
public PortletStyleDAO()
-
-
Method Details
-
selectXslFile
Description copied from interface:IPortletStyleDAOReturns the stylesheet content of the portlet according to the mode- Specified by:
selectXslFilein interfaceIPortletStyleDAO- Parameters:
nIdPortlet- the identifier of the portletnIdMode- the selected mode- Returns:
- the stylesheet content
-
selectXslSource
public byte[] selectXslSource(int nIdPortlet, int nIdMode) Description copied from interface:IPortletStyleDAOReturns the stylesheet binary content of the portlet according to the mode- Specified by:
selectXslSourcein interfaceIPortletStyleDAO- Parameters:
nIdPortlet- the identifier of the portletnIdMode- the selected mode- Returns:
- the stylesheet binary content
-
selectStylesList
Description copied from interface:IPortletStyleDAOReturns all the styles corresponding to a portlet type- Specified by:
selectStylesListin interfaceIPortletStyleDAO- Returns:
- the list of styles in form of ReferenceList
-