Class UserHomePageService
java.lang.Object
io.meeds.social.navigation.service.UserHomePageService
Saves the page a user chose as his home, the one the company logo of the
topbar leads to, when the platform lets users choose it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INVALID_URI_MESSAGE
- See Also:
-
MAX_URI_LENGTH
public static final int MAX_URI_LENGTH- See Also:
-
-
Constructor Details
-
UserHomePageService
public UserHomePageService()
-
-
Method Details
-
saveUserHomePage
- Parameters:
username- the user who chooses his home pageuri- the URI of the chosen page- Throws:
IllegalAccessException- when the platform doesn't let users choose their home pageIllegalArgumentException- when the URI isn't a valid home page URI
-