Interface IResourceManager
public interface IResourceManager
Interface IResourceManager : enhance model and process additionnal actions
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoCreateResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document creationvoiddoDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document deletionvoiddoDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document downloadvoiddoModifyResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document modificationvoidgetCreateResourceModelAddOn(Map<String, Object> model) Add datas to the create document model use in the templatevoidgetModifyResourceModelAddOn(Map<String, Object> model, String strResourceType, int nResourceId) Add datas to the modify document model use in the template
-
Method Details
-
getCreateResourceModelAddOn
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, String strResourceType, int nResourceId) Perform actions associated to the document creation- Parameters:
request- The HTTP requeststrResourceType- the resource typenResourceId- the resource id
-
getModifyResourceModelAddOn
Add datas to the modify document model use in the template- Parameters:
model- the map use in the templatestrResourceType- the resource typenResourceId- the resource id
-
doModifyResourceAddOn
void doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document modification- Parameters:
request- The HTTP requeststrResourceType- the resource typenResourceId- the resource id
-
doDeleteResourceAddOn
void doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document deletion- Parameters:
request- The HTTP requeststrResourceType- the resource typenResourceId- the resource id
-
doDownloadResourceAddOn
void doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request, String strResourceType, int nResourceId) Perform actions associated to the document download- Parameters:
request- The HTTP requeststrResourceType- the resource typenResourceId- the resource id
-