Beispiel #1
0
 @Override
 public String getButtons(Person person, String URI) {
   return JSPHelper.getButton(
           HttpMethodType.POST,
           "Confirm friend request",
           "confirmFriendRequest",
           String.valueOf(person.getPersonId()),
           "oldURI",
           URI)
       + "\n"
       + JSPHelper.getButton(
           HttpMethodType.POST,
           "Keep as follower",
           "keepAsFollower",
           String.valueOf(person.getPersonId()),
           "oldURI",
           URI);
 }
Beispiel #2
0
 @Override
 public String getButtons(Person person, String URI) {
   return JSPHelper.getButton(
           HttpMethodType.POST,
           "Send Friend Request",
           "friendRequest",
           String.valueOf(person.getPersonId()),
           "oldURI",
           URI)
       + "\n"
       + JSPHelper.getButton(
           HttpMethodType.POST,
           "Follow",
           "follow",
           String.valueOf(person.getPersonId()),
           "oldURI",
           URI);
 }
Beispiel #3
0
 @Override
 public String getButtons(Person person, String URI) {
   return JSPHelper.getButton(
       HttpMethodType.POST,
       "Cancel friend request",
       "cancelFriendRequest",
       String.valueOf(person.getPersonId()),
       "oldURI",
       URI);
 }
Beispiel #4
0
 @Override
 public String getButtons(Person person, String URI) {
   return JSPHelper.getButton(
       HttpMethodType.POST,
       "Keep as follower",
       "keepAsFollower",
       String.valueOf(person.getPersonId()),
       "oldURI",
       URI);
 }
Beispiel #5
0
 @Override
 public String getButtons(Person person, String URI) {
   return JSPHelper.getButton(
       HttpMethodType.POST,
       "Unban",
       "unban",
       String.valueOf(person.getPersonId()),
       "oldURI",
       URI);
 }