org.jasig.portlet.contacts.domains.impl
Class GenericContactDomain

java.lang.Object
  extended by org.jasig.portlet.contacts.domains.impl.GenericContactDomain
All Implemented Interfaces:
ContactDomain

public class GenericContactDomain
extends Object
implements ContactDomain

Author:
Chris White

Constructor Summary
GenericContactDomain()
           
 
Method Summary
 boolean delete(Contact contact)
           
 Contact getContact(String URN)
           
 Map<String,String> getContactGroups()
           
 Set<ContactSet> getContacts()
           
 ContactSet getContacts(String setId)
           
 ContactContext getContext()
           
 boolean getHasPersist()
           
 boolean getHasPush()
           
 boolean getHasRemove()
           
 boolean getHasSearch()
           
 String getId()
           
 String getName()
           
 List<String> getSearchFilters()
           
 boolean save(Contact contact)
           
 ContactSet search(String searchText)
           
 ContactSet search(String searchText, String filter)
           
 void setContext(ContactContext context)
           
 void setDecorator(ContactDecorator decorator)
           
 void setId(String id)
           
 void setName(String name)
           
 void setPersistAdapter(PersistAdapter persist)
           
 void setPushAdapter(PushAdapter push)
           
 void setRemoveAdapter(RemoveAdapter remove)
           
 void setSearchAdapter(SearchAdapter search)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericContactDomain

public GenericContactDomain()
Method Detail

setName

public void setName(String name)
Specified by:
setName in interface ContactDomain

setId

public void setId(String id)
Specified by:
setId in interface ContactDomain

setSearchAdapter

public void setSearchAdapter(SearchAdapter search)
Specified by:
setSearchAdapter in interface ContactDomain

setPushAdapter

public void setPushAdapter(PushAdapter push)
Specified by:
setPushAdapter in interface ContactDomain

setPersistAdapter

public void setPersistAdapter(PersistAdapter persist)
Specified by:
setPersistAdapter in interface ContactDomain

setRemoveAdapter

public void setRemoveAdapter(RemoveAdapter remove)
Specified by:
setRemoveAdapter in interface ContactDomain

setContext

@Autowired
public void setContext(ContactContext context)
Specified by:
setContext in interface ContactDomain

getHasSearch

public boolean getHasSearch()
Specified by:
getHasSearch in interface ContactDomain

getHasPush

public boolean getHasPush()
Specified by:
getHasPush in interface ContactDomain

getHasPersist

public boolean getHasPersist()
Specified by:
getHasPersist in interface ContactDomain

getHasRemove

public boolean getHasRemove()
Specified by:
getHasRemove in interface ContactDomain

getName

public String getName()
Specified by:
getName in interface ContactDomain

getId

public String getId()
Specified by:
getId in interface ContactDomain

getContext

public ContactContext getContext()
Specified by:
getContext in interface ContactDomain

search

public ContactSet search(String searchText)
Specified by:
search in interface ContactDomain

search

public ContactSet search(String searchText,
                         String filter)
Specified by:
search in interface ContactDomain

getContacts

public Set<ContactSet> getContacts()
Specified by:
getContacts in interface ContactDomain

getContacts

public ContactSet getContacts(String setId)
Specified by:
getContacts in interface ContactDomain

getContact

public Contact getContact(String URN)
Specified by:
getContact in interface ContactDomain

getContactGroups

public Map<String,String> getContactGroups()
Specified by:
getContactGroups in interface ContactDomain

getSearchFilters

public List<String> getSearchFilters()
Specified by:
getSearchFilters in interface ContactDomain

save

public boolean save(Contact contact)
Specified by:
save in interface ContactDomain

delete

public boolean delete(Contact contact)
Specified by:
delete in interface ContactDomain

setDecorator

public void setDecorator(ContactDecorator decorator)
Specified by:
setDecorator in interface ContactDomain

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Jasig. All Rights Reserved.