Bookmark

String representation of any persistable or re-creatable object managed by the framework.

API

Bookmark.java
class Bookmark {
  Bookmark empty(LogicalType logicalType)
  Bookmark emptyForLogicalTypeName(String logicalTypeName)
  Bookmark forLogicalTypeNameAndIdentifier(String logicalTypeName, String urlSafeIdentifier)
  Bookmark forLogicalTypeAndIdentifier(LogicalType logicalType, String urlSafeIdentifier)
  Bookmark forOidDto(OidDto oidDto)
  Bookmark withHintId(String hintId)
  Optional<Bookmark> parse(String str)     (1)
  Bookmark parseElseFail(String input)
  Optional<Bookmark> parseUrlEncoded(String urlEncodedStr)     (2)
  OidDto toOidDto()
  String stringify()
  boolean equals(Object other)
  boolean equals(Bookmark other)
  int hashCode()
  String toString()
  String stringifyHonoringHintIfAny()     (3)
  boolean isEmpty()     (4)
}
1 parse(String)

Round-trip with #stringify() representation.

2 parseUrlEncoded(String)

there is only one use-case, that is, if a bookmark itself needs to be encoded (eg. page params)

3 stringifyHonoringHintIfAny()

Analogous to #stringify() , but replaces the identifier string with the hintId if present and not empty.

4 isEmpty()

Whether represents null .

Members

parse(String)

Round-trip with #stringify() representation.

parseUrlEncoded(String)

there is only one use-case, that is, if a bookmark itself needs to be encoded (eg. page params)

stringifyHonoringHintIfAny()

Analogous to #stringify() , but replaces the identifier string with the hintId if present and not empty.

isEmpty()

Whether represents null .