fr.paris.lutece.portal.business.resourceenhancer
Interface IResourceDisplayManager


public interface IResourceDisplayManager

Interface IResourceDisplayManager : enhance portlet XML or model with additionnel info


Method Summary
 void buildPageAddOn(java.util.Map<java.lang.String,java.lang.Object> model, java.lang.String strResourceType, int nIdResource, java.lang.String strPortletId, javax.servlet.http.HttpServletRequest request)
          Add datas to the model use by document template
 void getXmlAddOn(java.lang.StringBuffer strXml, java.lang.String strResourceType, int nResourceId)
          Add to the the XML String additional datas
 

Method Detail

getXmlAddOn

void getXmlAddOn(java.lang.StringBuffer strXml,
                 java.lang.String strResourceType,
                 int nResourceId)
Add to the the XML String additional datas

Parameters:
strXml - The xml string use by stylesheet
strResourceType - the resource type
nResourceId - The resource Id

buildPageAddOn

void buildPageAddOn(java.util.Map<java.lang.String,java.lang.Object> model,
                    java.lang.String strResourceType,
                    int nIdResource,
                    java.lang.String strPortletId,
                    javax.servlet.http.HttpServletRequest request)
Add datas to the model use by document template

Parameters:
model - The model use by document template
nIdResource - The resource id
strPortletId - The portlet ID
request - The HTTP Request


Copyright © 2010 Mairie de Paris. All Rights Reserved.