Package org.appng.api.support
Implementations of commonly used features like internationalization, permission- and parameter-processing etc.
-
Interface Summary Interface Description HttpHeaderUtils.HttpResource A resource that has been requested by anHttpServletRequest
and eventually needs to be updated.OptionOwner OptionOwner.HitCounter<T> Counts the hits forOption
s.OptionOwner.Selector A selector decides whether or not a givenOption
should be selected. -
Class Summary Class Description ApplicationConfigProviderImpl DefaultApplicationConfigProvider
-implementation.ApplicationRequest DefaultRequest
implementation, mostly delegating method-calls to one of the internal objects.ApplicationRequest.ApplicationPath Helper class used to simplify include conditions for actions and datasources on a page.
Registered as variablePATH
, so conditions can look likeApplicationResourceHolder DefaultResources
-implementationCallableAction ACallableAction
is responsible for preparing and performing anAction
, based on a givenActionRef
which is part of aPageDefinition
'sSectionelementDef
.CallableDataSource ACallableDataSource
is responsible for preparing and performing anDatasource
, based on aDatasourceRef
.ClassWrapper Provides operations to analyze a class, similar to SpringsBeanWrapper
, except it doesn't need an instanciatable class to work on.
NOTE: The given Class does not have to be a JavaBean, meaning the presence of a getter does not imply the presence of a setter!ConfigValidationError The config validator can create a more detailed error element for found configuration errors.ConfigValidator Validates aApplicationConfigProvider
, which means it checks that each reference to a
page datasource event action parameter is valid.DatasourceInheritanceHelper This is a helper class providing some static methods to process the inheritance of datasource definitions found in a resource.DefaultPermissionProcessor DefaultPermissionProcessor
implementation.DollarParameterSupport AParameterSupport
which uses '${' as prefix and '}' as suffix.DummyPermissionProcessor APermissionProcessor
that always returnstrue
forDummyPermissionProcessor.hasPermission(String)
DummyPermissionProcessor.hasPermissions(PermissionOwner)
ElementHelper Utility class offering methods for proper initialization ofLinkpanel
s,Link
s,Navigation
/NavigationItem
s,BeanOption
s,Param
s etc.FieldProcessorImpl DefaultFieldProcessor
-implementationHashParameterSupport AParameterSupport
which uses '#{' as prefix and '}' as suffix.HttpHeaderUtils Utility-class that helps dealing with several HTTP-HeadersI18n LabelSupport This class is responsible for setting the value of aLabel
.MessageSourceChain AMessageSource
that wraps multipleMessageSource
and processes them in sequence.OptionGroupFactory Provides factory-methods for creatingOptionGroup
s.OptionImpl The default implementation forOption
OptionOwner.OptionOwnerBase OptionsBuilder<T,R extends OptionOwner> A builder forOption
s, providing a fluent API.OptionsImpl The default implementation forOptions
ParameterSupportBase BasicParameterSupport
implementation.PositionalXMLReader XML Reader creating aDocument
with line information for each node.PropertyHolder RequestFactoryBean AFactoryBean
responsible for initializing aRequest
.RequestSupportImpl DefaultRequestSupport
implementationResourceBundleMessageSource AResourceBundleMessageSource
that can retrieve the available keys.ResultServiceImpl DefaultResultService
implementationSelectionBuilder<T> A builder forSelection
s, providing a fluent API.
Example:SelectionFactory Provides factory-methods for creatingSelection
s.SiteAwareObjectInputStream SiteClassLoader SortParamSupport Supports converting aPageable
to itsString
-representation and vice versa.
The following example illustrates how this works:XmlGenerator Utility class for generating source XML (forAction
s andDatasource
) from a given list ofXmlGenerator.Entity
s.XmlGenerator.Entity Represents a domain object of a certain type with a number of propertiesXSSHelper Utility class for creatingXSSUtil
-instances.