|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.resourceenhancer.ResourceEnhancer
public final class ResourceEnhancer
ResourceEnhancer : handles IResourceDisplayManager
and IResourceManager
Method Summary | |
---|---|
static 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 |
static void |
doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request,
java.lang.String strResourceType,
int nResourceId)
Perform actions associated to the document creation |
static void |
doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request,
java.lang.String strResourceType,
int nResourceId)
Perform actions associated to the document deletion |
static void |
doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request,
java.lang.String strResourceType,
int nResourceId)
Perform actions associated to the document download |
static void |
doModifyResourceAddOn(javax.servlet.http.HttpServletRequest request,
java.lang.String strResourceType,
int nResourceId)
Perform actions associated to the document modification |
static void |
getCreateResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model)
Add datas to the create document model use in the template |
static 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 |
static void |
getXmlAddOn(java.lang.StringBuffer strXml,
java.lang.String strResourceType,
int nResourceId)
Add to the the XML String additional datas |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void getXmlAddOn(java.lang.StringBuffer strXml, java.lang.String strResourceType, int nResourceId)
strXml
- The xml string use by stylesheetstrResourceType
- the resource typenResourceId
- The resource Idpublic static 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)
model
- The model use by document templatestrResourceType
- the ressource TypenIdResource
- The resource idstrPortletId
- The portlet IDrequest
- The HTTP Requestpublic static void getCreateResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model)
model
- the map use in the templatepublic static void doCreateResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void getModifyResourceModelAddOn(java.util.Map<java.lang.String,java.lang.Object> model, java.lang.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, java.lang.String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void doDeleteResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource idpublic static void doDownloadResourceAddOn(javax.servlet.http.HttpServletRequest request, java.lang.String strResourceType, int nResourceId)
request
- The HTTP requeststrResourceType
- the resource typenResourceId
- the resource id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |