PranilDahal / Eagle-Post

Eagle-Post: Social Media Software Project - ACM Cal State LA
11 stars 2 forks source link

HumanUserFactory Methods (first half) #15

Closed calstatelaacm closed 5 years ago

calstatelaacm commented 6 years ago

Complete the methods inside HumanUserFactory.java You will be working together with #18 You will be doing the last 3 methods:

    /**
     * @param username
     * @return a HumanUser object with the specific username
     */
    public HumanUser getByUsername(String username) {
        // TODO Auto-generated method stub
        return null;
    }

    /**
     * @param username
     * @return true/false depending on whether there exists a human account with that username
     */
    public boolean existsByUsername(String username) {
        // TODO Auto-generated method stub
        return true;
    }

    /**
     * @param email
     * @return true/false based on whether there exists a human account with that email
     */
    public boolean existsByEmail(String email) {
        // TODO Auto-generated method stub
        return true;
    }
PranilDahal commented 5 years ago

Implemented.