com.mycompany.controller
Class ContactsController

java.lang.Object
  extended by com.mycompany.controller.AbstractController
      extended by com.mycompany.controller.ContactsController
All Implemented Interfaces:
java.io.Serializable

public class ContactsController
extends AbstractController

Controller class for contacts related functionality.

Author:
Ian Hlavats (ian@tarantulaconsulting.com)
See Also:
Serialized Form

Constructor Summary
ContactsController()
           
 
Method Summary
 java.util.List<User> findUsersByName(java.lang.String suggest)
           
 java.util.List<User> getColleagues()
           
 java.util.List<User> getFamily()
           
 java.util.List<User> getFriends()
           
 UserRelationship getRelationship()
           
 RelationshipType getRelationshipType()
           
 RelationshipType[] getRelationshipTypes()
           
 RelationshipType[] getUserTypes()
           
 void init(javax.faces.event.ComponentSystemEvent event)
           
 void newRelationship(javax.faces.event.ActionEvent event)
           
 java.lang.String saveRelationship()
           
 void setRelationship(UserRelationship relationship)
           
 void setUserService(UserService userService)
           
 void userSelected(org.primefaces.event.SelectEvent event)
           
 
Methods inherited from class com.mycompany.controller.AbstractController
setUserSession
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactsController

public ContactsController()
Method Detail

findUsersByName

public java.util.List<User> findUsersByName(java.lang.String suggest)

getColleagues

public java.util.List<User> getColleagues()

getFamily

public java.util.List<User> getFamily()

getFriends

public java.util.List<User> getFriends()

getRelationship

public UserRelationship getRelationship()

getRelationshipType

public RelationshipType getRelationshipType()

getRelationshipTypes

public RelationshipType[] getRelationshipTypes()

getUserTypes

public RelationshipType[] getUserTypes()

init

public void init(javax.faces.event.ComponentSystemEvent event)

newRelationship

public void newRelationship(javax.faces.event.ActionEvent event)

saveRelationship

public java.lang.String saveRelationship()

setUserService

public void setUserService(UserService userService)

setRelationship

public void setRelationship(UserRelationship relationship)

userSelected

public void userSelected(org.primefaces.event.SelectEvent event)