public class ApplicationFetcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationFetcher.Mode
Type mode to filter application result
ApplicationFetcher.Mode.ALL All applications
ApplicationFetcher.Mode.MY_DEPARTMENT Only applications of my department (Available if department have been setup)
ApplicationFetcher.Mode.INSTALLED Installed applications by given user
ApplicationFetcher.Mode.SUGGESTIONS Suggested applications for given user
|
static class |
ApplicationFetcher.SortMode
Sort mode that can be used to sort your applications
ApplicationFetcher.SortMode.POPULARITY Popularity based on number of installations
ApplicationFetcher.SortMode.TITLE Title of the application
ApplicationFetcher.SortMode.PDATE Publish date of the application
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
cids |
protected Member |
member |
protected ApplicationFetcher.Mode |
mode |
protected PagerParams |
pager |
protected ApplicationFetcher.SortMode |
sortMode |
protected java.lang.String |
text |
Constructor and Description |
---|
ApplicationFetcher() |
Modifier and Type | Method and Description |
---|---|
ApplicationFetcher |
cids(java.lang.String[] cids) |
java.util.Collection<Application> |
getApplications() |
java.lang.String[] |
getCids() |
Member |
getMember() |
ApplicationFetcher.Mode |
getMode() |
ApplicationFetcher.SortMode |
getSortMode() |
java.lang.String |
getText() |
ApplicationFetcher |
member(Member member) |
ApplicationFetcher |
mode(ApplicationFetcher.Mode mode) |
ApplicationFetcher |
sortMode(ApplicationFetcher.SortMode sortMode) |
ApplicationFetcher |
text(java.lang.String text) |
protected ApplicationFetcher.Mode mode
protected ApplicationFetcher.SortMode sortMode
protected Member member
protected PagerParams pager
protected java.lang.String[] cids
protected java.lang.String text
public java.util.Collection<Application> getApplications()
Application
collection based on given filterspublic ApplicationFetcher.Mode getMode()
ApplicationFetcher.Mode
public ApplicationFetcher mode(ApplicationFetcher.Mode mode)
mode
- the ApplicationFetcher.Mode
public ApplicationFetcher.SortMode getSortMode()
ApplicationFetcher.SortMode
public ApplicationFetcher sortMode(ApplicationFetcher.SortMode sortMode)
sortMode
- the ApplicationFetcher.SortMode
public Member getMember()
public ApplicationFetcher member(Member member)
public java.lang.String[] getCids()
public ApplicationFetcher cids(java.lang.String[] cids)
public java.lang.String getText()
public ApplicationFetcher text(java.lang.String text)
Copyright © 2001-2019 Jalios SA. All Rights Reserved.