Class AbstractBrowser<T>
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.AbstractBrowser<T>
- All Implemented Interfaces:
com.opensymphony.xwork2.Action,com.opensymphony.xwork2.interceptor.ValidationAware,com.opensymphony.xwork2.LocaleProvider,com.opensymphony.xwork2.TextProvider,com.opensymphony.xwork2.Validateable,Serializable
- Direct Known Subclasses:
BrowseApplications,SearchPicker
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionResults listObjects.protected intResults per page.protected intResults start.Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, logger, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManagerFields inherited from class com.opensymphony.xwork2.ActionSupport
containerFields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetFormattedDateTime(long time) final StringgetFormattedDateTime(Date date) intGets the next results start.intGets the previous results start.intGets the results per page.intGets the results start.voidsetResults(List<T> results) voidsetResultsPerPage(int resultsPerPage) Sets the results per page.voidsetResultsStart(int resultsStart) Sets the results start.Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, 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, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGeneratorMethods inherited from class com.opensymphony.xwork2.ActionSupport
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
-
Field Details
-
resultsStart
protected int resultsStartResults start. -
resultsPerPage
protected int resultsPerPageResults per page. -
results
Results listObjects.
-
-
Constructor Details
-
AbstractBrowser
public AbstractBrowser()
-
-
Method Details
-
getResultsStart
public int getResultsStart()Gets the results start.- Returns:
- the results start.
-
setResultsStart
public void setResultsStart(int resultsStart) Sets the results start.- Parameters:
resultsStart- the results start.
-
getNextResultsStart
public int getNextResultsStart()Gets the next results start.- Returns:
- the next results start.
-
getPreviousResultsStart
public int getPreviousResultsStart()Gets the previous results start.- Returns:
- the previous results start.
-
getResultsPerPage
public int getResultsPerPage()Gets the results per page.- Returns:
- the results per page.
-
setResultsPerPage
public void setResultsPerPage(int resultsPerPage) Sets the results per page.- Parameters:
resultsPerPage- the results per page.
-
getResults
-
setResults
-
getFormattedDateTime
-
getFormattedDateTime
-
getResultsPerPageOption
-
getActiveOption
-