Examples of moveFieldDown()


Examples of net.pterodactylus.sone.data.Profile.moveFieldDown()

        if (id != null) {
          Field field = profile.getFieldById(id);
          if (field == null) {
            throw new RedirectException("invalid.html");
          }
          profile.moveFieldDown(field);
          currentSone.setProfile(profile);
          throw new RedirectException("editProfile.html#profile-fields");
        }
        id = getFieldId(request, "edit-field-");
        if (id != null) {
View Full Code Here

Examples of net.pterodactylus.sone.data.Profile.moveFieldDown()

    String direction = request.getHttpRequest().getParam("direction");
    try {
      if ("up".equals(direction)) {
        profile.moveFieldUp(field);
      } else if ("down".equals(direction)) {
        profile.moveFieldDown(field);
      } else {
        return createErrorJsonObject("invalid-direction");
      }
    } catch (IllegalArgumentException iae1) {
      return createErrorJsonObject("not-possible");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.