public abstract class AbstractBrowser<T> extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected List<T> |
results
Results listObjects.
|
protected int |
resultsPerPage
Results per page.
|
protected int |
resultsStart
Results start.
|
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, logger, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
AbstractBrowser() |
Modifier and Type | Method and Description |
---|---|
List<PairType> |
getActiveOption() |
String |
getFormattedDateTime(Date date) |
String |
getFormattedDateTime(long time) |
int |
getNextResultsStart()
Gets the next results start.
|
int |
getPreviousResultsStart()
Gets the previous results start.
|
List<T> |
getResults() |
int |
getResultsPerPage()
Gets the results per page.
|
List<Integer> |
getResultsPerPageOption() |
int |
getResultsStart()
Gets the results start.
|
void |
setResults(List<T> results) |
void |
setResultsPerPage(int resultsPerPage)
Sets the results per page.
|
void |
setResultsStart(int resultsStart)
Sets the results start.
|
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, execute, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
protected int resultsStart
protected int resultsPerPage
public int getResultsStart()
public void setResultsStart(int resultsStart)
resultsStart
- the results start.public int getNextResultsStart()
public int getPreviousResultsStart()
public int getResultsPerPage()
public void setResultsPerPage(int resultsPerPage)
resultsPerPage
- the results per page.public final String getFormattedDateTime(long time)
Copyright © 2020 Atlassian. All rights reserved.