Package com.jalios.jcms.application
Class ApplicationFetcher
- java.lang.Object
-
- com.jalios.jcms.application.ApplicationFetcher
-
public class ApplicationFetcher extends java.lang.ObjectA fetcher which query applications- Since:
- jcms-10.0.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationFetcher.ModeType mode to filter application resultApplicationFetcher.Mode.ALLAll applicationsApplicationFetcher.Mode.MY_DEPARTMENTOnly applications of my department (Available if department have been setup)ApplicationFetcher.Mode.INSTALLEDInstalled applications by given userApplicationFetcher.Mode.SUGGESTIONSSuggested applications for given userstatic classApplicationFetcher.SortModeSort mode that can be used to sort your applicationsApplicationFetcher.SortMode.POPULARITYPopularity based on number of installationsApplicationFetcher.SortMode.TITLETitle of the applicationApplicationFetcher.SortMode.PDATEPublish date of the application
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]cidsprotected Membermemberprotected ApplicationFetcher.Modemodeprotected PagerParamspagerprotected ApplicationFetcher.SortModesortModeprotected java.lang.Stringtext
-
Constructor Summary
Constructors Constructor Description ApplicationFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationFetchercids(java.lang.String[] cids)java.util.Collection<Application>getApplications()java.lang.String[]getCids()MembergetMember()ApplicationFetcher.ModegetMode()ApplicationFetcher.SortModegetSortMode()java.lang.StringgetText()ApplicationFetchermember(Member member)ApplicationFetchermode(ApplicationFetcher.Mode mode)ApplicationFetchersortMode(ApplicationFetcher.SortMode sortMode)ApplicationFetchertext(java.lang.String text)
-
-
-
Field Detail
-
mode
protected ApplicationFetcher.Mode mode
-
sortMode
protected ApplicationFetcher.SortMode sortMode
-
member
protected Member member
-
pager
protected PagerParams pager
-
cids
protected java.lang.String[] cids
-
text
protected java.lang.String text
-
-
Method Detail
-
getApplications
public java.util.Collection<Application> getApplications()
- Returns:
- the
Applicationcollection based on given filters
-
getMode
public ApplicationFetcher.Mode getMode()
- Returns:
- the filter
ApplicationFetcher.Mode
-
mode
public ApplicationFetcher mode(ApplicationFetcher.Mode mode)
- Parameters:
mode- theApplicationFetcher.Mode- Returns:
- current object
-
getSortMode
public ApplicationFetcher.SortMode getSortMode()
- Returns:
- the
ApplicationFetcher.SortMode
-
sortMode
public ApplicationFetcher sortMode(ApplicationFetcher.SortMode sortMode)
- Parameters:
sortMode- theApplicationFetcher.SortMode- Returns:
- current object
-
getMember
public Member getMember()
-
member
public ApplicationFetcher member(Member member)
-
getCids
public java.lang.String[] getCids()
-
cids
public ApplicationFetcher cids(java.lang.String[] cids)
-
getText
public java.lang.String getText()
-
text
public ApplicationFetcher text(java.lang.String text)
-
-