public class URLHelper extends Object
public static String contextPart(javax.servlet.http.HttpServletRequest req)
public static String contextPart(javax.servlet.http.HttpServletRequest req, ValueParameters params)
public static String contextPart(String baseUrl, ValueParameters params)
public static String formPart(javax.servlet.http.HttpServletRequest req)
public static String formPart(javax.servlet.http.HttpServletRequest req, ValueParameters params)
public static String formPart(String baseUrl, ValueParameters params)
public static String loginRedirectUrl(String baseUrl, String frid, String queryString)
public static String mandantLoginRedirectUrl(Mandant man, String baseUrl, String frid, String queryString, String optionalSessionID)
public static String submitUrlForVorgang(String baseUrl, Projekt p, ValueParameters params, Vorgang vorgang)
public static String submitUrlForVorgang(String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion, Vorgang vorgang)
public static String submitUrlFor(String baseUrl, Projekt p, ValueParameters params)
public static String submitUrlFor(String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion)
public static String submitUrlFor(IFormRequestContext requestCtx)
public static String submitUrlForPreview(IFormRequestContext ctx)
public static String submitUrlFor(IFormRequestContext requestCtx, Vorgang vorgang)
public static String completeSubmitUrl(String submitUrl, String language, FRQSession formRequestSession, String optionalSessionID)
public static String urlFor(EFormRequestType formRequestType, String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion)
public static String previewUrlFor(String baseUrl, String language, Projekt projekt, ValueParameters params, FormVersion formVersion, FRQSession frqsession)
@Deprecated public static String previewUrlFor(String baseUrl, Projekt p, ValueParameters params)
previewUrlFor(String, String, Projekt, ValueParameters)
@Deprecated public static String previewUrlFor(String context, String language, Projekt p, ValueParameters params)
@Deprecated public static String previewUrlFor(String context, String language, Projekt projekt, ValueParameters params, FormVersion formVersion)
@Deprecated public static String previewUrlFor(String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion)
public static String provideUrlFor(String baseUrl, Projekt p, ValueParameters params, Vorgang v)
public static String provideUrlFor(String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion, Vorgang v)
public static String dataqueryDBUrlFor(String baseUrl, ValueParameters params)
public static String datasourceXMLUrlFor(String baseUrl, ValueParameters params)
public static String datasourceCSVUrlFor(String baseUrl, ValueParameters params)
public static String datasourceJSONUrlFor(String baseUrl, ValueParameters params)
public static String attachmentServlet(String baseUrl, ValueParameters params)
public static String appointmentFreeSlotsServlet(String baseUrl, ValueParameters params)
public static String templateServlet(String baseUrl, ValueParameters params)
public static String appointmentIcalServlet(String baseUrl, ValueParameters params)
baseUrl
- Context path of the web application.params
- Additional URL parameters.http://localhost:8080/xima-formcycle/appointment/ical/
appointmentIcalServlet(String, ValueParameters, AppointmentTemplate)
public static String appointmentIcalServlet(String baseUrl, ValueParameters params, AppointmentTemplate template)
baseUrl
- Context path of the web application.params
- Additional URL parameters.template
- Template for which to generate the URL.http://localhost:8080/xima-formcycle/appointment/ical/11cab23a-a36a-416b-bd5b-ae9d0003a30f/15504ad9-5287-4739-9e6c-fad66f67203e
public static String pluginServlet(String baseUrl, ValueParameters params)
public static String formRequestCopyFor(Projekt p, javax.servlet.http.HttpServletRequest request, ValueParameters params)
public static String formRequestCopyFor(String baseUrl, Projekt p, ValueParameters params, FormVersion formVersion, Vorgang v)
baseUrl
- the context path of the applicationp
- the project to which the process is assigned. The projekt id is part of the URL. Must not be null
params
- additional URL parameters. Can be null
.formVersion
- if set the form of a given form version will be used. Id the param is null
the currently
active form version will be usedv
- the process that data will be put put to the new form. Must not be null
public static String formRequestFor(Projekt p, javax.servlet.http.HttpServletRequest request, ValueParameters params)
public static String forwardRequestFor(Projekt p, javax.servlet.http.HttpServletRequest request, ValueParameters params)
public static String attachmentFormActionURL(String baseUrl, ValueParameters requestParameters, String prozessId, FRQSession formRequestSession, String action)
public static String deleteAttachmentFormURL(String baseUrl, ValueParameters requestParameters, String prozessId, FRQSession formRequestSession)
public static String downloadAttachmentFormURL(String baseUrl, ValueParameters requestParameters, String prozessId, FRQSession formRequestSession)
public static String dataqueryLDAPUrlFor(String baseUrl, ValueParameters params)
public static String keepaliveUrlFor(String baseUrl, ValueParameters params)
public static String getClientResourceUrl(MandantRessource res, boolean noCache)
public static String getProjectResourceUrl(ProjektRessource res, boolean noCache)
public static String getExternalAuthCallbackURL(IFormAuthContext authContext, String authParam)
public static String getAuthCallbackBaseURL(String baseUrl, String authParam)
public static String getSystemAuthCallbackURL(IFormAuthContext authCtx, String authParam)
public static String buildFinalCallbackUrl(javax.servlet.http.HttpServletRequest request, FRQSession session)
public static String buildFinalCallbackUrl(javax.servlet.http.HttpServletRequest request, FRQSession session, boolean relative)
public static String getAuthLoginURL(IFormAuthContext authCtx, ProjectAuthenticatorConfig config, boolean asRedirect)
public static String getAuthCheckURL(IFormAuthContext authCtx)
public static String getAuthFormURL(IFormAuthContext authCtx)
public static String getAuthPasswordURL(IFormAuthContext authCtx)
public static String getAuthCallbackDefaultBaseURL(javax.servlet.http.HttpServletRequest request, Projekt project)
public static String getBaseUrl(javax.servlet.http.HttpServletRequest request)
public static String getAbsoluteBaseUrl(javax.servlet.http.HttpServletRequest request)
public static boolean isExternalOrAjaxRequest(javax.servlet.http.HttpServletRequest request)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.