Class DeleteTag.DeleteLink

  • Enclosing class:
    DeleteTag

    public static class DeleteTag.DeleteLink
    extends java.lang.Object
    A pojo class representing a delete link
    Since:
    jcms-10.0.5
    • Constructor Detail

      • DeleteLink

        public DeleteLink()
    • Method Detail

      • data

        public DeleteTag.DeleteLink data​(Data data)
        Parameters:
        data - the Data to delete
        Returns:
        a reference to this object for method chaining
      • contextPath

        public DeleteTag.DeleteLink contextPath​(java.lang.String contextPath)
        Parameters:
        contextPath - the current context path
        Returns:
        a reference to this object for method chaining
      • userLang

        public DeleteTag.DeleteLink userLang​(java.lang.String userLang)
        Parameters:
        userLang - the userLang
        Returns:
        a reference to this object for method chaining
      • redirect

        public DeleteTag.DeleteLink redirect​(java.lang.String redirect)
        Parameters:
        redirect - the redirect url after deletion is performed
        Returns:
        a reference to this object for method chaining
      • title

        public DeleteTag.DeleteLink title​(java.lang.String title)
        Parameters:
        title - the title of the link
        Returns:
        a reference to this object for method chaining
      • workspaceFilter

        public DeleteTag.DeleteLink workspaceFilter​(java.lang.String workspaceFilter)
        Parameters:
        workspaceFilter - to filter on workspace
        Returns:
        a reference to this object for method chaining
      • icon

        public DeleteTag.DeleteLink icon​(java.lang.String icon)
        Parameters:
        icon - the displayed icon
        Returns:
        a reference to this object for method chaining
      • css

        public DeleteTag.DeleteLink css​(java.lang.String css)
        Parameters:
        css - added to the link classes
        Returns:
        a reference to this object for method chaining
      • dataAttribute

        public DeleteTag.DeleteLink dataAttribute​(DataAttribute dataAttribute)
        Parameters:
        dataAttribute - added to the link
        Returns:
        a reference to this object for method chaining
      • htmlAttributes

        public DeleteTag.DeleteLink htmlAttributes​(java.lang.String htmlAttributes)
        Parameters:
        htmlAttributes - added to the link
        Returns:
        a reference to this object for method chaining
      • confirmMessage

        public DeleteTag.DeleteLink confirmMessage​(java.lang.String confirmMessage)
        Parameters:
        confirmMessage - to replace default confirm message displayed in confirm modal
        Returns:
        a reference to this object for method chaining
      • text

        public DeleteTag.DeleteLink text​(java.lang.String text)
        Parameters:
        text - displayed next to the icon
        Returns:
        a reference to this object for method chaining
      • getData

        public Data getData()
      • getContextPath

        public java.lang.String getContextPath()
      • getUserLang

        public java.lang.String getUserLang()
      • getRedirect

        public java.lang.String getRedirect()
      • getTitle

        public java.lang.String getTitle()
      • getWorkspaceFilter

        public java.lang.String getWorkspaceFilter()
      • getIcon

        public java.lang.String getIcon()
      • getCss

        public java.lang.String getCss()
      • getHtmlAttributes

        public java.lang.String getHtmlAttributes()
      • getConfirmMessage

        public java.lang.String getConfirmMessage()
      • getText

        public java.lang.String getText()