Package org.cyclos.services.users
Interface ContactService
-
- All Superinterfaces:
CRUDService<ContactDTO,ContactData,ContactDataParams>,Service
- All Known Subinterfaces:
ContactServiceLocal
- All Known Implementing Classes:
ContactServiceImpl,ContactServiceSecurity
public interface ContactService extends CRUDService<ContactDTO,ContactData,ContactDataParams>
Service for managing a user's contacts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContactSearchDatagetSearchData(UserLocatorVO owner)Returns data for searching contacts of the given owner.Page<ContactVO>search(ContactQuery query)Searches the contacts according to the given query.-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
getSearchData
ContactSearchData getSearchData(UserLocatorVO owner) throws FrameworkException
Returns data for searching contacts of the given owner. If no owner is given, it is assumed the logged user.- Throws:
FrameworkException
-
search
Page<ContactVO> search(ContactQuery query) throws FrameworkException
Searches the contacts according to the given query. If the query has no owner it is assumed the logged user.- Throws:
FrameworkException
-
-