Class PortletStyleDAO

java.lang.Object
fr.paris.lutece.portal.business.portlet.PortletStyleDAO
All Implemented Interfaces:
IPortletStyleDAO

@ApplicationScoped public class PortletStyleDAO extends Object implements IPortletStyleDAO
This implementation is a default implementation, the XSL implementation is available in the xmltransformer plugin.
  • Constructor Details

    • PortletStyleDAO

      public PortletStyleDAO()
  • Method Details

    • selectXslFile

      public String selectXslFile(int nIdPortlet, int nIdMode)
      Description copied from interface: IPortletStyleDAO
      Returns the stylesheet content of the portlet according to the mode
      Specified by:
      selectXslFile in interface IPortletStyleDAO
      Parameters:
      nIdPortlet - the identifier of the portlet
      nIdMode - the selected mode
      Returns:
      the stylesheet content
    • selectXslSource

      public byte[] selectXslSource(int nIdPortlet, int nIdMode)
      Description copied from interface: IPortletStyleDAO
      Returns the stylesheet binary content of the portlet according to the mode
      Specified by:
      selectXslSource in interface IPortletStyleDAO
      Parameters:
      nIdPortlet - the identifier of the portlet
      nIdMode - the selected mode
      Returns:
      the stylesheet binary content
    • selectStylesList

      public ReferenceList selectStylesList(String strIdPortletType)
      Description copied from interface: IPortletStyleDAO
      Returns all the styles corresponding to a portlet type
      Specified by:
      selectStylesList in interface IPortletStyleDAO
      Returns:
      the list of styles in form of ReferenceList