Class FileUrlBuilder
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.FileUrlBuilder
-
@VelocityCallable("singleton") public final class FileUrlBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUrlBuilder()Explicit public default constructor
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static de.uplanet.lucy.server.businesslogic.util.ImageModecreateImageMode(boolean p_bAutoRotate)Creates a image mode for an original size imagestatic de.uplanet.lucy.server.businesslogic.util.ImageModecreateImageMode(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.ImageModecreateImageMode(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 StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, boolean p_bAttachment)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId)Deprecated.Since Intrexx 8.1.static StringgetDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)Deprecated.Since Intrexx 8.1.static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId)Returns the first file.static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, boolean p_bAttachment)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)static StringgetDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified, boolean p_bAsAttachment)static StringgetDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)static StringgetDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId)static StringgetDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId)static StringgetDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)static StringgetDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)static StringgetDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId)static StringgetDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId)static StringgetDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, String p_strFileId, Date p_dtLastModified)static StringgetFileWalkerDownloadUrl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strGuid, String p_strServerRootPath, String p_strFile)static StringgetFileWalkerQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strServerRootPath, String p_strFile)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponent(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 StringgetImageDownloadQueryComponent(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 StringgetImageDownloadQueryComponent(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 StringgetImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponentFromAdapter(String p_strQueryPrefix, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponentFromAdapter(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 StringgetImageDownloadQueryComponentFromAdapter(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 StringgetImageDownloadQueryComponentFromAdapter(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 StringgetImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponentFromControl(String p_strQueryPrefix, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)Deprecated.Since Intrexx 8.1.static StringgetImageDownloadQueryComponentFromControl(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 StringgetImageDownloadQueryComponentFromControl(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 StringgetImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)static StringgetImageDownloadUrlFromAdapter(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strAdapterGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)static StringgetImageDownloadUrlFromAdapter(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 StringgetImageDownloadUrlFromAdapter(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 StringgetImageDownloadUrlFromAdapter(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 StringgetImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)static StringgetImageDownloadUrlFromControl(de.uplanet.lucy.server.connector.IRequestProcessingContext p_ctx, String p_strControlGuid, String p_strRecId, de.uplanet.lucy.server.businesslogic.util.ImageMode p_imageMode)static StringgetImageDownloadUrlFromControl(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 StringgetImageDownloadUrlFromControl(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)
-
-
-
Method Detail
-
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-trueif 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, de.uplanet.lucy.server.util.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, de.uplanet.lucy.server.util.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. Ifnullthe 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. Ifnullthe 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. Ifnullthe first file will be returned.p_dtLastModified- The last modified date. (maybe required for browser cache reasons, could benullor 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. Ifnullthe first file will be returned.p_dtLastModified- The last modified date. (maybe required for browser cache reasons, could benullor 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, de.uplanet.lucy.server.util.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, de.uplanet.lucy.server.util.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 (not null)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 be null, ifnullthan 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 be null, 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, de.uplanet.lucy.server.util.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, de.uplanet.lucy.server.util.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. Ifnullthe 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. Ifnullthe 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. Ifnullthe first file will be returned.p_dtLastModified- The last modified date. (maybe required for browser cache reasons, could benullor 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. Ifnullthe first file will be returned.p_dtLastModified- The last modified date. (maybe required for browser cache reasons, could benullor 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, de.uplanet.lucy.server.util.IVHFileAdapterDescriptor p_fileDescriptor)
- Parameters:
p_ctx- The processing context (not null)p_strAdapterGuid- The file field GUID (not null)p_fileDescriptor- The file descriptor (not null)- 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)
- 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, de.uplanet.lucy.server.util.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 (not null)p_strControlGuid- The control GUID (not null)p_strRecId- The record id (not null)p_strFileId- The file id (could be null, ifnullthan 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 (not null).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 be null, used for browser cache reasons).- Returns:
- The download URL.
-
getImageDownloadQueryComponent
@Deprecated public static String getImageDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, de.uplanet.lucy.server.util.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 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)
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) ifnullthe 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) ifnullthe 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, de.uplanet.lucy.server.util.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) ifnullthe 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, 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) ifnullthe 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, de.uplanet.lucy.server.util.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 (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
-
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 (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.
-
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, ifnullthe 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 (not null)p_strRecId- The record id (not null)p_strFiledId- The file id (could benull, ifnullthe 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, de.uplanet.lucy.server.util.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) ifnullthe 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) ifnullthe 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, de.uplanet.lucy.server.util.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, ifnullthe 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, ifnullthe 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
-
-