|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfuego.workspace.UrlActions
public class UrlActions
| Field Summary | |
|---|---|
static java.lang.String |
ACTIVITY_ID
activityId request attribute. |
static java.lang.String |
ACTIVITY_NAME
activity request attribute. |
static java.lang.String |
FILE_NAME
fileName request attribute. |
static java.lang.String |
INSTANCE_ID
instanceId request attribute. |
static java.lang.String |
INSTANCE_STAMP_ID
instanceStampId request attribute. |
static java.lang.String |
ITEM_ID
itemId request attribute. |
static java.lang.String |
PARTICIPANT_ID
participantId request attribute. |
static java.lang.String |
PROCESS_ID
processId request attribute. |
static java.lang.String |
TASK_IN
taskIn request attribute. |
static java.lang.String |
URL_DOWNLOAD_ATTACHMENT
|
static java.lang.String |
URL_EXECUTOR
|
static java.lang.String |
URL_IMAGE
|
static java.lang.String |
URL_WAPI
|
static java.lang.String |
WAPI_SESSION_ID
|
| Constructor Summary | |
|---|---|
UrlActions()
|
|
| Method Summary | |
|---|---|
static fuego.web.view.ImagePath |
activityImagePath(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String activityId,
boolean thumbnail,
javax.servlet.ServletContext servletContext)
Gets the needed image file PATH to be assigned to an IMG SRC in order to show the activity image. |
static java.lang.String |
deriveActionToForward(javax.servlet.http.HttpServletRequest req,
java.lang.String url)
|
static java.lang.String |
downloadAttachment()
Returns an URL to download an specified attachment of an instance. |
static java.lang.String |
extractWAPISessionId(javax.servlet.http.HttpServletRequest request)
|
static java.lang.String |
forwardComponentRedirectAction(java.lang.String targetAction)
|
static java.lang.String |
forwardComponentResultAction()
|
static java.lang.String |
getCurrentWAPISessionId(javax.servlet.http.HttpServletRequest request)
|
static java.lang.String |
getWAPISessionId()
Returns the needed URL to get the current WAPI session ID. |
static java.lang.String |
goComponentRedirectAction(java.lang.String targetAction,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static java.lang.String |
runApplication()
Returns the needed URL to run an application. |
static java.lang.String |
runApplication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String activityId)
Returns the needed URL to run an application. |
static java.lang.String |
runApplication(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String activityId)
Returns the needed URL to run an application. |
static java.lang.String |
runApplicationTask()
Returns the needed URL to run an application with instance access. |
static java.lang.String |
runApplicationTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String instanceStampId,
java.lang.String activityId)
Returns the needed URL to run an application with instance access. |
static java.lang.String |
runExternalTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String externalUrl,
java.lang.String activityName,
java.lang.String instanceId,
int itemId,
java.lang.String participantId)
Returns the needed URL to run an instance task |
static java.lang.String |
runTask()
Returns the needed URL to run an instance task. |
static java.lang.String |
runTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String instanceStampId,
int itemId)
Returns the needed URL to run an instance task |
static java.lang.String |
showAuditTrailImage()
Returns the URL of the audit trail image servlet. |
static java.lang.String |
showAuditTrailImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId,
java.lang.String instanceId)
Returns the URL of the audit trail image servlet. |
static java.lang.String |
showDownloadPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the URL of the download servlet. |
static java.lang.String |
showPapiAttachmentDownloadPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static java.lang.String |
showProcessImage()
Returns the URL of the activity image servlet. |
static java.lang.String |
showProcessImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId)
Returns the URL of the activity image servlet. |
static java.lang.String |
showProcessImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId,
java.lang.String instanceId)
Returns the URL of the activity image servlet. |
static java.lang.String |
showWorkloadImage()
Returns the URL of the workload image servlet. |
static java.lang.String |
showWorkloadImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId)
Returns the URL of the workload image servlet. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WAPI_SESSION_ID
public static final java.lang.String URL_EXECUTOR
public static final java.lang.String URL_IMAGE
public static final java.lang.String URL_DOWNLOAD_ATTACHMENT
public static final java.lang.String URL_WAPI
public static final java.lang.String ACTIVITY_ID
public static final java.lang.String ACTIVITY_NAME
public static final java.lang.String INSTANCE_STAMP_ID
public static final java.lang.String INSTANCE_ID
public static final java.lang.String ITEM_ID
public static final java.lang.String PROCESS_ID
public static final java.lang.String PARTICIPANT_ID
public static final java.lang.String TASK_IN
public static final java.lang.String FILE_NAME
| Constructor Detail |
|---|
public UrlActions()
| Method Detail |
|---|
public static java.lang.String getWAPISessionId()
public static java.lang.String runApplication(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String activityId)
request - the PortletRequest associated with the HTTP request.response - the PortletResponse associated with the HTTP response.activityId - The application's activity ID.
public static java.lang.String runApplication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String activityId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.activityId - The application's activity ID.
public static java.lang.String runApplication()
It is necessary to append the following parameters to the URL provided by this method.
public static java.lang.String runApplicationTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String instanceStampId,
java.lang.String activityId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.instanceStampId - The instance IDactivityId - The application's activity ID
public static java.lang.String runApplicationTask()
It is necessary to append the following parameters to the URL provided by this method.
public static java.lang.String runTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String instanceStampId,
int itemId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.instanceStampId - The instance ID.itemId - The task ID.
public static java.lang.String runExternalTask(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String externalUrl,
java.lang.String activityName,
java.lang.String instanceId,
int itemId,
java.lang.String participantId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.externalUrl - The external URL to be called.activityName - The activity name.instanceId - The instance ID.itemId - The task ID.participantId - The participant ID.
public static java.lang.String runTask()
It is necessary to append the following parameters to the URL provided by this method.
public static java.lang.String forwardComponentRedirectAction(java.lang.String targetAction)
public static java.lang.String forwardComponentResultAction()
public static java.lang.String goComponentRedirectAction(java.lang.String targetAction,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public static fuego.web.view.ImagePath activityImagePath(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String activityId,
boolean thumbnail,
javax.servlet.ServletContext servletContext)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.activityId - the id of the activity whose image is to be sownthumbnail - image?servletContext - the ServletContext associated with the context.
public static java.lang.String showWorkloadImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.processId - the id of the process to be rendered
public static java.lang.String showWorkloadImage()
It is necessary to append the following parameters to the URL provided by this method.
This servlet renders the image of the given process with the activity workload. The request must have the processId (UrlActions.PROCESS_ID attribute setted.
public static java.lang.String showAuditTrailImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId,
java.lang.String instanceId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.processId - the id of the process to be renderedinstanceId - the id of the instance to highlight in the image
public static java.lang.String showAuditTrailImage()
It is necessary to append the following parameters to the URL provided by this method.
public static java.lang.String showProcessImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.processId - the id of the process to be rendered
public static java.lang.String showProcessImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String processId,
java.lang.String instanceId)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.processId - the id of the process to be renderedinstanceId - the id of the instance to highlight in the image
public static java.lang.String showProcessImage()
It is necessary to append the following parameters to the URL provided by this method.
public static java.lang.String showDownloadPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the HttpServletRequest associated with the HTTP request.response - the HttpServletResponse associated with the HTTP response.
public static java.lang.String showPapiAttachmentDownloadPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public static java.lang.String downloadAttachment()
public static java.lang.String deriveActionToForward(javax.servlet.http.HttpServletRequest req,
java.lang.String url)
public static java.lang.String getCurrentWAPISessionId(javax.servlet.http.HttpServletRequest request)
public static java.lang.String extractWAPISessionId(javax.servlet.http.HttpServletRequest request)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||