Class MyLinksResourceURIs
- java.lang.Object
-
- org.silverpeas.core.webapi.mylinks.MyLinksResourceURIs
-
-
Field Summary
Fields Modifier and Type Field Description static String
MYLINKS_BASE_URI
static String
MYLINKS_CATEGORY_URI_PART
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MyLinksResourceURIs
get()
URI
ofCategory(CategoryDetail category)
Centralizes the build of a category URI.URI
ofLink(LinkDetail link)
Centralizes the build of a link URI.
-
-
-
Field Detail
-
MYLINKS_BASE_URI
public static final String MYLINKS_BASE_URI
- See Also:
- Constant Field Values
-
MYLINKS_CATEGORY_URI_PART
public static final String MYLINKS_CATEGORY_URI_PART
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static MyLinksResourceURIs get()
-
ofCategory
public URI ofCategory(CategoryDetail category)
Centralizes the build of a category URI.- Parameters:
category
- a category.- Returns:
- the computed URI.
-
ofLink
public URI ofLink(LinkDetail link)
Centralizes the build of a link URI.- Parameters:
link
- a link.- Returns:
- the computed URI.
-
-