public class FavoriteService extends PollenServiceSupport
serviceContext| Constructor and Description |
|---|
FavoriteService() |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, generateId, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, updatepublic List<PersonList> getFavoriteLists(UserAccount user, org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
public List<PersonList> getFavoriteLists(UserAccount user)
public PersonList getFavoriteList(UserAccount user, String favoriteListId) throws FavoriteListNotFoundException, FavoriteListNotOwnedByUserException
public List<PollAccount> getFavoriteListUsers(PersonList favoriteList, org.nuiton.topia.persistence.TopiaFilterPagerUtil.FilterPagerBean pager)
public PersonList createFavoriteList(UserAccount user, String name) throws FavoriteListAlreadyExistException, UserNotFoundException
public PersonList deleteFavoriteList(UserAccount user, PersonList favoriteList) throws FavoriteListNotFoundException, FavoriteListNotOwnedByUserException, UserNotFoundException
public void addPollAccountToFavoriteList(PersonList favoriteList, PollAccount pollAccount) throws ParticipantAlreadyFoundInListException, FavoriteListNotFoundException
public void editPollAccountToFavoriteList(PersonList favoriteList, PollAccount pollAccount) throws ParticipantAlreadyFoundInListException, FavoriteListNotFoundException, ParticipantNotFoundException
public void removePollAccountToFavoriteList(PersonList favoriteList, PollAccount pollAccount) throws ParticipantNotFoundException, FavoriteListNotFoundException, ParticipantNotFoundInListException
public List<PollAccount> importFromCsvfile(String filename, File file) throws FavoriteListImportException
FavoriteListImportExceptionpublic List<PollAccount> importFromLDAP(String url) throws FavoriteListImportException
FavoriteListImportExceptionpublic PersonList newFavoriteList()
public PollAccount newPollAccountForFavoriteList()
Copyright © 2009-2012 CodeLutin. All Rights Reserved.