Package org.openblend.fejstbuk.domain

Examples of org.openblend.fejstbuk.domain.Status


        }
        posts.add(linked);
    }

    public Status addStatus(User owner, String status) {
        Status st = new Status();
        st.setStatus(status);
        st.setUser(owner);
        st.setTimestamp(new Date());
        em.persist(st);
        addLinked(owner, st);
        return st;
    }
View Full Code Here


    public void setText(String text) {
        this.text = text;
    }

    public void post() {
        Status s = new Status();
        s.setTimestamp(new Date());
        s.setStatus(text);
        s.setUser(em.find(User.class, user.getId()));
        em.persist(s);
    }
View Full Code Here

TOP

Related Classes of org.openblend.fejstbuk.domain.Status

Copyright © 2018 www.massapicom. 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.