Klasse GroovyFileUrlBuilder

java.lang.Object
de.uplanet.lucy.server.businesslogic.util.scriptable.GroovyFileUrlBuilder

@Scriptable public final class GroovyFileUrlBuilder extends Object
  • Methodendetails

    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_fileDescriptor - The file descriptor
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_fileDescriptor - The file descriptor
      p_bAsAttachment - Download link as attachment otherwise inline
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, IVHFileAdapterDescriptor p_fileDescriptor, boolean p_bAsAttachment)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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
      p_bAsAttachment - Download link as attachment otherwise inline
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_lastModified)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      p_strFileId - The file record id. If null the first file will be returned.
      p_lastModified - The last modified date. (maybe required for browser cache reasons, could be null or a dummy date.)
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_lastModified)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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. If null the first file will be returned.
      p_lastModified - The last modified date. (maybe required for browser cache reasons, could be null or a dummy date.)
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, Date p_lastModified, boolean p_bAsAttachment)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      p_strFileId - The file record id. If null the first file will be returned.
      p_lastModified - The last modified date. (maybe required for browser cache reasons, could be null or a dummy date.)
      p_bAsAttachment - Download link as attachment otherwise inline
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, Date p_lastModified, boolean p_bAsAttachment)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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. If null the first file will be returned.
      p_lastModified - The last modified date. (maybe required for browser cache reasons, could be null or a dummy date.)
      p_bAsAttachment - Download link as attachment otherwise inline
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      p_strFileId - The file record id. If null the first file will be returned.
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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. If null the first file will be returned.
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      p_strFileId - The file record id. If null the first file will be returned.
      p_bAsAttachment - Download link as attachment otherwise inline.
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, String p_strFileId, boolean p_bAsAttachment)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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. If null the first file will be returned.
      p_bAsAttachment - Download link as attachment otherwise inline.
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId)
      Returns the first file.
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId)
      Veraltet.
      Since Intrexx 9.5.
      Returns the first file.
      Parameter:
      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.
      Gibt zurück:
      The download URL.
    • getDownloadUrl

      public static String getDownloadUrl(IRequestProcessingContext p_ctx, String p_strGuid, String p_strRecId, boolean p_bAttachment)
      Parameter:
      p_ctx - The processing context
      p_strGuid - The control or adapter GUID.
      p_strRecId - The record id.
      p_bAttachment - Download link as attachment otherwise inline
      Gibt zurück:
      The download URL.
    • getDownloadQueryComponent

      @Deprecated public static String getDownloadQueryComponent(String p_strQueryPrefix, String p_strGuid, String p_strRecId, boolean p_bAttachment)
      Veraltet.
      Since Intrexx 9.5.
      Parameter:
      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.
      Gibt zurück:
      The download URL.