public final class ResourceEnhancer extends Object
IResourceDisplayManager
and IResourceManager
Modifier and Type | Method and Description |
---|---|
static void |
buildPageAddOn(Map<String,Object> model,
String strResourceType,
int nIdResource,
String strPortletId,
javax.servlet.http.HttpServletRequest request)
Add datas to the model use by document template
|
static void |
doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request,
String strResourceType,
int nResourceId)
Perform actions associated to the document creation
|
static void |
doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request,
String strResourceType,
int nResourceId)
Perform actions associated to the document deletion
|
static void |
doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request,
String strResourceType,
int nResourceId)
Perform actions associated to the document download
|
static void |
doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request,
String strResourceType,
int nResourceId)
Perform actions associated to the document modification
|
static void |
getCreateResourceModelAddOn(Map<String,Object> model)
Add datas to the create document model use in the template
|
static void |
getModifyResourceModelAddOn(Map<String,Object> model,
String strResourceType,
int nResourceId)
Add datas to the modify document model use in the template
|
static void |
getXmlAddOn(StringBuffer strXml,
String strResourceType,
int nResourceId)
Add to the the XML String additional datas
|
public static void getXmlAddOn(StringBuffer strXml, String strResourceType, int nResourceId)
strXml
- The xml string use by stylesheetstrResourceType
- the resource typenResourceId
- The resource Idpublic static void buildPageAddOn(Map<String,Object> model, String strResourceType, int nIdResource, String strPortletId, javax.servlet.http.HttpServletRequest request)
model
- The model use by document templatestrResourceType
- the ressource TypenIdResource
- The resource idstrPortletId
- The portlet IDrequest
- The HTTP Requestpublic static void getCreateResourceModelAddOn(Map<String,Object> model)
model
- the map use in the templatepublic static void doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void getModifyResourceModelAddOn(Map<String,Object> model, String strResourceType, int nResourceId)
model
- the map use in the templatestrResourceType
- the resource typenResourceId
- the resource idpublic static void doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idCopyright © 2020 City of Paris. All rights reserved.