Class EditPublicLinkHandler

    • Constructor Detail

      • EditPublicLinkHandler

        public EditPublicLinkHandler()
    • Method Detail

      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        Overrides:
        init in class JcmsFormHandler
      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class EditDataHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • getModalTitle

        public java.lang.String getModalTitle()
      • getModalAction

        public java.lang.String getModalAction()
      • showEditor

        public boolean showEditor()
      • showInfo

        public boolean showInfo()
      • getAccessUrl

        public java.lang.String getAccessUrl()
      • getAccessCode

        public java.lang.String getAccessCode()
      • getLinkName

        public java.lang.String getLinkName()
      • getDocumentCount

        public int getDocumentCount()
      • getDuration

        public java.lang.String getDuration()
      • getMailSubject

        public java.lang.String getMailSubject()
      • getExpiryDateAsString

        public java.lang.String getExpiryDateAsString()
      • getMailBody

        public java.lang.String getMailBody()
      • showDocList

        public boolean showDocList()
      • showVersion

        public boolean showVersion()
      • showFileType

        public boolean showFileType()
      • showOptions

        public boolean showOptions()
      • getDocTypeInfo

        public java.lang.String getDocTypeInfo()
      • setCid

        public void setCid​(java.lang.String cid)
      • setDocIds

        public void setDocIds​(java.lang.String[] ids)
      • getAvailableDocList

        public java.util.List<FileDocument> getAvailableDocList()
      • setName

        public void setName​(java.lang.String name)
      • getAvailableName

        public java.lang.String getAvailableName()
      • setFileType

        public void setFileType​(java.lang.String v)
      • getAvailableFileType

        public java.lang.String getAvailableFileType()
      • setVersion

        public void setVersion​(java.lang.String v)
      • getAvailableVersion

        public java.lang.String getAvailableVersion()
      • setExpiryDate

        public void setExpiryDate​(java.lang.String v)
      • getAvailableExpiryDate

        public java.util.Date getAvailableExpiryDate()
      • setMaxDownload

        public void setMaxDownload​(int v)
      • getAvailableMaxDownload

        public int getAvailableMaxDownload()
      • setSendDownloadAlert

        public void setSendDownloadAlert​(boolean v)
      • getAvailableSendDownloadAlert

        public boolean getAvailableSendDownloadAlert()
      • setHasAccessCode

        public void setHasAccessCode​(java.lang.String v)
      • getAvailableHasAccessCode

        public boolean getAvailableHasAccessCode()
      • getPublicLinkId

        public java.lang.String getPublicLinkId()
      • setPublicLinkModel

        public void setPublicLinkModel​(java.lang.String id)
      • setRefreshAfterClose

        public void setRefreshAfterClose​(java.lang.String v)
      • getAvailableRefreshAfterClose

        public boolean getAvailableRefreshAfterClose()
      • setOpClose

        public void setOpClose​(java.lang.String v)