Package org.appng.api
Base package for the appNG API
-
Interface Summary Interface Description ActionProvider<T> AnActionProvider
usually performs a CRUD-action on a domain object.ApplicationConfigProvider Provides the basic configuration of aApplication
, which is theApplicationInfo
parsed from theapplication-info.xml
and all definedPageDefinition
s,Event
s,Action
s,Datasource
s and also theApplicationRootConfig
.ApplicationController Provides methods to startup and shutdown aApplication
.AttachmentWebservice Enhancement of aWebservice
which is used to provide a file as an attachment.DataProvider AnDataProvider
usually retrieves some data from the persistence layer and returns it as aDataContainer
.Environment TheEnvironment
is able to set, read and remove attributes of a certainScope
.FieldConverter AFieldConverter
is responsible for converting a property of an bindclass-instance to itsString
-representation inside of aDatafield
(seeFieldConverter.setString(FieldWrapper)
) a parameter from aRequestContainer
to its object-representation (seeFieldConverter.setObject(FieldWrapper, RequestContainer)
)FieldProcessor AFieldProcessor
keeps track of theMetaData
andLinkpanel
s defined in theDataConfig
of aDatasource
.FormProcessProvider When using the appNG-Taglibrary to define a HTLM-form inside a JSP, aFormProcessProvider
is used to handle the submitted data.FormValidator Interface that can be implemented by anActionProvider
or the formBean that is used by anActionProvider
.GlobalTaglet AGlobalTaglet
is a specialized kind of aTaglet
.GlobalXMLTaglet AGlobalXMLTaglet
is a specialized kind of aXMLTaglet
.MessageParam AMessageParam
provides a message key and optionally some message arguments which can be used when formatting a message withMessageFormat.format(String, Object...)
.Option A single option which was created from aBeanOption
of aBean
.Options PageProcessor Interface that optionally can be implemented by aTaglet
GlobalTaglet
XMLTaglet
GlobalXMLTaglet
IfPageProcessor.processPage()
returnsfalse
, the rest of the JSP-page will be skipped.ParameterSupport Supports finding and replacing parameters inside aString
.Path PermissionProcessor Checks thePermission
s owned by aPermissionOwner
.Request ARequest
is the framework-internal representation of aHttpServletRequest
, wrapping the afore mentioned and adding framework-specific methods.RequestSupport Provides commonly used methods for supporting request-processing and filling bindobjects.ResultService ScheduledJob AScheduledJob
is a (periodically or manually triggered) task that can be defined by anApplication
.SoapService Taglet ATaglet
can be used inside a JSP-Page to embed (static or dynamic) content that is retrieved from aApplication
.
ATaglet
is used as follows (method
refers to bean name of the implementing class):ValidationProvider Provides some validation-related methods.Webservice AWebservice
usually returns some text-based data like XML, JSON or even plain text, which can directly be displayed/processed by the client.XMLTaglet Similar to aTaglet
, aXMLTaglet
can be used inside a JSP-Page to embed (static or dynamic) content that is retrieved from aApplication
. -
Class Summary Class Description DataContainer A container for the data returned by aDataProvider
.FieldConverter.DatafieldOwner FieldConverter.FieldDefOwner FieldWrapper AFieldWrapper
extends aFieldDef
and adds the ability to read and set the field's string-representation (FieldWrapper.getStringValue()
/FieldWrapper.setStringValue(String)
) and also the object-representation (FieldWrapper.getObject()
/FieldWrapper.setObject(Object)
).FormDataBinder<T> ADataBinder
that uses aForm
to bind its values to the target object.PathInfo DefaultPath
-implementationPermissionOwner This is a container for a set ofPermission
s, making it easier for aPermissionProcessor
to check those.Platform Utility class providing platform-wide used constants.RequestDataBinder<T> ADataBinder
that uses aRequest
to bind its values to the target object.
This class is especially useful inside aWebservice
, as shown below:RequestUtil ScheduledJobResult AScheduledJobResult
can be provided by aScheduledJob
.Session Utility-class providing constants used for accessing anSession.Environment
-attribute withScope.SESSION
.Session.Environment SiteProperties Utility-class providing constants for the names of aSite
'sProperties
.SoapClient A simple SOAP-client for JAXB-based webservices.ValidationMessages Utility class providing constants for the message-keys used in validation-annotations.XPathProcessor -
Enum Summary Enum Description FileUpload.Unit the unit to use for validating uploads by their sizeScheduledJobResult.ExecutionResult simple enum reflecting the results aScheduledJob
execution can have.Scope Enum type defining the possible scopes of anEnvironment
-attribute.VHostMode Enum type for the host-configuration of appNG. -
Exception Summary Exception Description ApplicationException ARuntimeException
to be used inside business logic.BusinessException AnException
to be used inside business logic.InvalidConfigurationException AnInvalidConfigurationException
is a checked exception thrown by the platform whenever something goes wrong duringApplication
-execution.
Some examples: aApplication
could not be found aResource
could not be found there was an error while reading aResource
, e.g.ProcessingException A checked exception that is thrown byCallableAction
andCallableDataSource
, to indicate an error occurred while assembling thePageReference
. -
Annotation Types Summary Annotation Type Description FileUpload Used to validate the size, filetype(s) and amount of a (Collection
) of)FormUpload
(s).NotBlank Checks whether the annotated element is not null and not blank by combining@
NotNull
and@
Size
(min = 1)
.