Class MySQLBackEnd

  • All Implemented Interfaces:
    BackEnd

    public class MySQLBackEnd
    extends java.lang.Object
    implements BackEnd
    • Constructor Detail

      • MySQLBackEnd

        public MySQLBackEnd()
    • Method Detail

      • load

        public void load()
        Specified by:
        load in interface BackEnd
      • loadUsers

        public java.util.List<User> loadUsers()
        Specified by:
        loadUsers in interface BackEnd
      • loadGroup

        public Group loadGroup​(java.lang.String group)
        Specified by:
        loadGroup in interface BackEnd
      • loadUser

        public User loadUser​(java.lang.String user)
        Specified by:
        loadUser in interface BackEnd
      • loadUser

        public User loadUser​(java.util.UUID user)
        Specified by:
        loadUser in interface BackEnd
      • saveVersion

        public void saveVersion​(int version,
                                boolean savetodisk)
        Specified by:
        saveVersion in interface BackEnd
      • getRegisteredUsers

        public java.util.List<java.lang.String> getRegisteredUsers()
        Specified by:
        getRegisteredUsers in interface BackEnd
      • getGroupUsers

        public java.util.List<java.lang.String> getGroupUsers​(Group group)
        Specified by:
        getGroupUsers in interface BackEnd
      • saveUser

        public void saveUser​(User user,
                             boolean savetodisk)
        Specified by:
        saveUser in interface BackEnd
      • saveGroup

        public void saveGroup​(Group group,
                              boolean savetodisk)
        Specified by:
        saveGroup in interface BackEnd
      • saveUserGroups

        public void saveUserGroups​(User user,
                                   java.lang.String server,
                                   java.lang.String world)
        Specified by:
        saveUserGroups in interface BackEnd
      • saveUserTimedGroups

        public void saveUserTimedGroups​(User user,
                                        java.lang.String server,
                                        java.lang.String world)
        Specified by:
        saveUserTimedGroups in interface BackEnd
      • saveUserPerms

        public void saveUserPerms​(User user,
                                  java.lang.String server,
                                  java.lang.String world)
        Specified by:
        saveUserPerms in interface BackEnd
      • saveUserTimedPerms

        public void saveUserTimedPerms​(User user,
                                       java.lang.String server,
                                       java.lang.String world)
        Specified by:
        saveUserTimedPerms in interface BackEnd
      • saveUserDisplay

        public void saveUserDisplay​(User user,
                                    java.lang.String server,
                                    java.lang.String world)
        Specified by:
        saveUserDisplay in interface BackEnd
      • saveUserPrefix

        public void saveUserPrefix​(User user,
                                   java.lang.String server,
                                   java.lang.String world)
        Specified by:
        saveUserPrefix in interface BackEnd
      • saveUserSuffix

        public void saveUserSuffix​(User user,
                                   java.lang.String server,
                                   java.lang.String world)
        Specified by:
        saveUserSuffix in interface BackEnd
      • saveGroupPerms

        public void saveGroupPerms​(Group group,
                                   java.lang.String server,
                                   java.lang.String world)
        Specified by:
        saveGroupPerms in interface BackEnd
      • saveGroupTimedPerms

        public void saveGroupTimedPerms​(Group group,
                                        java.lang.String server,
                                        java.lang.String world)
        Specified by:
        saveGroupTimedPerms in interface BackEnd
      • saveGroupInheritances

        public void saveGroupInheritances​(Group group,
                                          java.lang.String server,
                                          java.lang.String world)
        Specified by:
        saveGroupInheritances in interface BackEnd
      • saveGroupTimedInheritances

        public void saveGroupTimedInheritances​(Group group,
                                               java.lang.String server,
                                               java.lang.String world)
        Specified by:
        saveGroupTimedInheritances in interface BackEnd
      • saveGroupDisplay

        public void saveGroupDisplay​(Group group,
                                     java.lang.String server,
                                     java.lang.String world)
        Specified by:
        saveGroupDisplay in interface BackEnd
      • saveGroupPrefix

        public void saveGroupPrefix​(Group group,
                                    java.lang.String server,
                                    java.lang.String world)
        Specified by:
        saveGroupPrefix in interface BackEnd
      • saveGroupSuffix

        public void saveGroupSuffix​(Group group,
                                    java.lang.String server,
                                    java.lang.String world)
        Specified by:
        saveGroupSuffix in interface BackEnd
      • format

        public void format​(java.util.List<Group> groups,
                           java.util.List<User> users,
                           int version)
        Specified by:
        format in interface BackEnd
      • cleanup

        public int cleanup​(java.util.List<Group> groups,
                           java.util.List<User> users,
                           int version)
        Specified by:
        cleanup in interface BackEnd