public class FavoriteService extends PollenServiceSupport
serviceContext
Constructor and Description |
---|
FavoriteService() |
Modifier and Type | Method and Description |
---|---|
void |
addPollAccountToFavoriteList(PersonList favoriteList,
PollAccount pollAccount) |
PersonList |
createFavoriteList(UserAccount user,
String name) |
PersonList |
deleteFavoriteList(UserAccount user,
PersonList favoriteList) |
void |
editPollAccountToFavoriteList(PersonList favoriteList,
PollAccount pollAccount) |
PersonList |
getFavoriteList(UserAccount user,
String favoriteListId) |
List<PersonList> |
getFavoriteLists(UserAccount user) |
List<PersonList> |
getFavoriteLists(UserAccount user,
org.nuiton.topia.persistence.pager.TopiaPagerBean pager) |
List<PollAccount> |
getFavoriteListUsers(PersonList favoriteList,
org.nuiton.topia.persistence.pager.TopiaPagerBean pager) |
List<PollAccount> |
importFromCsvfile(String filename,
File file) |
List<PollAccount> |
importFromLDAP(String url) |
PersonList |
newFavoriteList() |
PollAccount |
newPollAccountForFavoriteList() |
void |
removePollAccountToFavoriteList(PersonList favoriteList,
PollAccount pollAccount) |
commitTransaction, create, createWithProperties, decorateDate, decorateDateTime, delete, flushTransaction, getConfiguration, getDAO, getDatePattern, getDateTimePattern, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, update
public List<PersonList> getFavoriteLists(UserAccount user, org.nuiton.topia.persistence.pager.TopiaPagerBean 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.pager.TopiaPagerBean 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
FavoriteListImportException
public List<PollAccount> importFromLDAP(String url) throws FavoriteListImportException
FavoriteListImportException
public PersonList newFavoriteList()
public PollAccount newPollAccountForFavoriteList()
Copyright © 2009–2014 CodeLutin. All rights reserved.