Package swiss.trustbroker.saml.dto
Class UiObject
java.lang.Object
swiss.trustbroker.saml.dto.UiObject
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UiObject.UiObjectBuilderbuilder()protected booleanbooleangetColor()HTML color code identifying the CP on small screens.Text displayed in the CP tile.disabled signals to the frontend to inactivate the tile.getImage()Image displayed in the HRD large view.getName()name is displayed on the tile given it's not used as a key into the translation service or overridden by tileTitle.The list of ClaimsProviders nameNotice max agegetOrder()order allows to compose multiple tiles in a flexible manner.A usually two-character code identifying the CP on small screens.getTitle()Title for the CP tile and help item.getUrn()id uniquely identifies a tile.inthashCode()voidHTML color code identifying the CP on small screens.voidsetDescription(String description) Text displayed in the CP tile.voidsetDisabled(UiDisableReason disabled) disabled signals to the frontend to inactivate the tile.voidImage displayed in the HRD large view.voidname is displayed on the tile given it's not used as a key into the translation service or overridden by tileTitle.voidsetNoticeClaimsProviders(List<String> noticeClaimsProviders) The list of ClaimsProviders namevoidsetNoticeMaxAgeSec(Integer noticeMaxAgeSec) Notice max agevoidorder allows to compose multiple tiles in a flexible manner.voidsetShortcut(String shortcut) A usually two-character code identifying the CP on small screens.voidTitle for the CP tile and help item.voidid uniquely identifies a tile.toString()
-
Constructor Details
-
UiObject
public UiObject() -
UiObject
public UiObject(String urn, UiDisableReason disabled, Integer order, String name, String title, String description, String image, String shortcut, String color, Integer noticeMaxAgeSec, List<String> noticeClaimsProviders) Creates a newUiObjectinstance.- Parameters:
urn- id uniquely identifies a tile.disabled- disabled signals to the frontend to inactivate the tile.order- order allows to compose multiple tiles in a flexible manner.name- name is displayed on the tile given it's not used as a key into the translation service or overridden by tileTitle.title- Title for the CP tile and help item.
The fallback order (if not defined) is: title > name > IDdescription- Text displayed in the CP tile.
The fallback order (if not defined) is: description > name > IDimage- Image displayed in the HRD large view.shortcut- A usually two-character code identifying the CP on small screens.color- HTML color code identifying the CP on small screens.noticeMaxAgeSec- Notice max agenoticeClaimsProviders- The list of ClaimsProviders name
-
-
Method Details
-
getOrderWithDefault
- Returns:
- configured order number or a default order at the end of a common CP list (using range [100, 999].
-
builder
-
getUrn
id uniquely identifies a tile. -
getDisabled
disabled signals to the frontend to inactivate the tile. -
getOrder
order allows to compose multiple tiles in a flexible manner. -
getName
name is displayed on the tile given it's not used as a key into the translation service or overridden by tileTitle. -
getTitle
Title for the CP tile and help item.
The fallback order (if not defined) is: title > name > ID -
getDescription
Text displayed in the CP tile.
The fallback order (if not defined) is: description > name > ID -
getImage
Image displayed in the HRD large view. -
getShortcut
A usually two-character code identifying the CP on small screens. -
getColor
HTML color code identifying the CP on small screens. -
getNoticeMaxAgeSec
Notice max age -
getNoticeClaimsProviders
The list of ClaimsProviders name -
setUrn
id uniquely identifies a tile. -
setDisabled
disabled signals to the frontend to inactivate the tile. -
setOrder
order allows to compose multiple tiles in a flexible manner. -
setName
name is displayed on the tile given it's not used as a key into the translation service or overridden by tileTitle. -
setTitle
Title for the CP tile and help item.
The fallback order (if not defined) is: title > name > ID -
setDescription
Text displayed in the CP tile.
The fallback order (if not defined) is: description > name > ID -
setImage
Image displayed in the HRD large view. -
setShortcut
A usually two-character code identifying the CP on small screens. -
setColor
HTML color code identifying the CP on small screens. -
setNoticeMaxAgeSec
Notice max age -
setNoticeClaimsProviders
The list of ClaimsProviders name -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-