Class CustomTool
java.lang.Object
com.gentics.contentnode.rest.model.response.admin.CustomTool
Model of a custom tool
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional icon URLint
getId()
Internal IDgetKey()
Unique key of the toolgetName()
Name of the Tool in english and germanTool URLboolean
isNewtab()
True if the tool shall be opened in a new tabsetIconUrl
(String iconUrl) Set icon URLsetId
(int id) Set the internal IDSet the keySet the name in english and germansetNewtab
(boolean newtab) Set newtab flagsetToolUrl
(String toolUrl) Set Tool URLtoString()
-
Field Details
-
id
protected int id -
key
-
name
-
toolUrl
-
iconUrl
-
newtab
protected boolean newtab
-
-
Constructor Details
-
CustomTool
public CustomTool()
-
-
Method Details
-
getId
public int getId()Internal ID- Returns:
- ID
-
setId
Set the internal ID- Parameters:
id
- ID- Returns:
- fluent API
-
getKey
Unique key of the tool- Returns:
- unique key
-
setKey
Set the key- Parameters:
key
- key- Returns:
- fluent API
-
getName
Name of the Tool in english and german- Returns:
- name as map
-
setName
Set the name in english and german- Parameters:
name
- name map- Returns:
- fluent API
-
getToolUrl
Tool URL- Returns:
- tool URL
-
setToolUrl
Set Tool URL- Parameters:
toolUrl
- tool URL- Returns:
- fluent API
-
getIconUrl
Optional icon URL- Returns:
- icon URL
-
setIconUrl
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
Set newtab flag- Parameters:
newtab
- true for new tab- Returns:
- fluent API
-
toString
-