Class FileUrlBuilder
java.lang.Object
de.uplanet.lucy.server.auxiliaries.FileUrlBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic de.uplanet.lucy.server.businesslogic.util.ImageMode
createImageMode
(boolean p_bAutoRotate) Creates a image mode for an original size imagestatic de.uplanet.lucy.server.businesslogic.util.ImageMode
createImageMode
(int p_iWidth, int p_iHeight, boolean p_bCropped, boolean p_bCroppedMaximize, boolean p_bOptimizeSize) Creates a image mode for a scaled imagestatic de.uplanet.lucy.server.businesslogic.util.ImageMode
createImageMode
(int p_iWidth, int p_iHeight, boolean p_bCropped, boolean p_bCroppedMaximize, int p_iDegress, boolean p_bOptimizeSize) Creates a image mode for a scaled imagestatic String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, boolean p_bAttachment) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.static String
getDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId) Returns the first file.static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, boolean p_bAttachment) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) static String
getDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment) static String
getDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor) static String
getDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId) static String
getDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId) static String
getDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) static String
getDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor) static String
getDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId) static String
getDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId) static String
getDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) static String
getFileWalkerDownloadUrl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strServerRootPath, String p_strFile) static String
getFileWalkerQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strServerRootPath, String p_strFile) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponent
(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromAdapter
(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.static String
getImageDownloadQueryComponentFromControl
(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.static String
getImageDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) static String
getImageDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromAdapter
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) static String
getImageDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) static String
getImageDownloadUrlFromControl
(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified)
-
Constructor Details
-
FileUrlBuilder
public FileUrlBuilder()Explicit public default constructor
-
-
Method Details
-
createImageMode
public static de.uplanet.lucy.server.businesslogic.util.ImageMode createImageMode(boolean p_bAutoRotate) Creates a image mode for an original size image- Parameters:
p_bAutoRotate
-true
if the image should be rotated.- Returns:
- The image mode.
-
createImageMode
public static de.uplanet.lucy.server.businesslogic.util.ImageMode createImageMode(int p_iWidth, int p_iHeight, boolean p_bCropped, boolean p_bCroppedMaximize, boolean p_bOptimizeSize) Creates a image mode for a scaled image- Parameters:
p_iWidth
- The image widthp_iHeight
- The image heightp_bCropped
- Should the image croppedp_bCroppedMaximize
- Should the image cropped with up scalep_bOptimizeSize
- Optimize the size- Returns:
- The image mode.
-
createImageMode
public static de.uplanet.lucy.server.businesslogic.util.ImageMode createImageMode(int p_iWidth, int p_iHeight, boolean p_bCropped, boolean p_bCroppedMaximize, int p_iDegress, boolean p_bOptimizeSize) Creates a image mode for a scaled image- Parameters:
p_iWidth
- The image widthp_iHeight
- The image heightp_bCropped
- Should the image croppedp_bCroppedMaximize
- Should the image cropped with up scalep_iDegress
- The rotation degrees. If the value is 0 then the image will be auto rotated.p_bOptimizeSize
- Optimize the size- Returns:
- The image mode.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_fileDescriptor
- The file descriptor- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_fileDescriptor
- The file descriptorp_bAsAttachment
- Download link as attachment otherwise inline.- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.Returns the first file.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, boolean p_bAttachment) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_bAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_bAsAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_dtLastModified
- The last modified date. (maybe required for browser cache reasons, could benull
or a dummy date.)- Returns:
- The download URL.
-
getDownloadQueryComponent
@Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_dtLastModified
- The last modified date. (maybe required for browser cache reasons, could benull
or a dummy date.)p_bAsAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadQueryComponentFromAdapter
@Deprecated public static String getDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file field GUID (not null)p_fileDescriptor
- The file descriptor (not null)- Returns:
- Returns the download URL for the given file.
-
getDownloadQueryComponentFromAdapter
@Deprecated public static String getDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)- Returns:
- Returns the download URL for the first file.
-
getDownloadQueryComponentFromAdapter
@Deprecated public static String getDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)p_strFileId
- The file id (notnull
)- Returns:
- Returns the download URL for the given file.
-
getDownloadQueryComponentFromAdapter
@Deprecated public static String getDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)p_strFileId
- The file id (notnull
)p_dtLastModified
- The last modified date (could benull
), used for browser caching reasons.- Returns:
- Returns the download URL for the given file.
-
getDownloadQueryComponentFromControl
@Deprecated public static String getDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (not null)p_fileDescriptor
- The file descriptor (not null)- Returns:
- Returns the download URL for the given file.
-
getDownloadQueryComponentFromControl
@Deprecated public static String getDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (notnull
)p_strRecId
- The record id, The first file will be returned).- Returns:
- Returns the download URL.
-
getDownloadQueryComponentFromControl
@Deprecated public static String getDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id (not null)p_strFileId
- The file id (could benull
, ifnull
then the URL for the first file will be returned)- Returns:
- The download URL.
-
getDownloadQueryComponentFromControl
@Deprecated public static String getDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (not null)-p_strRecId
- The record id (not null)p_strFileId
- The file id (could be null, than the first file will returned).p_dtLastModified
- The last modify date (could benull
, used for browser cache reasons).- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_fileDescriptor
- The file descriptor- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_fileDescriptor
- The file descriptorp_bAsAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId) Returns the first file.- Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, boolean p_bAttachment) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_bAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_bAsAttachment
- Download link as attachment otherwise inline- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_dtLastModified
- The last modified date. (maybe required for browser cache reasons, could benull
or a dummy date.)- Returns:
- The download URL.
-
getDownloadUrl
public static String getDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment) - Parameters:
p_ctx
- The processing contextp_strGuid
- The control or adapter GUID.p_strRecId
- The record id.p_strFileId
- The file record id. Ifnull
the first file will be returned.p_dtLastModified
- The last modified date. (maybe required for browser cache reasons, could benull
or a dummy date.)p_bAsAttachment
- Download link as attachment otherwise inline.- Returns:
- The download URL.
-
getDownloadUrlFromAdapter
public static String getDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor) - Parameters:
p_ctx
- The processing context (notnull
).p_strAdapterGuid
- The file field GUID (notnull
).p_fileDescriptor
- The file descriptor (notnull
).- Returns:
- The download URL for the given file.
-
getDownloadUrlFromAdapter
public static String getDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId) - Parameters:
p_ctx
- The processing context (not null)p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)- Returns:
- Returns the download URL for the first file.
-
getDownloadUrlFromAdapter
public static String getDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId) - Parameters:
p_ctx
- The processing context (not null)p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)p_strFileId
- The file id (notnull
)- Returns:
- Returns the download URL for the given file.
-
getDownloadUrlFromAdapter
public static String getDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) - Parameters:
p_ctx
- The processing context (not null)p_strAdapterGuid
- The file field GUID (not null)p_strRecId
- The record id (not null)p_strFileId
- The file id (notnull
)p_dtLastModified
- The last modified date (could benull
), used for browser caching reasons.- Returns:
- Returns the download URL for the given file.
-
getDownloadUrlFromControl
public static String getDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_fileDescriptor
- The file descriptor (not null)- Returns:
- Returns the download URL for the given file.
-
getDownloadUrlFromControl
public static String getDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id, The first file will be returned).- Returns:
- Returns the download URL.
-
getDownloadUrlFromControl
public static String getDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId) - Parameters:
p_ctx
- The processing context (notnull
).p_strControlGuid
- The control GUID (notnull
).p_strRecId
- The record id (not null)p_strFileId
- The file id (could benull
, ifnull
than the URL for the first file will be returned)- Returns:
- The download URL.
-
getDownloadUrlFromControl
public static String getDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified) - Parameters:
p_ctx
- The processing context (notnull
).p_strControlGuid
- The control GUID (notnull
)-p_strRecId
- The record id (notnull
).p_strFileId
- The file id (could benull
, then the first file will returned).p_dtLastModified
- The last modify date (could benull
, used for browser cache reasons).- Returns:
- The download URL.
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The file adapter GUID or a file control GUID. (notnull
)p_fileDescriptor
- The file descriptor (notnull
).p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodscreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- The file adapter GUID or a file control GUID. (notnull
)p_strRecId
- The record id (notnull
).p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
)- Returns:
- The URL to the image
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- A file adapter GUID or a file control GUID. (notnull
)p_strRecId
- The record id (notnull
)p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
)p_dtLastModified
- Used for browser caching reasons (could benull
)- Returns:
- The URL to the first image
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- A file adapter GUID or a file control GUID. (notnull
)p_strRecId
- The record id (notnull
)p_strFiledId
- The file id (could benull
) ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
)- Returns:
- The URL to the image
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strGuid
- A file adapter GUID or a file control GUID. (notnull
)p_strRecId
- The record id (notnull
)p_strFiledId
- The file id (could benull
) ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponentFromAdapter
@Deprecated public static String getImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file adapter GUID. (notnull
)p_fileDescriptor
- The file descriptor (notnull
)p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponentFromAdapter
@Deprecated public static String getImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file adapter GUID. (notnull
)p_strRecId
- The record id (notnull
)p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponentFromAdapter
@Deprecated public static String getImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file adapter GUID. (notnull
)p_strRecId
- The record id (notnull
)p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).p_dtLastModified
- Used for browser caching reasons (could benull
).- Returns:
- The URL to the first image.
-
getImageDownloadQueryComponentFromAdapter
@Deprecated public static String getImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file adapter GUID. (notnull
)p_strRecId
- The record id (notnull
)p_strFiledId
- The file id (could benull
) ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
prcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponentFromAdapter
@Deprecated public static String getImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strAdapterGuid
- The file adapter GUID. (notnull
)p_strRecId
- The record id (notnull
)p_strFiledId
- The file id (could benull
) ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadQueryComponentFromControl
@Deprecated public static String getImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (notnull
).p_fileDescriptor
- The file descriptor (notnull
).p_imageMode
- The image mode (notnull
) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- The image download URL.
-
getImageDownloadQueryComponentFromControl
@Deprecated public static String getImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (notnull
).p_strRecId
- The record id (notnull
).p_imageMode
- The image mode (notnull
) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- Returns the image URL.
-
getImageDownloadQueryComponentFromControl
@Deprecated public static String getImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id (not null)p_strFiledId
- The file id (could benull
, ifnull
the URL of the first image will returned).p_imageMode
- The image mode (not null) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- Returns the image URL.
-
getImageDownloadQueryComponentFromControl
@Deprecated public static String getImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) Deprecated.Since Intrexx 8.1.- Parameters:
p_strQueryPrefix
- The query prefix. Result will be the concatenation of this prefix and the query component.p_strControlGuid
- The control GUID (notnull
).p_strRecId
- The record id (notnull
).p_strFiledId
- The file id (could benull
, ifnull
the URL of the first image will returned).p_imageMode
- The image mode (not null) (for creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.p_dtLastModified
- The last modified date (could benull
, used for browser caching reasons).- Returns:
- Returns the image URL.
-
getImageDownloadUrlFromAdapter
public static String getImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (notnull
).p_strAdapterGuid
- The file adapter GUID (notnull
).p_fileDescriptor
- The file descriptor (notnull
).p_imageMode
- The image scaling mode (could benull
). (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadUrlFromAdapter
public static String getImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (notnull
).p_strAdapterGuid
- The file adapter GUID (notnull
).p_strRecId
- The record id (notnull
).p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadUrlFromAdapter
public static String getImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) - Parameters:
p_ctx
- The processing context (notnull
).p_strAdapterGuid
- The file adapter GUID. (notnull
).p_strRecId
- The record id (notnull
).p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).p_dtLastModified
- Used for browser caching reasons (could benull
).- Returns:
- The URL to the first image.
-
getImageDownloadUrlFromAdapter
public static String getImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (notnull
).p_strAdapterGuid
- The file adapter GUID. (notnull
).p_strRecId
- The record id (notnull
).p_strFiledId
- The file id (could benull
). ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadUrlFromAdapter
public static String getImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) - Parameters:
p_ctx
- The processing context (notnull
)p_strAdapterGuid
- The file adapter GUID. (notnull
)p_strRecId
- The record id (notnull
)p_strFiledId
- The file id (could benull
) ifnull
the first file will be returned.p_imageMode
- The image scaling mode (could benull
) (To create, use one of the methodcreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
).- Returns:
- The URL to the image.
-
getImageDownloadUrlFromControl
public static String getImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_fileDescriptor
- The file descriptor (not null)p_imageMode
- The image mode (not null) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- The image download URL.
-
getImageDownloadUrlFromControl
public static String getImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id (not null)p_imageMode
- The image mode (not null) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- Returns the image URL.
-
getImageDownloadUrlFromControl
public static String getImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id (not null)p_strFiledId
- The file id (could benull
, ifnull
the URL of the first image will returned).p_imageMode
- The image mode (not null) (For creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.- Returns:
- Returns the image URL.
-
getImageDownloadUrlFromControl
public static String getImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFiledId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode, Date p_dtLastModified) - Parameters:
p_ctx
- The processing context (not null)p_strControlGuid
- The control GUID (not null)p_strRecId
- The record id (not null)p_strFiledId
- The file id (could benull
, ifnull
the URL of the first image will returned).p_imageMode
- The image mode (not null) (for creation seecreateImageMode(boolean)
,createImageMode(int, int, boolean, boolean, boolean)
orcreateImageMode(int, int, boolean, boolean, int, boolean)
.p_dtLastModified
- The last modified date (could benull
, used for browser caching reasons).- Returns:
- Returns the image URL.
-
getFileWalkerDownloadUrl
public static String getFileWalkerDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strServerRootPath, String p_strFile) throws IOException - Throws:
IOException
-
getFileWalkerQueryComponent
@Deprecated public static String getFileWalkerQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strServerRootPath, String p_strFile) throws IOException Deprecated.Since Intrexx 8.1.- Throws:
IOException
-