java.lang.Object
com.gentics.contentnode.rest.model.response.admin.CustomTool

public class CustomTool extends Object
Model of a custom tool
  • Field Details

    • id

      protected int id
    • key

      protected String key
    • name

      protected Map<String,String> name
    • toolUrl

      protected String toolUrl
    • iconUrl

      protected String iconUrl
    • newtab

      protected boolean newtab
  • Constructor Details

    • CustomTool

      public CustomTool()
  • Method Details

    • getId

      public int getId()
      Internal ID
      Returns:
      ID
    • setId

      public CustomTool setId(int id)
      Set the internal ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getKey

      public String getKey()
      Unique key of the tool
      Returns:
      unique key
    • setKey

      public CustomTool setKey(String key)
      Set the key
      Parameters:
      key - key
      Returns:
      fluent API
    • getName

      public Map<String,String> getName()
      Name of the Tool in english and german
      Returns:
      name as map
    • setName

      public CustomTool setName(Map<String,String> name)
      Set the name in english and german
      Parameters:
      name - name map
      Returns:
      fluent API
    • getToolUrl

      public String getToolUrl()
      Tool URL
      Returns:
      tool URL
    • setToolUrl

      public CustomTool setToolUrl(String toolUrl)
      Set Tool URL
      Parameters:
      toolUrl - tool URL
      Returns:
      fluent API
    • getIconUrl

      public String getIconUrl()
      Optional icon URL
      Returns:
      icon URL
    • setIconUrl

      public CustomTool setIconUrl(String iconUrl)
      Set icon URL
      Parameters:
      iconUrl - icon URL
      Returns:
      fluent API
    • isNewtab

      public boolean isNewtab()
      True if the tool shall be opened in a new tab
      Returns:
      true for new tab
    • setNewtab

      public CustomTool setNewtab(boolean newtab)
      Set newtab flag
      Parameters:
      newtab - true for new tab
      Returns:
      fluent API
    • toString

      public String toString()
      Overrides:
      toString in class Object