26 lines
765 B
Java
26 lines
765 B
Java
package org.gcube.portal.databook.shared;
|
|
|
|
/**
|
|
* Enum class that specify the possible actions to take when the GCubeSocialNetworking.SHOW_STATISTICS_ACTION_OID parameter
|
|
* is found in the page url
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
|
*/
|
|
public enum ShowUserStatisticAction {
|
|
|
|
POSTS_MADE_BY_USER("Your recent posts"),
|
|
LIKES_MADE_BY_USER("Your recent likes done"),
|
|
COMMENTS_MADE_BY_USER("Your recent replies done"),
|
|
LIKES_GOT_BY_USER("Your recent likes got"),
|
|
COMMENTS_GOT_BY_USER("Your recent replies got");
|
|
|
|
private final String actionHumanFriendly;
|
|
|
|
private ShowUserStatisticAction(String s) {
|
|
actionHumanFriendly = s;
|
|
}
|
|
|
|
public String getHumanFriendlyAction() {
|
|
return this.actionHumanFriendly;
|
|
}
|
|
}
|