Package models

Examples of models.Member.lookedBy()


        // Non activity for member
        assertNull(Activity.find("select a from Activity a where a.member = ?", member).first());

        // Our member looked at an other member profile
        final Member other = createMember("other");
        other.lookedBy(member);
       
        // One activity for member
        Activity a = Activity.find("select a from Activity a where a.member = ?", member).first();
        assertActivity(a);
        assertTrue(a instanceof LookProfileActivity);
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.