Class PortletStyleDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.portlet.PortletStyleDAO
-
- All Implemented Interfaces:
IPortletStyleDAO
public class PortletStyleDAO extends java.lang.Object implements IPortletStyleDAO
This implementation is a default implementation, the XSL implementation is available in the xmltransformer plugin.
-
-
Constructor Summary
Constructors Constructor Description PortletStyleDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceListselectStylesList(java.lang.String strIdPortletType)Returns all the styles corresponding to a portlet typejava.lang.StringselectXslFile(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
-
-
-
Method Detail
-
selectXslFile
public java.lang.String selectXslFile(int nIdPortlet, int nIdMode)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
public ReferenceList selectStylesList(java.lang.String strIdPortletType)
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
-
-