public static final class PathHandler.Web extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
aliasFor(Mandant mandant) |
static String |
aliasFormImageFor(Projekt p,
String basePath)
Liefert die allgemeine (offizielle und nach außen sichtbare) URL zum Aufruf des Thumbnail des aktiven Formulars
eines
|
static String |
aliasFormRequestFor(MandantFrontendServer mfs,
Projekt p) |
static String |
aliasFormRequestFor(Projekt p)
Liefert die allgemeine (offizielle und nach außen sichtbare) URL zum Aufruf des aktiven Formulars eines
Projektes.
|
static String |
aliasFormRequestWithoutAlias(Mandant client) |
static String |
aliasFormRequestWithoutAlias(MandantFrontendServer mfs,
Mandant client) |
static String |
baseFormIncludeUrlFor(Mandant client)
Determines the path to the JavaScript file for including the form via AJAX.
|
static String |
baseFormIncludeUrlFor(MandantFrontendServer mfs) |
static String |
baseFormUrlFor(Mandant mandant)
Liefert die (ggfs mandantenabhängige) Basis-Adresse zum Aufruf von Formcycle.
|
static String |
baseFormUrlFor(MandantFrontendServer mfs) |
static String |
baseUrlFor(Mandant mandant)
Liefert die (ggfs mandantenabhängige) Basis-Adresse zum Aufruf von Formcycle.
|
static String |
baseUrlFor(MandantFrontendServer mfs) |
static String |
fd2CurrentEditFor(Projekt project,
String baseUrl) |
static String |
fd2NewFor(Projekt project,
String baseUrl) |
static String |
fd2VersionEditFor(FormVersion fv) |
static String |
fd2VersionEditFor(FormVersion fv,
String baseUrl) |
static String |
fd2VersionEditFor(Projekt project) |
static String |
fd2VersionEditFor(Projekt project,
String baseUrl) |
static String |
formActionFor(Projekt project,
int formVersion)
Returns the URL for processing submitted forms of the given project.
|
static String |
formAttachmentDownload(String context) |
static String |
formCorrectionFor(Projekt project,
int formVersion)
Similar to
formActionFor(Projekt, int), but with additional options that influence workflow processing. |
static String |
formIncludeUrlFor(Projekt p)
Builds the link to the form include JavaScript (/form/include.js).
|
static String |
formIncludeUrlFor(Projekt p,
MandantFrontendServer mfs)
Builds the link to the form include JavaScript (/form/include.js) for the given frontend server.
|
static String |
formPreviewFor(FormVersion fv,
String baseURL) |
static String |
formReprovideFor(Vorgang v,
String baseURL)
Liefert die URL zum Aufrufen eines bereits ausgefüllten Formulars (zurzeit nur für
EFormTyp.XIMA_FORM) |
static String |
formRequestFor(FormVersion fv,
String baseURL)
Liefert die allgemeine (offizielle und nach außen sichtbare) URL zum Aufruf des Formulars zur übergebenen
Formularversion.
|
static String |
formRequestFor(Projekt p)
Liefert die allgemeine (offizielle und nach außen sichtbare) URL zum Aufruf des aktiven Formulars eines
Projektes.
|
static String |
formRequestFor(Projekt p,
MandantFrontendServer mfs)
Liefert die allgemeine (offizielle und nach außen sichtbare) URL zum Aufruf des aktiven Formulars eines
Projektes.
|
static String |
formReviewFor(Vorgang v,
String baseURL) |
static String |
formVerifyFor(Vorgang v,
String baseURL) |
static int |
formVersionNumFrom(String formReqUrl)
Extrahiert aus der übergebenen URL die Form-Versions-Nummer
|
static String |
formVersionStringFrom(String formReqUrl) |
static String |
getBaseProvideUrl(Mandant client) |
static String |
getBaseProvideUrl(MandantFrontendServer frontendServer) |
static String |
getDesignerBase(String baseUrl) |
static String |
getFormSessionParamName() |
static String |
inboxReviewFor(Vorgang process,
String baseURL) |
static String |
loginRequestFor(Mandant mandant)
Diese Methode liefert die URL zur Startseite von XFC.
|
static String |
printFormRequestFor(Projekt p) |
static Long |
projektIdFrom(String formReqUrl)
Extrahiert aus der übergebenen URL die XFC-Projekt-ID
|
static String |
prozessIdFrom(String formReqUrl)
Extrahiert aus der übergebenen URL die Form-Versions-Nummer
|
public static String baseUrlFor(Mandant mandant)
mandant - - Mandant der die Basis-URL definiert haben solltepublic static String baseUrlFor(MandantFrontendServer mfs)
public static String getFormSessionParamName()
public static String baseFormUrlFor(Mandant mandant)
Mandant-Objekt hinterlegt ist. Ist dies nicht der Fall, wird auf den Default-Wert
XfcConfigKeys#DFLT_BASE_URL zurückgegriffen.mandant - - Mandant der die Basis-URL definiert haben solltepublic static String baseFormIncludeUrlFor(Mandant client)
https://demo.formcycle.eu/formcycle/form/include.js
mandant - The client Mandant for the base URL.public static String baseFormIncludeUrlFor(MandantFrontendServer mfs)
public static String formIncludeUrlFor(Projekt p)
p - The project for which to get the URL.public static String formIncludeUrlFor(Projekt p, MandantFrontendServer mfs)
p - The project for which to get the URL.mfs - The frontend server to use.public static String baseFormUrlFor(MandantFrontendServer mfs)
public static String fd2VersionEditFor(FormVersion fv)
public static String fd2VersionEditFor(FormVersion fv, String baseUrl)
public static String formRequestFor(Projekt p)
p - - das betreffende Projekt#httpFormUrl(FormVersion, boolean)public static String formRequestFor(Projekt p, MandantFrontendServer mfs)
p - - das betreffende Projekt#httpFormUrl(FormVersion, boolean)public static String getBaseProvideUrl(MandantFrontendServer frontendServer)
frontendServer - MandantFrontendServerString base url for accessing forms via the given client frontend serverpublic static String aliasFormRequestFor(Projekt p)
p - - das betreffende Projekt#httpFormUrl(FormVersion, boolean)public static String aliasFormImageFor(Projekt p, String basePath)
p - - das betreffende Projekt#httpFormUrl(FormVersion, boolean)public static String aliasFormRequestFor(MandantFrontendServer mfs, Projekt p)
public static String aliasFormRequestWithoutAlias(MandantFrontendServer mfs, Mandant client)
public static String formRequestFor(FormVersion fv, String baseURL)
fv - - die betreffende FormularversionbaseURL - String die Base-URL#httpFormUrl(FormVersion, boolean)public static String formPreviewFor(FormVersion fv, String baseURL)
public static String formActionFor(Projekt project, int formVersion)
action for the attribute action of the FORM HTML element. http://localhost/xima-formcycle/form/process/742/2/formVersion - The version number of the form.project - The project for which the URL is generated.baseUrlFor(Mandant)public static String formCorrectionFor(Projekt project, int formVersion)
formActionFor(Projekt, int), but with additional options that influence workflow processing.
http://localhost/xima-formcycle/form/workflow/742/2/formVersion - The version number of the form.project - The project for which the URL is generated.baseUrlFor(Mandant)public static String formReprovideFor(Vorgang v, String baseURL)
EFormTyp.XIMA_FORM)v - - Vorgang, anhand dessen Vorgang.getProzessId() das ausgefüllte Formular ermittelt wirdbaseURL - String die Base-URLpublic static String loginRequestFor(Mandant mandant)
mandant - - Mandant dessen gesetzte Basis-URL genutzt werden sollpublic static Long projektIdFrom(String formReqUrl)
formReqUrl - - die zu verarbeitende URLITransferableEntity.INVALID_ID, wenn kein entsprechender Wert
gefunden wurdepublic static int formVersionNumFrom(String formReqUrl)
formReqUrl - - die zu verarbeitende URLFormVersion.INVALID_VERS_NUM, wenn kein entsprechender
Wert gefunden wurdepublic static String prozessIdFrom(String formReqUrl)
formReqUrl - - die zu verarbeitende URLFormVersion.INVALID_VERS_NUM, wenn kein entsprechender
Wert gefunden wurdeCopyright © 2019 XIMA MEDIA GmbH. All rights reserved.