Package com.jalios.jcms.application
Class ApplicationFetcher
java.lang.Object
com.jalios.jcms.application.ApplicationFetcher
A fetcher which query applications
- Since:
- jcms-10.0.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType 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 enumSort 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
FieldsModifier and TypeFieldDescriptionprotected String[]protected Memberprotected ApplicationFetcher.Modeprotected PagerParamsprotected ApplicationFetcher.SortModeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getCids()getMode()getText()mode(ApplicationFetcher.Mode mode) sortMode(ApplicationFetcher.SortMode sortMode)
-
Field Details
-
mode
-
sortMode
-
member
-
pager
-
cids
-
text
-
-
Constructor Details
-
ApplicationFetcher
public ApplicationFetcher()
-
-
Method Details
-
getApplications
- Returns:
- the
Applicationcollection based on given filters
-
getMode
- Returns:
- the filter
ApplicationFetcher.Mode
-
mode
- Parameters:
mode- theApplicationFetcher.Mode- Returns:
- current object
-
getSortMode
- Returns:
- the
ApplicationFetcher.SortMode
-
sortMode
- Parameters:
sortMode- theApplicationFetcher.SortMode- Returns:
- current object
-
getMember
-
member
-
getCids
-
cids
-
getText
-
text
-