Uses of Interface
org.appng.api.model.Site
-
Packages that use Site Package Description org.appng.api Base package for the appNG APIorg.appng.api.config org.appng.api.messaging org.appng.api.model Provides an interface-based view to the domain model of appNG and some very basic interfaces.org.appng.api.support Implementations of commonly used features like internationalization, permission- and parameter-processing etc.org.appng.api.support.environment Responsible for implementingEnvironment
.org.appng.appngizer.model org.appng.camunda.bpm org.appng.cli.commands.heartbeat org.appng.core.controller Contains the essential types for handlingServletRequest
s andHttpSession
s.org.appng.core.controller.filter Contains the Servlet-Filter
s used by appNG.org.appng.core.controller.handler Contains the differentRequestHandler
-implementationsorg.appng.core.controller.messaging org.appng.core.domain The persistent domain objects.org.appng.core.model The non-persistent domain model types.org.appng.core.repository Persistence and Database related stuff, mostlySearchRepository
-specializations.org.appng.core.repository.config Types implementing the database connection pooling.org.appng.core.service The service layer.org.appng.search Base package for the search componentorg.appng.search.indexer Types used to provide indexing functionalityorg.appng.search.searcher Types used to provide search functionalityorg.appng.taglib Contains the appNG JSPTag
sorg.appng.taglib.search Search-relatedTag
sorg.appng.testsupport Test-related types -
-
Uses of Site in org.appng.api
Methods in org.appng.api that return Site Modifier and Type Method Description Site
InvalidConfigurationException. getSite()
Returns theSite
where the error occurred, if present.static Site
RequestUtil. getSite(Environment env, javax.servlet.ServletRequest servletRequest)
Retrieves aSite
by its name.static Site
RequestUtil. getSiteByName(Environment env, String name)
Retrieves aSite
by its name.static Site
RequestUtil. waitForSite(Environment env, String name)
Retrieves aSite
by its name, waiting up toPlatform.Property#MAX_WAIT_TIME
milliseconds until it's state isSiteState#STARTED
.Methods in org.appng.api with parameters of type Site Modifier and Type Method Description boolean
ApplicationController. addSite(Site site, Application application, Environment environment)
This method is called immediately after adding aApplication
from aSite
, which has not been reloaded at this point.void
ScheduledJob. execute(Site site, Application application)
This method actually executes the job.DataContainer
DataProvider. getData(Site site, Application application, Environment environment, Options options, Request request, FieldProcessor fieldProcessor)
Retrieves some data from the application, wrapped in aDataContainer
.static PathInfo
RequestUtil. getPathInfo(Environment env, Site site, String servletPath)
Creates and returns aPathInfo
-object based upon the given parameters.void
FormProcessProvider. onFormSuccess(Environment environment, Site site, Application application, Writer writer, Form form, Map<String,Object> properties)
This method is being called after a Form has been successfully submitted.void
ActionProvider. perform(Site site, Application application, Environment environment, Options options, Request request, T formBean, FieldProcessor fieldProcessor)
Performs an action on the givenformBean
byte[]
Webservice. processRequest(Site site, Application application, Environment environment, Request request)
Processes the currentRequest
and return some data.String
GlobalTaglet. processTaglet(Site callingSite, Site executingSite, Application application, Request request, Map<String,String> tagletAttributes)
Executes theTaglet
and returns aString
to be embedded at the calling JSP-page.DataContainer
GlobalXMLTaglet. processTaglet(Site callingSite, Site executingSite, Application application, Request request, Map<String,String> tagletAttributes)
Executes theGlobalTaglet
and returns aString
to be embedded at the calling JSP-page.String
Taglet. processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)
Executes theTaglet
and returns aString
to be embedded at the calling JSP-page.DataContainer
XMLTaglet. processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)
Executes theTaglet
and returns aString
to be embedded at the calling JSP-page.boolean
ApplicationController. removeSite(Site site, Application application, Environment environment)
This method is called immediately after removing aApplication
from aSite
, which has not been reloaded at this point.void
SoapService. setSite(Site site)
Sets theSite
to use when processing the requestboolean
ApplicationController. shutdown(Site site, Application application, Environment environment)
This method is called when aSite
is being shutdown.boolean
ApplicationController. start(Site site, Application application, Environment environment)
This method is called when aSite
is being (re)loaded.void
FormValidator. validate(Site site, Application application, Environment environment, Options options, Request request, FieldProcessor fieldProcessor)
This method validates the givenRequest
and eventually adds someMessage
s to theFieldProcessor
using one of itsaddErrorMessage()
-methods.Constructors in org.appng.api with parameters of type Site Constructor Description InvalidConfigurationException(Site site, String applicationName, String message)
Create a newInvalidConfigurationException
. -
Uses of Site in org.appng.api.config
Methods in org.appng.api.config with parameters of type Site Modifier and Type Method Description RestConfig.SiteAwareHandlerMethodArgumentResolver
RestConfig. siteAwareHandlerMethodArgumentResolver(Site site, Application application, Environment environment)
-
Uses of Site in org.appng.api.messaging
Methods in org.appng.api.messaging that return Site Modifier and Type Method Description Site
Serializer. getSite(String siteName)
Returns theSite
with the given nameMethods in org.appng.api.messaging with parameters of type Site Modifier and Type Method Description void
EventHandler. onEvent(E event, Environment environment, Site site)
Handles the givenEvent
, usually by calling it'sperform
-method.abstract void
Event. perform(Environment environment, Site site)
Performs the event -
Uses of Site in org.appng.api.model
Methods in org.appng.api.model with parameters of type Site Modifier and Type Method Description String
Application. getSessionParamKey(Site site)
Returns the key to retrieve the session-parameters for thisApplication
within the givenSite
from anEnvironment
.Map<String,String>
Application. getSessionParams(Site site, Environment environment)
Retrieves the session-parameters for for thisApplication
within the givenSite
from the givenEnvironment
. -
Uses of Site in org.appng.api.support
Methods in org.appng.api.support that return Site Modifier and Type Method Description Site
SiteAwareObjectInputStream. getSite(String siteName)
Retrieves theorg.appng.api.model.Site
with the given nameConstructors in org.appng.api.support with parameters of type Site Constructor Description CallableAction(Site site, Application application, ApplicationRequest applicationRequest, ActionRef actionRef)
Creates a newCallableAction
and also determines the return values forCallableAction.doInclude()
CallableAction.doExecute()
CallableAction.getOnSuccess()
, based onPermissions
andCondition
s.CallableAction(Site site, ApplicationRequest applicationRequest, ElementHelper elementHelper)
CallableDataSource(Site site, Application application, ApplicationRequest applicationRequest, ParameterSupport parameterSupport, DatasourceRef datasourceRef)
Creates a newCallableDataSource
and also determines the return value forCallableDataSource.doInclude()
, based onPermissions
andCondition
s.DefaultPermissionProcessor(Subject subject, Site site, Application application)
Creates a new DefaultPermissionProcessor for the givenSubject
.DummyPermissionProcessor(Subject subject, Site site, Application application)
ElementHelper(Site site, Application application)
ElementHelper(Site site, Application application, ExpressionEvaluator expressionEvaluator)
-
Uses of Site in org.appng.api.support.environment
Methods in org.appng.api.support.environment with parameters of type Site Modifier and Type Method Description void
DefaultEnvironment. clearSiteScope(Site site)
Clears the site-scoped attributes for the givenSite
. -
Uses of Site in org.appng.appngizer.model
Methods in org.appng.appngizer.model with parameters of type Site Modifier and Type Method Description static Property
Property. fromDomain(Property property, Site site, Application application)
-
Uses of Site in org.appng.camunda.bpm
Methods in org.appng.camunda.bpm with parameters of type Site Modifier and Type Method Description void
TaskWrapper. validate(Site site, Application application, Environment environment, Options options, Request request, FieldProcessor fp, org.camunda.bpm.engine.form.TaskFormData taskFormData, String requiredMessage)
Validates thisTaskWrapper
. -
Uses of Site in org.appng.cli.commands.heartbeat
Methods in org.appng.cli.commands.heartbeat with parameters of type Site Modifier and Type Method Description void
HeartBeat.HeartBeatEvent. perform(Environment environment, Site site)
-
Uses of Site in org.appng.core.controller
Methods in org.appng.core.controller with parameters of type Site Modifier and Type Method Description protected void
SessionListener. setDiagnosticContext(Environment env, javax.servlet.http.HttpServletRequest httpServletRequest, Site site)
protected void
SessionListener. setSecureFlag(javax.servlet.http.HttpServletRequest httpServletRequest, Site site)
Constructors in org.appng.core.controller with parameters of type Site Constructor Description CachedResponse(String id, Site site, javax.servlet.http.HttpServletRequest request, int status, String contentType, byte[] data, org.springframework.http.HttpHeaders headers, int timeToLive)
RepositoryWatcher(Site site, String jspExtension, String ruleSourceSuffix)
-
Uses of Site in org.appng.core.controller.filter
Methods in org.appng.core.controller.filter with parameters of type Site Modifier and Type Method Description protected CachedResponse
PageCacheFilter. getCachedResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Site site, javax.cache.Cache<String,CachedResponse> cache, javax.cache.expiry.ExpiryPolicy expiryPolicy)
protected CachedResponse
PageCacheFilter. handleCaching(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Site site, javax.servlet.FilterChain chain, javax.cache.Cache<String,CachedResponse> cache, javax.cache.expiry.ExpiryPolicy expiryPolicy)
protected CachedResponse
PageCacheFilter. performRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Site site, javax.cache.expiry.ExpiryPolicy expiryPolicy)
-
Uses of Site in org.appng.core.controller.handler
Methods in org.appng.core.controller.handler with parameters of type Site Modifier and Type Method Description protected void
ServiceRequestHandler. callWebservice(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, ApplicationRequest applicationRequest, Environment env, Site site, ApplicationProvider application, String webserviceName)
void
ErrorPageHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment env, Site site, PathInfo pathInfo)
void
GuiHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo)
void
JspHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo)
void
MonitoringHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment env, Site site, PathInfo pathInfo)
void
RequestHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo)
Handles the givenHttpServletRequest
,void
ServiceRequestHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo path)
void
StaticContentHandler. handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, Environment environment, Site site, PathInfo pathInfo)
protected void
ServiceRequestHandler. handleSoap(Site site, AccessibleApplication application, Environment environment, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
-
Uses of Site in org.appng.core.controller.messaging
Methods in org.appng.core.controller.messaging with parameters of type Site Modifier and Type Method Description void
NodeEvent. perform(Environment environment, Site site)
void
ReloadSiteEvent. perform(Environment environment, Site site)
void
ReloadTemplateEvent. perform(Environment environment, Site site)
void
RequestNodeState. perform(Environment environment, Site site)
void
SiteDeletedEvent. perform(Environment environment, Site site)
void
SiteStateEvent. perform(Environment environment, Site site)
void
StopSiteEvent. perform(Environment environment, Site site)
-
Uses of Site in org.appng.core.domain
Classes in org.appng.core.domain that implement Site Modifier and Type Class Description class
SiteImpl
DefaultSite
-implementationMethods in org.appng.core.domain that return Site Modifier and Type Method Description Site
DatabaseConnection. getSite()
Site
SiteApplication. getSite()
Methods in org.appng.core.domain that return types with arguments of type Site Modifier and Type Method Description Set<Site>
SiteApplication. getGrantedSites()
Methods in org.appng.core.domain with parameters of type Site Modifier and Type Method Description String
ApplicationImpl. getSessionParamKey(Site site)
Map<String,String>
ApplicationImpl. getSessionParams(Site site, Environment environment)
void
DatabaseConnection. setSite(Site site)
void
SiteApplication. setSite(Site site)
Method parameters in org.appng.core.domain with type arguments of type Site Modifier and Type Method Description void
SiteApplication. setGrantedSites(Set<Site> grantedSites)
Constructors in org.appng.core.domain with parameters of type Site Constructor Description SiteApplication(Site site, Application application)
-
Uses of Site in org.appng.core.model
Methods in org.appng.core.model that return Site Modifier and Type Method Description Site
ApplicationContext. getSite()
Returns theSite
this context belongs to, only available if this context belongs to a core-Application
.Site
ApplicationProvider. getSite()
Methods in org.appng.core.model with parameters of type Site Modifier and Type Method Description void
CacheProvider. clearCache(Site site)
Clears both the platform cache and the application cache for the given site.void
CacheProvider. clearCache(Site site, String application)
Clears both the platform cache and the application cache for the specified application of the specified site.static void
PlatformTransformer. clearCache(Site site)
Clears the internal template-cache, which must be done if aSite
is being reloaded.protected Authentication
AbstractRequestProcessor. determineActiveAuthentication(Site site, Authentications authentications)
protected ApplicationProvider
AbstractRequestProcessor. getApplicationProvider(Site site)
String
ApplicationProvider. getSessionParamKey(Site site)
Map<String,String>
ApplicationProvider. getSessionParams(Site site, Environment environment)
void
ApplicationCacheManager. initialize(Site site, Application application, org.springframework.cache.CacheManager delegate)
Platform
AbstractRequestProcessor. processPlatform(Site applicationSite)
Platform
RequestProcessor. processPlatform(Site site)
Processes the request, but without applying the template.Platform
TemplateProcessor. processPlatform(Site site)
Processes the request, but without applying the template.String
PlatformProcessor. processWithTemplate(Site applicationSite, File debugRootFolder)
String
RequestProcessor. processWithTemplate(Site site, File debugRootFolder)
Processes the request, including the processing of the template.String
TemplateProcessor. processWithTemplate(Site site)
Processes the request, including the processing of the template.String
ThymeleafProcessor. processWithTemplate(Site applicationSite, File debugRootFolder)
Constructors in org.appng.core.model with parameters of type Site Constructor Description ApplicationProvider(Site site, Application application)
ApplicationProvider(Site site, Application application, boolean monitorPerformance)
-
Uses of Site in org.appng.core.repository
Methods in org.appng.core.repository with parameters of type Site Modifier and Type Method Description List<SiteApplication>
SiteApplicationRepository. findByGrantedSitesContains(Site site)
-
Uses of Site in org.appng.core.repository.config
Constructors in org.appng.core.repository.config with parameters of type Site Constructor Description ApplicationPostProcessor(Site site, Application application, DatabaseConnection databaseConnection, org.springframework.cache.CacheManager platformCacheManager, Collection<String> dictionaryNames)
Creates a newApplicationPostProcessor
using the givenDatabaseConnection
. -
Uses of Site in org.appng.core.service
Methods in org.appng.core.service that return Site Modifier and Type Method Description Site
CoreService. getGrantingSite(String grantedSite, String grantedApplication)
Methods in org.appng.core.service with parameters of type Site Modifier and Type Method Description protected void
CoreService. assignRolesToGroup(Group group, Site site, List<Integer> applicationRoleIds)
static void
CacheService. clearCache(Site site)
static void
CacheService. clearStatistics(Site site)
static javax.cache.Cache<String,CachedResponse>
CacheService. createCache(Site site)
Returns theCache
instance for the selectedSite
.PropertyImpl
CoreService. createProperty(Site site, Application application, PropertyImpl property)
static void
CacheService. expireCacheElement(Site site, String cacheElement)
static Future<Integer>
CacheService. expireCacheElementsByPrefix(Site site, String cacheElementPrefix)
Expires cache elements by path prefixCollection<ApplicationSubject>
CoreService. getApplicationSubjects(Integer applicationId, Site site)
static javax.cache.Cache<String,CachedResponse>
CacheService. getCache(Site site)
Returns theCache
instance for the selectedSite
.static List<CachedResponse>
CacheService. getCacheEntries(Site site)
static Map<String,String>
CacheService. getCacheStatistics(Site site)
List<SubjectImpl>
LdapService. getMembersOfGroup(Site site, String groupName)
Fetches the members of a given group and returns them as a List ofSubjectImpl
objects.org.springframework.data.domain.Page<PropertyImpl>
CoreService. getProperties(Site site, Application application, org.springframework.data.domain.Pageable pageable)
static Properties
PropertySupport. getProperties(Properties platFormConfig, Site site, Application application, boolean addPlatformScope)
Aggregates theProperties
of the platform, the givenSite
and givenApplication
to a singleProperties
object, using a prefix for determining the origin of a certain property.The prefix for a site-property issite.
, for a platform-property it's "platform.".Iterable<PropertyImpl>
CoreService. getPropertiesList(Site site, Application application)
static String
PropertySupport. getPropertyName(Site site, Application application, String name)
Returns the dot-separated full name for a given property, depending on whether aSite
and/or anApplication
are given.static String
PropertySupport. getPropertyPrefix(Site site, Application application)
Returns the dot-separated property-prefix, depending on whether aSite
and/or anApplication
are given.static String
PropertySupport. getSitePrefix(Site site)
Returns the dot-separated property-prefix for a site-property.protected String
DatabaseService. getUserName(Site site, Application application)
protected void
CoreService. initApplicationProperties(Site site, AccessibleApplication application)
boolean
CoreService. login(Site site, Environment env, String username, String password)
List<String>
LdapService. loginGroup(Site site, String username, char[] password, SubjectImpl subject, List<String> groupNames)
Tries to login the user as a member of at least one of the given groups.boolean
LdapService. loginUser(Site site, String username, char[] password)
Tries to login the user with the given username and password.void
CoreService. refreshTemplate(Site site, PlatformProperties platformConfig)
void
CoreService. reloadTemplate(Site site, PlatformProperties platformConfig)
void
InitializerService. shutDownSite(Environment env, Site site, boolean removeFromSiteMap)
Shuts down the givenSite
. -
Uses of Site in org.appng.search
Methods in org.appng.search with parameters of type Site Modifier and Type Method Description Iterable<Document>
SearchProvider. doSearch(Environment env, Site site, Application application, org.apache.lucene.store.Directory directory, String term, String language, String[] parseFields, org.apache.lucene.analysis.Analyzer analyzer, String highlightWith, Map<String,String> parameters)
Performs the actual searchIterable<DocumentProducer>
DocumentProvider. getDocumentProducers(Site site, Application application)
Returns someDocumentProducer
s to take into account when building theSite
's global lucene index. -
Uses of Site in org.appng.search.indexer
Methods in org.appng.search.indexer with parameters of type Site Modifier and Type Method Description void
GlobalIndexer. doIndex(Site site, String jspType)
Iterable<DocumentProducer>
FileSystemProvider. getDocumentProducers(Site site, Application application)
-
Uses of Site in org.appng.search.searcher
Methods in org.appng.search.searcher with parameters of type Site Modifier and Type Method Description Iterable<Document>
StandardSearcher. doSearch(Environment env, Site site, Application application, org.apache.lucene.store.Directory directory, String term, String language, String[] parseFields, org.apache.lucene.analysis.Analyzer analyzer, String highlightWith, Map<String,String> parameters)
-
Uses of Site in org.appng.taglib
Methods in org.appng.taglib with parameters of type Site Modifier and Type Method Description protected String
ApplicationAdapter. normalizeUrl(Site executingSite, String location, String baseUrl)
boolean
TagletProcessor. perform(Site callingSite, Site executingSite, Application application, Map<String,String> tagletAttributes, Request applicationRequest, String methodName, String type, Writer out)
Performs the actual taglet-call. -
Uses of Site in org.appng.taglib.search
Methods in org.appng.taglib.search with parameters of type Site Modifier and Type Method Description protected Part
Search. processPart(Environment env, javax.servlet.http.HttpServletRequest servletRequest, Site site, SearchPart part, String term, org.apache.lucene.store.Directory directory, Integer maxTextLength, String fillWith)
-
Uses of Site in org.appng.testsupport
Fields in org.appng.testsupport declared as Site Modifier and Type Field Description protected Site
TestBase. site
Methods in org.appng.testsupport with parameters of type Site Modifier and Type Method Description String
TestBase.SimpleApplication. getSessionParamKey(Site site)
Map<String,String>
TestBase.SimpleApplication. getSessionParams(Site site, Environment environment)
-