Package de.xima.fc.gui.model.lazydata
Class LazyProjectViewListModel
- java.lang.Object
-
- de.xima.fc.gui.model.lazydata.LazyProjectViewListModel
-
- All Implemented Interfaces:
Serializable
public class LazyProjectViewListModel extends Object implements Serializable
Custom data model for lazily loading project view models- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LazyProjectViewListModel(Benutzer user, List<BenutzerGruppe> userGroups, Mandant client, Locale locale)
-
Method Summary
-
-
-
Constructor Detail
-
LazyProjectViewListModel
public LazyProjectViewListModel(Benutzer user, List<BenutzerGruppe> userGroups, Mandant client, Locale locale)
-
-
Method Detail
-
getPaginator
public de.xima.fc.gui.model.lazydata.ListPaginator<ProjectViewModel> getPaginator()
-
getTotal
public int getTotal()
-
getModels
public List<ProjectViewModel> getModels()
-
getFirst
public int getFirst()
-
getPageSize
public int getPageSize()
-
setPageSize
public void setPageSize(int pageSize)
-
getPages
public int getPages()
-
getFilterText
public String getFilterText()
-
setFilterText
public void setFilterText(String filterText)
-
getSelectedFilter
public MenuItem getSelectedFilter()
-
setSelectedFilter
public void setSelectedFilter(MenuItem selectedFilter)
-
isFilterOnline
public boolean isFilterOnline()
-
setFilterOnline
public void setFilterOnline(boolean filterOnline)
-
isFilterOffline
public boolean isFilterOffline()
-
setFilterOffline
public void setFilterOffline(boolean filterOffline)
-
isShowGroupHeaders
public boolean isShowGroupHeaders()
-
nextPage
public void nextPage()
-
previousPage
public void previousPage()
-
firstPage
public void firstPage()
-
lastPage
public void lastPage()
-
gotoPage
public void gotoPage(int page)
-
getPageIndex
public int getPageIndex()
-
getPage
public int getPage(Long projectId)
-
update
public void update()
-
updateProjectGroupNames
public org.apache.commons.lang3.tuple.Pair<Integer,Long> updateProjectGroupNames(IEntityContext ec, ProjectViewModel model, Benutzer user)
-
remove
public boolean remove(ProjectViewModel model)
-
resetFilters
public void resetFilters()
-
destroy
public void destroy()
-
-