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


public interface IResourceManager

Interface IResourceManager : enhance model and process additionnal actions


Method Summary
 void doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
          Perform actions associated to the document creation
 void doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
          Perform actions associated to the document deletion
 void doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
          Perform actions associated to the document download
 void doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
          Perform actions associated to the document modification
 void getCreateResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model)
          Add datas to the create document model use in the template
 void getModifyResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model, java.lang.String strResourceType, int nResourceId)
          Add datas to the modify document model use in the template
 

Method Detail

getCreateResourceModelAddOn

void getCreateResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model)
Add datas to the create document model use in the template

Parameters:
model - the map use in the template

doCreateResourceAddOn

void doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request,
                           java.lang.String strResourceType,
                           int nResourceId)
Perform actions associated to the document creation

Parameters:
request - The HTTP request
strResourceType - the resource type
nResourceId - the resource id

getModifyResourceModelAddOn

void getModifyResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model,
                                 java.lang.String strResourceType,
                                 int nResourceId)
Add datas to the modify document model use in the template

Parameters:
model - the map use in the template
strResourceType - the resource type
nResourceId - the resource id

doModifyResourceAddOn

void doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request,
                           java.lang.String strResourceType,
                           int nResourceId)
Perform actions associated to the document modification

Parameters:
request - The HTTP request
strResourceType - the resource type
nResourceId - the resource id

doDeleteResourceAddOn

void doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request,
                           java.lang.String strResourceType,
                           int nResourceId)
Perform actions associated to the document deletion

Parameters:
request - The HTTP request
strResourceType - the resource type
nResourceId - the resource id

doDownloadResourceAddOn

void doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request,
                             java.lang.String strResourceType,
                             int nResourceId)
Perform actions associated to the document download

Parameters:
request - The HTTP request
strResourceType - the resource type
nResourceId - the resource id


Copyright © 2012 Mairie de Paris. All Rights Reserved.