All Classes and Interfaces
Class
Description
Generates the export file for a abacus address export
Generates the export file for a abacus address export
Deprecated.
Listener creates the allotted absences as Timereport_records for a Contract
Saves newly created Absence_report
Checks if the status has been changed and sends a corresponding mail.
Deprecated.
Abstract base class for builders of subclasses of
AbstractAction
.Deprecated.
Parser, which handles the common properties, for
BaseAction
implementors.Abstract base class for action resources.
Abstract
RelationMergeHandler
for Address->Address_address and User->User_user relations.Used to remove certain beans from the bean factory when the production profile is active.
Abstract implementation of
BinaryAccessProvider
that handles reading/writing the
_nice_binary table.Deprecated.
Abstract implementation od
CollectionInitializer
which resolves a collection
by using the reverse relation name.Base class for all tasks, which collect the available states of a page.
Abstract CollectStrategy that provides some helper methods.
Deprecated.
Base class for components that contains properties shared by all components.
Base implementation of
ComponentContainer
which contains all shared attributed.Deprecated.
Deprecated.
Base class for composite components that contains a list of child components.
Abstract class for reference parsers with some helper methods.
Abstract base task to copy the content of a node.
Deprecated.
Deprecated.
An abstract base class for query builders that are based on a
CriteriaQuery
.Base class for custom
PolicyProcessor
that can be used for
optimizing the performance of flows.Deprecated.
Deprecated.
Abstract reader for basic field types.
This abstract class serves as a base class for date beans to represent date objects in freemarker
Mapped to all chronological data types for which fulltext searching is enabled.
The
DATEADD
function allows to calculate dates dynamically.abstract
DebitorExporter
that handles some things that are always the same for each exportercontains mainly default logic for creating new positions for a promotion code
meaning a new position is created for each promotion article:
- without any intermediate or specially named relations between it and the source entity
- with a quantity of 1
Can be extended for any batch job which needs to delete (cascading delete) entities
selected by a query.
Abstract base class for
AbstractHibernateEntity
implementations which handles dirty
tracking.Abstract
PolicyProcessor
implementation for policy processors
based on the Node_permission matrix for CMS/DMS entities.Deprecated.
Extend this abstract references resolver if the source of the reference to the page is a domain.
Default implementation for
EntitiesValidator
Factory for the default entity actions like "create", "delete", "copy" and "store".
Provides base functionality for entity docs collection initializer:
Checks the permission of the owner entity and if granted load the collection
in privileged mode.
Base class with common functionality for entity docs
GuardFactory
implementations.A base class for custom entity document guards.
Base class for
EntityInterceptor
with default implementations.Abstract
EntityList
base class that implements common functions.Abstract base impl of the common functionality for a Wrapper of an
EntityList
.Common base class for entity-based security domains.
Base class for converters with source class
EntityUri
.Abstract base class which provides common functionality for entity resources.
Deprecated.
Abstract base class for entity wrappers.
Deprecated.
Deprecated.
How to show the gui component.
When to return the data value from the client to the server.
Base class for default form generators which provides common functionality.
Deprecated.
This abstract class contains all generic code which could use any enterprise search system.
abstract task used to get arguments for
AbstractSaveNodeRightsTask
implementationsBase class for all tasks, which collect the selected states of a page.
A group that can contain validators and groups recursively.
A base class for dynamically created
Entity
instances (see JavassistEntityPojoFactory
Used for XML based entities.This abstract impl delegates object creation and then injects services into
the instance if a suitable setter is found.
The simple representation of an
Exam
to be used for client UI.An abstract implementation of invoker.
Abstract servlet that implements some helper methods for dealing with JSON responses.
Deprecated.
Because search forms must be handled specially (fulltext-search and different default relation data-types), there
are multiple handlers for the 'layout' tag.
abstract class that handles matrix specific methods
- get answers sorted by x axis
- get label from x axis
- get values for selected answers
Base class for policy processors that are based on the membership hierarchy structure.
Abstract menu item for convenience.
Abstract implementation for every menu item reader.
An abstract implementation of any model.
Provides a default implementation for
AbstractModeWrapper.getPriority(Mode)
that either returns the priority associated with a key that must be provided by subclasses
or returns Priority.NORMAL
.An abstract cookie class to build a cookie and add it to a HttpServletResponse.
Base class for beans which may contain null delegates.
Base implementation for
Query
which handles the ordering aspects.Base class for a 'partitioned' task.
Abstract base class for query builders that do not return
Entity
instances, but use a CustomSelection
.A helper class that takes an entity model an a path (relX.relY.path) and determines
- if this field or relation is removed
- the data type that should be used in the form
There are multiple implementations of this class, because the search form uses
different default data types.
Base class for path validators.
input type containing logic used for
PointsInput
and PointsThresholdInput
A base class for dynamically created
Entity
instances (see JavassistEntityPojoFactory
.Abstract base class for custom action resources with some pre-action logic.
Define which type of selection the action resource expects.
Deprecated.
Base implementation of
PropertyMetamodel
which is purely based on the JPA model.Deprecated.
Common base class for
QueryCompiler
implementationshandles all columns of
SurveyExportActionService
other than:
- columns 11 - 12 which contain data about the answer possibilities and titles
- columns 16 - 17 which contain data about the answersCommon base class for Radio and Checkbox Group Layout.
Common base class for CheckboxGroupLayoutModelHandler and RadioGroupLayoutModelHandler.
Deprecated.
Abstract base class for mapping hibernate collections to the
Relation
interfaceAbstract base class which maps hibernate collections to the
RelationQuery
interfaceBase class for all REST resources.
Base class for a simple
SecurityDomain
that is not used very extensively.Entity
base class for 'session-only' entities which are not mapped by hibernate.Abstract class based on
AbstractActionResource
.Base class for EntityList sort wrappers.
Deprecated.
Abstract
SelectionPathHandler
for all to-many fields of type binary.Abstract
SelectionPathHandler
for all to-one fields of type binary.Deprecated.
Generic abstract base class that may be used by type adapter contribution implementations.
This listener sets a shortcut relation from an node to its domain.
Deprecated.
Abstract implementation of an
AuthenticationHandler
that supports authentication of
UsernamePasswordCredentials
.
UNCHECKED => either not checked yet, or check skipped because others failed already.
PRECONDITION_FAILED => for example a check that involves multiple fields is not executed because
some information is missing; a definite check and result cannot be given
at this time. this state could be used in the gui to not set the color of
a field to green yet.
DISABLED => for example after a warning which was suppressed, or a condition that
disables it, or not checked because the value was empty. it can also mean
"ignored". That might be the better name anyway.
OK => check done and succeeded
INFO => check done and theoretically failed but only fires an "info text". such
a test cannot "fail".
WARN => check done and succeeded, but a warning was issued. this may be ignored,
logged, or shown to the user "are you sure?".
ERROR => check done and failed
Abstract base class for validators.
Base class for validation model readers.
Deprecated.
An abstract model builder, which already sets up the history-writer, log etc.
Adds the "showConflict" action to the action menues where it is desired (in the legacy client).
Adds the "showConflict" action to the forms where this action is desired (in the new client).
Listener to update conflict status, when the "accepted" field on a conflict changes.
If used as service AllowedRequestOrigins can be set through an application property.
This exception is thrown, if the user is not permitted to access
the target of the given URI.
Contains READ and WRITE.
Validates
AccessPermission
permissions:
It is not allowed to define write access without read access.Deprecated.
Calculates the accrual amount of a given service if the check is successful
example:
Deprecated.
Deprecated.
Deprecated.
This class provides an empty implementation of
ACLListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.This interface defines a complete listener for a parse tree produced by
ACLParser
.Global ACL policy provider that compiles the main ACL file from the
customer module.
Deprecated.
Builder for
Action
components.Deprecated.
Builder for
ActionImpl
components.Deprecated.
Deprecated.
Deprecated.
An action group combines different actions into a single group.
can be used to build
ActionGroup
A group element in the actions tag.
Deprecated.
I need the class in the API because the FormFacade must be able to create one.
An action group model specifies all properties for an action group.
Parser for action elements which may be inside a form, vertical-box, horizontal-box
or table tag.
Deprecated.
Deprecated.
This menu item holds additionally the path to the action that is
to be executed.
An action element in the actions tag.
Deprecated.
I need the class in the API because the FormFacade must be able to create one.
Iterates through actions recursively.
Deprecated.
This Interceptor places subgroups in the main actions group at the end
Deprecated.
Bean which corresponds to the parameters passed to
AbstractActionResource.performAction(ActionResourceBean)
:
- the selected entity keys.Response bean for action resources (returned by
AbstractActionResource
).Deprecated.
Deprecated.
can be removed once we no longer support netui/dwr
Deprecated.
Deprecated.
Deprecated.
Deprecated.
The content of the actions tag; the groups and actions.
Creates
ActionModel
s (resp.Handles the actions tag on the nice-entity-model (currently only there, not in the form).
Deprecated.
Sets the active position on contract
Resets vat rate on vat codes
resets the vat code when a vat rate is added
directly sets the added vat rate when is valid,
because vat rates can not be added for the past
service to check and set vat rates
Contribution class for the configuration-point "Adapters".
Add FK columns on nice_content_reference_source to entities which have at least one HTML field.
Used to upload binaries and attach them as entitydocs
Parameters:
* publishStatus PublishStatus to be used
* fileName Filename of the to-be-attached file.
This class is also used within a Liquibase db changeset.
a bean containing any data from a field as a
TypedValue
these get converted by AdditionalFieldConverter
convert
AdditionalFieldBean
to human-readable, easier to parse xmlCustom
RelationMergeHandler
for Address→Address_address relations.Generates an
AddressCheckActionService.AddressInfo
for the selected user.Contains each address for a single user as
String
for each available locale.Deprecated.
The class helps to gather data to output an address.
Dataprovider to enable address generation for Address entity.
Dataprovider to enable address generation for Application entity.
Data provider to enable address generation for Debitor entity.
Data provider to enable address generation for Membership entities.
Data provider to enable address generation for Order entity.
Data provider to enable address generation for User entity.
generates/deletes debitor_informations in each businessUnit
Used for the default display of an address.
AddressDirective
Used to display addresses in freemarker.
Resolves the responsible addresses and all child addresses for the current user
The result is cached as multiple policy processors use these addresses multiple times per request.
Implementation of
AbstractMembershipHierarchyPolicyProcessor
for 'Address' and 'Address_user' entities.The simple representation of a
AddressService.AddressType
to be used for client UI.Service for the AddressUpdateFlow.
Service to easily find addresses connected with users depending on the `Address_user` entity.
Converts a section into a snippet.
CMS content tree context for
ContentTreeContext.Mode.ADMIN
.DMS content tree context for
ContentTreeContext.Mode.ADMIN
.Main service to get menu items.
This class creates an ACL file for the whole admin menu.
Reposible to collect created menu items during the reading process.
Reload action to reload the menu configuration.
Is registred as the "adminMenu" security domain and accepts
RootMenuItem
.This URI represents an URI of a
ContenTreeNode
for the admin
environment.This factory creates
AdminUris
.This resolve strategy is able to resolve urls of the form:
/[checksum]/[pk]/[name]
Converter for converting
AdminUris
into
PublicUris
.assigns and removes Affiliations according to the Configurations
checks if the given query is correct
Interface required to combine
PostCommitInsertEventListener
, PostCommitUpdateEventListener
and PostCommitDeleteEventListener
Handles the POST_COMMIT_* events of hibernate.
This class contains the SecurityContext before and after the
request chain has been executed.
Collection of the 3 standard aggregation functions: avg, count and sum.
Uses
AggregateTasks.Sum
and AggregateTasks.Count
to compute the average.Returns the size of the given entity list.
Uses a given field name to obtain the value of that field of each entity
in the list to compute the sum.
Calculates the sum of the values returned when resolving the given
path against each entity of the entity list.
Algorithm for validating social security numbers.
Checks if new aliases do not evaluate to another
ContentTreeNode
.Contribution that controls which method calls are allowed in groovy script listeners.
The strategy handler for the
HierarchyStrategyType.ALL
type.Implement this interface for a type where
EntityHashModel
should return a different object to the template rather than the standard java representation of the type.Deprecated.
Deprecated.
Deprecated.
Marker interface, needed because of the instrumenting to have the correct type.
Handles the reading of the and-group validations group tag.
anonymizes the selected entities
This only works for non-localized string fields at this time
example:
Replaces all history entries of a given entity with an empty entry.
Handles authentication when
AnonymousCredentials
are given.Base class for websockets which should always run with an anonymous security context
and ignore the current user.
Deprecated.
Call this method, when an attribute is encountered which does not have any specific
Attribute
mapping.Call this method, when an element is encountered which does not have any specific
Element
mapping.Deprecated.
Checks if the changeset has any localized columns.
Represents a Tocco module (a java
Module
whose name starts with 'nice').This collect strategy collects the templates from all app modules (from a specific path in VFS).
Returns the username of the current principal.
Returns the primary key (as long) of the entity of the user associated to the current principal.
The
ArgumentFactory
is responsible for creating the arguments.Any
ArgumentFactory
implementing this interface will know
about the parameter name it is registered.ResultRowMapperFactory
that supports query results of type Object
[].Bean containing the required article data for the shopping cart.
sets the price_sorting field on every Article based on its current default price
sets the price_sorting field on Articles that are related to a created or adjusted valid default Article_price
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Reads rss feed and create news entities
Java class for Attachment complex type.
Optimized version of
MimeTypeIconCustomDataProvider
for Email_attachment entities
which does not require a resource entity.Receive the value of an attribute.
Implements the nice_auth cookie.
Base class for servlets that want to have each method run by an authenticated
user.
Unchecked exception for any internal errors during authentication.
Exception used when cancelling authentication.
Exception thrown on authentication failure.
Filter doing authentication of the current request.
An AuthenticationHandler can authenticate a given
Challenge
using the supplied Credentials
.Adapter implementing
AuthenticationHandler
interface
with empty methods.This authenticator is the main entry point for authenticating.
an evaluation_template needs a related
Evaluation_module
and a Questionnaire
if it's related to a Auto_evaluation_intrusion
entityThis helper class creates <a> tags for detected links in any html string.
run the query configured in Automated_evaluation_config and start the grade calculation for Evaluations that were
found in those queries
For 'serial' and 'counter', has higher prio to show up first.
Used for operations in the backend (admin) UI.
This exception indicates that something was wrong with the request sent by the client.
This exception mapper can be registered on all types of exceptions.
Balance unbalanced debitors
Balance unbalanced debitors
this is used to generate a barcode from a string value
parameters required
- type - the type of barcode to create, Code128 is used if empty
- value - the value to generate the code for
- height - the height of the code
- width - the width of the single bars
- drawText - should the value be drawn beneath the code
The action type describes of what kind the action is.
The style describes the styling of the action button
Base class for component mappers.
Base WebSocket implementation that runs the methods
using the
SecurityContext
that was used during the handshake.Executes the basic insert statement against the database to create a folder.
Triggers re-schedule for batch jobs on entity update.
Handles manual triggered batch job and set the completed progress message
Override the default type for 'bigserial'.
set bill_printed date for bill and orderRateCreditslip Report
Checks if all if all billing positions that are defined on the entity-type are also on the base-entity.
Checks if all if all billing positions that are defined on the entity-type are also on the base-entity.
transfers all the billing positions in the selected entity
to the billing positions of the target Entity
Representation of a chunk of binary data.
Interface for strategies which manage saving/loading of objects/file into some
sort of store.
A special attachment class that holds the content as a `Binary` value
to avoid copying the data multiple times.
exports binaries as just their hash in excel exports
Model for
BinaryContent
.exports binaries as just their hash in csv exports
Bean which contains information about a
Binary
saved in the database.We need to share downloads between instances.
Handles binary fields (and it's subtypes) in data-binding (server → client).
This value factory is registered on `binary` fields and returns
a
BinaryBean
containing the field value.This fragment goes through all fields of all entities and creates
a fk to the binary table for each field of type 'binary'.
Hashing strategy that defines which algorithm and encoding are used to hash binaries.
this converter tries the following:
- load a binary with input as hash
→ success
-- return binary
→ failure (any exception thrown)
-- create a new binary from input, either as pure base64 data or with a filename prefixed, separated by a semicolon
A hibernate java type for
Binary
objects.Thrown when an error happened during the loading of an object from a store.
This is a dummy implementation of
Binary
which enables querying binary fields
by hash.Special implementation of
QueryBuilderInterceptor.SelectionInterceptor.QueryResult
for AbstractToOneBinaryHandler
and AbstractToManyBinaryHandler
.Thrown when an error happened during the saving of an object from a store.
Deprecated.
Deprecated.
Deprecated.
Handles the reading of the birth-date-field tag, which is a specialized date-field.
Deprecated.
Deprecated.
Sets the sorting field for birthdate
Deprecated.
sends a mail to all users with birthday = today
This function adds a boolean expression that tests for a given
date to be inside a given date range while not taking the year
into account.
Deprecated.
Books incoming payments.
Deprecated.
Deprecated.
Creates a boolean expression that evaluates to true, if a given point is within the
bounds of a given rectangle.
Deprecated.
Deprecated.
Parameters:
* ignoreVisibleInNavigation (Boolean, optional, defaults to false):
set to true, to ignore the flag "isVisibleInNavigation"
* hideInvisibleRecursively (Boolean, optional, defaults to false):
set to true, to take the flag "isVisibleInNavigation" into account recursively
* showLast (Boolean, optional, defaults to false): set to true, to show the active page
* showHome (Boolean, optional, defaults to true): set to false, to hide the home page
Available variables:
* href (String): url
* label (String): label (name)
* title (String): title, fallback to label
* baseData (Entity): underlying entity of node (e.g.
the content field for "contact_updated" events can either be a list or an object containing lists
buffer first, as we want to delegate actual deserialization, but we can only read the parser once
Deprecated.
Deletes a Bulk_deletion using the cascadingDeleteService and tracks the status on the corresponding Bulk_deletion
and Deletion entities.
Check if the the company is filled when the address type is set to business.
Representation of a business unit.
Sets the business unit that is stored in the preferences after successful login.
Describes changing the business unit.
This
BusinessUnitChangelogPostProcessor
provides functionality to apply a single changelog to all available
business units.BusinessUnitChangelogPostProcessorImpl
is the default implementation of BusinessUnitChangelogPostProcessor
Validator which ensures, that no default Vat_code, default donation Cost_center or default Cost_center can be set if the corresponding Business_unit flag is not checked
Sets the current
BusinessUnit
to newly created entities (if required).Given an already created folder and the target entity, this will set the
business_unit relation of the folder entity according to the given target.
EntityInterceptorContribution
that prevents updating the Business unit relation,
unless the business unit type is BusinessUnitType.MANUAL_SET
or the relation has not been set
by the interceptor.This validator ensures that configured finance flags (cost_accounting, vat_obligatory) can not be removed as long as there is a corresponding default entity configured
Ensures that the hierarchical business unit structure is not cyclic.
A holder for a business unit.
Returns a query that selects all business units that are associated to the
specified principal (the principal has at least one role in that business unit).
QueryBuilderInterceptor
which makes sure that only results which belong to the current
business unit are found.Fixes relation Resource|Folder → Business_unit.
Service for dealing with configured
business unit
s during deployment process.contribute the unique id of a widget if the business unit of the related widget domain should be used in the widget config.
Set the business unit of the related widget domain in the configObject.
used to adjust the look of action buttons
Implement this interface to provide a template loader with an internal cache.
1.
Calculates the Totals on as well Movements as Contingents
Takes a Tuple2 of Entity (Contingent) and
Iterable<Entity>
(all related Movements) as parameter.task that calculates and sets all total values for a debitor
A calendar is the main entity storing a set of calendar-events.
Can be applied to query the
Calendar
s that contains the
event with the specified id.Exception thrown for any database operations in conjunction with
Calendar
or CalendarEvent
.used to handle Calendar entities
This is a simple calendar event that has a start date and optionally and end date.
Applicable to `Calendar_event` entities to get those belonging to given calendars.
used to easily handle
CalendarEventContribution
CalendarEventDisplayers are used to generate the resource-scheduler tooltip of a Calendar_event
All fields of the calendar event entity as specified in the xml.
Iterates over
CalendarEvent
s of one or more Calendar
s.returns the default display of the related Availability_presence
used to define ways to load a label for a
Calendar_event
the last fallback task to load a label from a
Calendar_event
loads the label if it exists, the mandatory uuid otherwisethis task resolves to a
Reservation
and Event
and returns a label "Event.abbreviation / Event.label / Reservation.label" if the
event is not set, the reservation has no label or the event has no abbreviation
the missing part is left out.used to load a label for
Calendar_event
these labels can come from several sources and are defined in CalendarEventLabelContribution
interface used to constrain tasks that can be contributed for
CalendarEventLabelService
also makes the hivemodule contributions look nicerAll fields of the calendar entity as specified in the xml.
Service to work with
Calendar
s.Listeners can be registered with
CalendarManager.addCalendarManagerListener(CalendarManagerListener)
or
contributed by using the @code annotationAdds constraint for the Calendar_event entity to fetch only those of a given calendar.
if any calendars belong to the entities to be merged, copy their calendar events to the calender of the entity we are
merging to
this handler assumes that the target entity correctly only has a single calendar, otherwise it just copies them to
the first calendar
This bean holds the whole configuration for the POST body of the
CalendarEventsResource
request.A callback is used by the installation routine to query for parameters or
send messages to client code.
A callback handler handles callbacks from the installation routine.
Calls an entity listener on a specified entity.
Used to copy entities from the one business unit to another
Parameters:
* listenerName name of the listener to be called
* entityName name of the entity from which the listener should be called
* where condition, which entities should be "touched"
* fields comma seperated list of fields or relations to be "touched"
Sum up all donation, campaign controlling or expense values and write them to referenced campaign
Calculates campaign total effort and write it to referenced campaign
Batch job that double checks the calculated totals on Campaign entities.
Attributes set in
AuthenticationCancelledException
used by
AuthenticationHandler
s of this module.Iterators that can be used to handle cancellation in
AbstractInterruptableJob
can be used to loop through some iterable until the task is cancelled or the end is reached
Task that creates new storno vouchers for a order when cancelling it
Set the cardinality.
Persist task that performs cascading delete of an entity.
Builds
DeletionSet
for you
so you are able to browse what is going to be deleted.This exception mapper is registered on the
DeniedDeleteException
.example:
delete all related task_history entities if a task entity gets deleted
Deprecated.
use
DeleteService
insteadStatic utility methods for dealing with upper/lower casing in Java when it comes to
comparing Strings for equality.
Validator makes sure that only registrations with the same user as the case entity can be related
to each other.
Optional category data that will be saved to the System_activity#category/category_details fields.
Deprecated.
Deprecated.
A challenge is the information gathered by
AuthenticationHandler
s while in process
of authenticating a subject.Deprecated.
Deprecated.
Class for databaseChangeLog documents providing the document and methods to serialize into xml.
Service for working with db changelog files that are contribtued
from each module.
The id attribute given in a changeset of a module must conform to the
following convention:
Implementations are allowed to modify the final outcome of the consolidated database changelog by
modifying xml nodes while they are merged in the document.
Sets charset UTF-8 on every response.
Deprecated.
Layout used for a group of checkbox buttons.
Xml reader for the checkbox-group layout.
Deprecated.
Deprecated.
A bi-function which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream API
an extension of
Callable
which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream APIA consumer which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream API
A function which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream API
allows easy wrapping of regular function interfaces into our own that handle exceptions
A predicate which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream API
an extension of
Runnable
which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream APIan extension of
Supplier
which wraps all exceptions in runtime exceptions so that
expressions throwing checked exceptions can be nicely used in the Stream APICheck for missing entity fields / to-one-relations of detail forms.
This traverser checks the read permissions for the nodes in the deletion set
for the current business unit.
Checks optional http parameter "require_roles".
This servlet checks for a given hash (sha1), if a file with this hash
exists in the dms.
Deprecated.
Can be implemented to execute a function with each child of a certain node if
certain changes have been applied to the node.
This listener applies contributable functions to all child nodes if a certain node
has been created, changed or deleted.
Builds the child-of condition to add to the where clause of a query.
Builds the child-of condition to add to the where clause of a query.
Deprecated.
handles single choice and multiple choice values
Deprecated.
allows copying of classrooms then copying events
Deprecated.
Each intent describes an operation that generates a default value.
ClassroomDefaults supplier that maps each value generating action to an
ClassroomDefaults.Intent
in order to filter
desired values when using the ClassroomDefaults.Supplier.get(Intent...)
method.defines how a a given entity is handled when being connected to a Classroom entity
handles the contributions made to ClassroomIntrusionHandler
Cleanup Payrexx_transactions that are:
- older than nice2.optional.onlinepayment.payrexxGatewayValidity (minutes)
- have state "waiting"
Cleanup means:
- Update state on Payrexx_transaction
-- Try to get an updated state from payrexx
-- If it is still "waiting" or if no state from payrexx could be resolved, set it to "canceled"
- Delete payrexx gateway
This SecurityManagerListener clears the client cache when the policy is loaded.
Listener that clears the
ContentUriCache
when any ContentTreeNode
's path changesclears all non-mandatory fields on the given entity
Listener to initiate geographic coordinates determination.
Listens on incoming payment changes.
Interface for an answer to a asynchronous question for the user.
This filter tries to convert the request body into a
ClientAnswersBean
,
sets the client answers to the thread (using @link InternalClientQuestionService.addAnswers(Map)
and sets the included payload (@link ClientAnswersBean.getPayload()
as request payload.Client entry for caching client authentication data.
Template Directive to load the IP address of the client by use of
RequestContext
.Deprecated.
Interface for a question to be asked the user.
Creates response beans for
ClientQuestionExceptions
.Deprecated.
Service to ask the client any questions at any point during code execution.
This resource is the entry point of the client API.
If you need to handle a case which uses for example almost the same code for frontend (public) and backend (admin),
you can use this service in order to get the type of the client where this request comes from.
used for new client which needs a mix of old admin and old public URIs
Deprecated.
Replace this with
Function
CmsActionModifier
customizes ActionGroupModel
s displayed in the cms module.Model for
CmsDomainNode
.Represents a cms template with a unique id, the template content and a version number.
Helper for building
CmsTemplate
beans.This template loader uses
CmsTemplateService
to find
the requested template.This exception is thrown if an error occurs in
.loader.CmsTemplateLoader
.Represents the model for a
CmsTemplate
.This service manages the cms templates in the database.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
An
EntityFacadeListener
that collects all events during a transaction.EntityFacadeListener that collects facade events up until the current transaction is about
to be committed.
Predicate to filter entities by entity model name.
Predicate to filter entities which have at least one of the given fields touched.
Predicate to filter entities which have a certain relation touched.
This service exists so that
CollectionInitializer
can be accessed from different
classes (instead of directly injecting them into ExtendedInitializeCollectionEventListener
).Used with persist tasks to determine whether results of loops are
collected or not.
Takes the primary key of a Page_content entity and returns all available states for the linked page template.
Implement this interface to provide a template collection strategy.
Orderable contribution for
CollectStrategies
.Unifies the returned of templates of several
AbstractCollectStatesTask
in a single list.Takes the primary key of a Page_content entity and returns all available states for the widgets in this page.
Deprecated.
Represents a column in a list form.
Deprecated.
Parser for the `column` tag.
XML handler for the 'column' tag.
All properties needed to create columns for a table.
Deprecated.
Deprecated.
Handler for when the search form is filled in and a search filter is selected.
Deprecated.
Tag 'combo-box'.
Deprecated.
Deprecated.
Service for executing/submitting
PersistTask
s.A executor service like
CommandExecutor
but submitting the given
task for asynchronous execution instead of executing it on the behalf of
the calling thread.Deprecated.
Event listener that will be called before/after a transaction commit.
Something that contains a
SearchFieldsModel
, like the RemoteFieldModel
.CommunicationRelationType
reflects a relation type between ConcernedRecipient
s and EffectiveRecipient
s
based on the relations between User
s and other User
s or User
s and Address
es.CommunicationType
defines the type of communication to use, which controls evaluation of targets, recipients
and options to take into effect.Deprecated.
Deprecated.
Thrown when a query written in the nice QL fails to compile.
CompileExceptionHandler.handle(CompileException, ModelResource)
is called when a CompileException
occurs
in the ACLPolicyProvider
.This exception mapper is registered on the
CompileException
.This strategy is mapped onto
EntityHandling.COMPLETE
.Validation result for complete entity validation.
Deprecated.
Implement this when you want to filter components.
Kinds of components in relation to data.
Same as AbstractFieldInfo.DisplayType
The position-enum.
Base class for component beans.
Creates marshallable ComponentBeans from Components.
A container for fields.
Converting form fields from one type to another.
Deprecated.
Deprecated.
Deprecated.
Utility class which inserts an
AbstractComponent
into an AbstractCompositeComponent
.Implement this interface to create a bean for a certain component and add
the implementation of the mapper to the configuration point "ComponentMappers".
Deprecated.
Deprecated.
removes CompositeComponents if scopes are defined and the current scope is not in the set of scopes of the component.
Deprecated.
Validator for the loaded (form) component tree.
Visitor for
Form
instances.Deprecated.
Deprecated.
A
Component
that contains child components.Composite components may have children.
A compound callback handler allowing to add several
CallbackHandler
s
that are applied to incoming callbacks in non-deterministic order.Class to group several
DisplayValue
s together.Creates a Display-Value which is build by multiple xml-tags.
A compound filter that appends all contained filters to the query by using a
"concatenation type" of either "and" or "or".
Collects multiple validators to one.
A user type that compresses string data using Zstd before
writing it to the database.
The user type compressed-text is compressed before saving in the database.
Fact class to represent a grade computed from Ratings.
GuardFactory
for Folder entities in Entity.State.CONCEPTION
state that is based on
Entity
instances.GuardFactory
for Resource_content entities in Entity.State.CONCEPTION
state that is based on
Entity
instances.GuardFactory
for Resource entities in Entity.State.CONCEPTION
state that is based on
Entity
instances.ConcernedRecipient
is the wrapper for the entity evaluated for communication from the entity selected in
the ui.The simple representation of a
ConcernedRecipient
to be used for client UI.Conclude the processing of one resource.
An instance of this class is present as a global named 'conclusion' and is used to vote for a specific promotion
status during evaluation.
A wrapper around an entity that may return a different value for fields based on a condition.
Provides a list of accessible reports
A builder service that provides shortcuts for building conditions.
Evaluates a condition against an entity.
This is a hub-class that defines some nice-to-have shortcuts but also collects
static methods from other places.
You can register this event to the configuration-system.
Get the current context of this configuration-reading process.
Runtime exception that is used to wrap
PersistException
s.Find conflicts that are associated to the specified calendar event.
Creates a query that finds all conflicts for a given target entity.
Managing conflicts between
CalendarEvent
s.defines the relation to an entity with a conflict status relation.
Appends query constraints to filter those conflicts with a relation to both calendar
events (relation order does not matter).
connects Educational_objectives and Reservations based on a logic predefined
in a
EducationalObjectiveConnectionLogic
used to connect Educational_objectives and Reservations through a CheckboxMatrix
Consolidates the changelog files from other modules to one big changelog file.
A display-evaluator which just displays a constant string.
Static value to display.
Constrictions are contributed query "extensions".
Search param extractor for
PlainQueryParams
.Deprecated.
Deprecated.
Deprecated.
A content for an info box.
Receive the content of an element.
This exception mapper is registered on the
ContentException
.Note: in
ContentNodePermissionService
there exist singleton instances of this class for each Node_permissions
as stored on the DB, i.e.Used if node can be found, but content may not be displayed
(e.g.
This class provides resolving of HTTP(S)-URIs.
A bean representing a reference to an Entity of type
ContentReference.type
with primary key ContentReference.key
.This DAO is responsible for persisting entities of type "Content_reference".
Add relation model between entity with HTML fields and Content_reference_source entity (DMS).
Searches references in a html string.
Service to find references in a html string.
Add relation model between main widget entity and Content_reference entity (DMS).
This service ensures database integrity for HTML content.
Represents the origin of a content reference, i.e.
This resolver returns all references, which are stored as Content_reference records.
This service provides functionality to handle the
content of a node.
This servlet handles all the http requests for CMS and DMS contents.
Parameters:
* node (String, optional, defaults to current node or root node (topLevel flag is set to true) of current
request (if any)): url of starting node
* nodeEntity (Entity, optional, alternative for setting the 'node' paramater)
* topLevel (Boolean, optional, defaults to false): set to true to start at the root node (domain) of the current request
rather than the root node of the current request (only applies if the node param is omitted)
* type (String, optional, defaults to "Page"): any node type which should be printed (e.g.
Java Bean representation for entities in the DMS / CMS tree.
Note: implementations of this class won't handle any transactions.
Note: implementations of this class won't handle any transactions.
Factory for creation of new ContentTreeNodes
Defines the model of a
ContentTreeNode
.Interface for for cache used by
ContentProtocolProvider
This resolver resolves a content URI in privileged mode.
A result bean containing an optional target and an optional fallback.
The main entry point into the old persistence API.
This gives acces to a simple transaction api.
Adapter between a hibernate
Session
and a nice2 Context
There might be multiple instances per Session.Deprecated.
Allows access to
Context
that is bound to the current thread
and allows to manually create additional contexts.Manages and creates
Context
instances.ModeWrapper
that executes the wrapped task in a new context.An injectable service that delegates all calls to the
Context
that is bound to the current thread.check on Contingent if estimation is 0
creates a movement entity when the status on the reservation_registration is updated
check what Contingent type is set: print error message if no address/user is set
used in ContingentWithdrawalFlowService
Java representation for
Contract
Entity for convenience.updates the fields 'entrance' and 'exit' on user if a contract is deleted.
Listener sets a Contract dirty for TimereportDayGeneratorBatchJob, when changes to sensitive fields on the contract
have been made.
Extended implementation of hibernate's
ClassLoaderService
which enables adding services at runtime
instead of using ServiceLoader
.This service converts inbound values into values that can be set
on the corresponding entities.
Converter for going from one nice data type to another, and possibly backwards too (see
ReversibleConverter
).Deprecated.
Interface for an engine to convert a specific
InputStream
format to a specific OutputStream
formatA factory providing the client with the requested
ConverterEngine
.Extracts the authentication-string from the cookie with name #PARAM_CLIENT_AUTH.
copies Billing_positions to the Registration when an Registration_option_answer is added to the Registration
Registration_option_answer → get all Billing_positions
Copies all records of one or more businessunit-dependant entities to another businessunit
Copies all records of one or more businessunit-dependant entities to another businessunit
Action service to copy a
ContentTreeNode
.abstract class that copies registrations or lecturer bookings to a event
registrations and lecturer bookings are taken from the events parallel events
entities are only copied if no entity with the same user already exists on the event
and their status is either booked or registered
Copy personalized detail documents and move them to the folder of any related entity with entity docs.
Listener sets all Education_schedules linked via relCopied_from_education_schedule of Educational_objective
on an event into relation relCopied_educational_schedule, which will be used in a flow
Deprecated.
Deprecated.
Copies the old path to the alias field, so that the node can still be reached with the old path.
Copies the content of the snippet into the section.
Used to copy entities from the one business unit to another
Parameters:
* sourceBusinessUnitId (default = business unit with the lowest pk)
* targetBusinessUnitId business unit id to copy to
* tableName Name of the database table
* businessUnitFkColumn fk of business unit relation (default = fk_business_unit)
* pkColumn pk of your table (default = pk)
Copies widget config entities.
This persist tasks copies widget config entities.
adds the signatures of the current principal to the template values, if defined so on template
count all entities which relation is given in hivemodule
Value generator annotation which creates counters based on 'Counter' table
for fields of type 'counter'.
Creates counters based on 'Counter' table for fields of type 'counter'.
Deprecated.
A criteria builder that executes count queries.
resolves to parent event if exists and update the field
lessons_actual_total
by adding up
the duration_hour_actual
of the parent event and the duration_hour_actual
of all child events.Deprecated.
Deprecated.
copies Availability entities to other users and sets the status and presence, if available
Deprecated.
task that creates a balance dunning voucher
creates business units that are defined in ${nice2.dbrefactoring.businessunits} but do not exist in the db
fills non-nullable columns with its default value, empty value or a dummy value if those are null
the created business units need to be configured afterwards by a user
Create actions and actiongroup are always added that they can be used to define the sorting (e.g.
creates an Calendar_event based on a
CalendarEventContribution
and entity that gets used to pull the data from
new Calendar_event gets related to a given source entity and an calendar entityused to easily get
CreateCalendarEventTask
without having to inject all dependenciesDeprecated.
Creates a
Calendar_export_conf
entity linked to the created Calendar
.Deprecated.
Deprecated.
Allows contributions that alter the default values selected by the CreateClassroomAction.
Deprecated.
only used by old action, use
CreateClassroomDefaultsModifier
for the new actionCreate conflicts for each newly created
Calendar_event
.This task takes a CommunicationTarget.ClientRepresentation object and creates a Correspondence Entity
SerialCorrespondence and RecipientParameters are configured in the constructor.
Task that creates new debitors for a order when booking it
Keeps track of created entities of state CONCEPTION.
Deprecated.
Deprecated.
Argument class for
CreateEntityDocumentsFolderPersistTask
Creates the folder for an entity's documents
Deprecated.
Deprecated.
Screen='create-from-relation', scope=create.
Deprecated.
task is replaced with
MembershipRegistrationResource
for new widgetDeprecated.
replaces the original create action
two windows: small for fast creation and normal form with preset values (discount, article)
bean class containing default values from an Article formatted for use in js
replaces the original create action
two windows: small for fast creation and normal form with preset values (discount, article)
replaces the original create action
two windows: small for fast creation and normal form with preset values (discount, article)
replaces the original create action
two windows: small for fast creation and normal form with preset values (discount, article)
task for OrderGenerator that create Order_position entities for Billing_position and Payment_schedule_billing_position entities
sets the invoiced_date on invoiced Billing_position entities
task that creates an Order_rate for an Order
this task creates a order for each
OrderGeneratorBean
and sets:
- the recipient
- the values from Invoice_action_settings or the default
- the action properties from InvoicePropertiesContribution
- the billing date on the source entityDeprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
CreatePrincipalTask
can be used to to create Principal
s for User
s which do not have at least one Principal
assigned.Create resource entity for all non empty entity doc binary fields.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
feature is not implemented in
MembershipRegistrationResource
Deprecated.
Task that creates a TimereportRecord
Deprecated.
Deprecated.
bean class containing default values from a Voucher_type formatted for use in js
task that creates vouchers based on a list of order position values
creates a wage entity from the values provided by
WageValueProvider
.Deprecated.
This task creates widget config entities of the given modelName.
Takes an entity of type "Section" and the unique id of a Cms_template of type "widget" to create a "Widget_legacy"
entity to link with this section.
Abstraction for credentials supplied by a client.
Retrieves a
Credentials
object from the request.Strategy for retrieving authentication information from the client request.
A criteria builder that executes count queries.
A query builder that can be used to delete multiple entities by a query.
Creates a query for the primary key (using the delete security conditions) and creates a proxy
for each result (using
Session.load(Object, Serializable)
).Base interface for query builders that return multiple result rows and provides methods
for ordering and limiting results.
An abstract query builder class that adds functionality for when multiple rows are expected (like
ordering, limit and offset).
Created by all subclasses of
CriteriaQueryBuilder
that allows to access the query results.see https://github.com/Leonti/CSSInliner
Directive to format a value for rendering to a csv output file.
EntityExportWriter
that exports entities into the csv format.Freemarker wrapper for CurrentArticlePriceService
- uses the current date if nothing else is specified
- uses the systems default price category if nothing else is specified
- always uses the systems default currency
used to get the current article price
calculates and sets
duration_hour_actual
on the Event
by adding up all
duration_hour_actual
of the related Reservation
sThis query function returns a `BoolCondition.TRUE` if the current principal has a certain role or a
`BoolCondition.FALSE` if the principal doesn't have it.
Wrap
StandardBatchLoaderFactory
to lazy load LazyCollectionLoader
.Interface to modify a database changelog.
Contribution for the CreateClassroomActionService that enables to modify the created classroom.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Directive to call a CustomDataProvider in freemarker
parameters:
id (required): the id of the CustomDataProvider
entity (required): the entity which gets loaded in the CustomDataProvider
example:
[@getDataProvider id="nice2.dms.MimeTypeIconCustomDataProvider" entity=Resource/]
Deprecated.
Freemarker function to get data from a customDataProvider
Deprecated.
Deprecated.
add sorting from report settings entity to report data
An
EntityPersister
implementation with some custom functionality.example:
This is a workaround for firing after commit events (
EntityListener
) when only the collection
of an entity has changed.The
MultiCountResource
counts the number of related entities for each relation tab.Use this contribution to register any resources which must be
published under `/nice2/javascript/`.
Handles custom result beans that are annotated with
QueryBuilderResult
.A decorator for custom rules.
Class to be used to specify a custom selection for a
CriteriaQueryBuilder
.Implementation for postgres.
Deprecated.
Interface for components which are actually displaying data in a column or field set.
Deprecated.
Handler for different custom field tags (like
'<number-field>'
etc).Provides some entity model infrastructure.
The actual implementation of the data-model.
Reload action to reload the data model configuration (entity configuration).
Deprecated.
Representation class used in
DataPath.schemaNavigate(Class)
Deprecated.
Deprecated.
Directive to receive the needed Fields of the needed Entities, which are all directly or indirectly related to the User Entity, for the data_protection_report.
describes which values to check for changes when determining if data of reports/output_template(_layout),
corporate_design or template_snippet have changed
used to allow sorting on NiceDataView
A convenience class for create date and date-time objects.
builder used to create a
DateDelimitationConfigBuilder.DateDelimitationConfig
config to use with
DateDelimitedEntityService
used to handle entities that are delimited by two date fields.
used to handle entities that are delimited by two date fields
Deprecated.
Handles the reading of the date-field tag.
Deprecated.
Deprecated.
Thrown when a `before` date is afte a specified `end` date.
Creates search conditions for dates.
DateTime
bean wrapper used as a datetime type in freemarkerDeprecated.
Handles the reading of the datetime-field tag.
Deprecated.
Deprecated.
Deprecated.
This class represents a date or date-time value, with an optionally attached time zone.
This class creates
DateTime
objects from inbound date strings.Deprecated.
class providing static utilities for Date
Calculates the accrual amount by count of days after the deadline
compared to the total number of days
This authentication handler authenticates a username-password pair against the nice2 database.
A report for a diff of two databases.
This validator prevents the user from disabling templates, which are still in use.
task that checks if a debitor only has unpaid dunning expenses
if this is the case these dunning expenses will be compensated
used to define different types of debitor exports
custom exception to wrap checked exceptions thrown in a
DebitorExporter
Deprecated.
Links a selected incoming payment with a debitor.
checks for one default on the related entities
task that calculates and sets all total values for a debitor
XML reader for the decimal-digits
DecimalDigitsValidator
validator.Specify a default value for optional arguments or content.
Deprecated.
Default implementation for AddressAsStringProvider accessing
AddressService
.Creator for the default display of the "Address" entity.
Filter that applies to Calendar entities for getting the calendars of an entity model.
This builder is called if no special builder is contributed for the given child entity model.
Contribution for a default client answer.
A supplier for a default answer to a client question
A default implementation of
CollectionInitializer
which uses the EntityQueryBuilder
and CountQueryBuilder
to load the collection, which means that all QueryBuilderInterceptor
will be used for the query.Deprecated.
default logic used when connecting Educational_objectives and Reservations to each other
the following methods are defined as protected as to allow overwriting when wanting to adjust the logic in another module:
DefaultConnectLogic.orderEducationalObjectives(EntityList)
DefaultConnectLogic.orderReservations(EntityList)
DefaultConnectLogic.connect(EntityList, EntityList)
Creates a default 'detail' form.
Deprecated.
Used to represent entities in lists, fields, tables...
A displayer is used for creating default displays of entities.
Manages and returns
displayers
, used for creating default displays.Extracts fields using FulltextExtractorTypeAdapter.
The default history configuration.
Default extractor for entities.
This exception handler logs the exception sends an internal server error.
used in DefaultTemplateFlagModuleRelations hivemodule configuration point
this listener ensures that there is only on default template for a template entity
Standard
Guard
implementation which delegates the different ask/check/evaluatePermission methods to
evaluatePermission(Permission).Default
GuardFactory
implementation which supports every object and creates a DefaultListGuard
.Standard implementation for InformationException: Exception to signal failure on server and attach information for
client.
Deprecated.
Creates a default 'list' form.
Deprecated.
Current impl used for making localized field names.
Allows access to some basic methods that are useful (and harmless) for all scripts.
Default
AbstractPathResolver
that maps lookup entities to select boxes
and all other relations to remote fields.Sets the flag 'default_recipient' on other Report_recipients to false if it is set on a new one
Check if another default search filter is defined for this entity
Creates a default 'search' form.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
This class represents the contents of the <default/> tag as
specified in the xml files.
This class handles the
<default...>
tag.A hash map that will populate itself with a value obtained
from the given supplier.
Marker interface for values coming from the client that should be used in the data-binding as default values to
send back to the client.
This class collects
DefaultValueDescriptor
s.Collects
DefaultValueDescriptor
s in a
simple ArrayList
.Resolves the given default value as specified in the xml configuration to the
concrete value.
This class resolves a default value of a concrete type from the xml file to the
concrete value.
Default implementation of
WriteableMap
which uses a map of object values.A
ListGuard
implementation that accepts Entity
or EntityPath
objects
that may be from different models/paths.Describes how relations behave when the entity is deleted.
Delete action is always added that it can be used to define the sorting (e.g.
deletes Classroom entities and uses
ClassroomIntrusionHandler
to delete any additional dataDeprecated.
Recalculate the contingent whenever a movement is deleted
remove activities if start_date is older than specified duration
deletes the configured related entities on the given entity
Prevents the deletion of a
Reservation_lecturer_booking
if it already has a Wage
.Task to delete a section.
Extends the DeleteSeminarEventService to run additional logic in other modules
Contains a deleted entity and all its
referenced entities that would be affected
by a cascading delete.
Implementation of the
DeleteService.EntityData
interface,
which is part of the result structure.When a Page_content_to_section is deleted (every time a section or snippet is deleted),
all Section_visibility entities which are pointing to a widget which the deleted
section contained should be deleted.
A strategy which deletes all source entities of the merge operation
shows a warningMessage when the user tries to delete a standard payment schedule
DeleteUnreferencedBinariesBatchJob
does find and delete entries on the _nice_binary
table which
are not referenced by any other entry on the database anymore.Used to traverse a
DeletionSet
via the DeletionSet.traverse(DeletionSetTraverser)
method.Java class for DeliveryStatus complex type.
Java class for DeliveryStatusForSentMail complex type.
Java class for DeliveryType.
This deletion set traverser checks if there is an item, which cannot be deleted.
Marker interface for types whose fields should may never be read
in non-privileged mode.
Represents a display tag which can be inside a box or a table.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
CheckEvent
s can implement
this interface in order to provide a better message to devcon's ui.Contains all data that should be included in the history snapshot.
Xstream
Converter
that serializes a DetachedEntity
instance to XML.Deprecated.
Serves the DevCon index.html.
A
ModuleReader
that is used during development (when RunEnv.DEVELOPMENT
is active)
and reads the resources directly from the 'resources' directory in the source tree.Creates a dictionary of words prohibited to use in passwords for the Passay library
DictionaryService for StartupTest to avoid Out of Memory issues
Checks if the new password is different from the old one.
Deprecated.
Helper class for Directives providing some basic functions
updates
Input.last_grade_entry
when anything in DirtyInputDataEntityListener.relevantFields
is adjustedDisables the "marking" feature on all forms if the current user is not authenticated.
Disables the "marking" feature in widgets
This filter returns a 403 FORBIDDEN response if the property
`nice2.rest.writeDisabled` is set to `true` and a request is sent
using an unsafe method (method with side effects).
Dispatches events to
Subscribe
annotated public methods.Dispatches
CheckEvent
s to public methods annotated with
Subscribe
and collects the
return values.Represents a display tag which can be inside a box or a table.
Deprecated.
Deprecated.
Evaluate an abstract display-value to a concrete text at runtime.
Contains the primary key of the entity and the evaluated display-expressions.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Used to check permission of menu items.
used to easily display qualification values from
QualificationStructureMethod
in the form of QualificationEntityModel
a QualificationEntityModel
must be passed as the structure
parameter
the body of the directive is executed for the given QualificationEntityModel
and its children
the QualificationEntityModel
is available under the variable qualification
steps through the entire tree by default, checking if the node was defined as visible in report
this can be adjusted with the following 3 parameters
startLevel
- the level to start at, previous levels will be ignored
endLevel
- the level to end at, all later levels will be ignored
ignoreVisibleFlag
- do not check if a node is defined as visible in reportRepresents an artifact which will be displayed later in the user interface.
Creates
DisplayValue
s from Strings.Holds distances normalized to km offering some convenience access
methods.
Writes the Haversine function using SQL functions.
Removes the complete
Actions
menu and unwanted creation options from list view of Document when displayed
in relation tab.Custom relation counter for the DMS relation
Issues with the default implementation of the MultiCountResource:
- number of folders are ignored
- resources with field_model != null are not counted
- resources in a folder are counted
Add an efficient implementation which counts the correct number (= same as the count of the dms list) of resources
and folders on the root level.
Builds URLs for resources based on primary key and file name.
Represents an HTML document.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Creates "entity folders".
This class is used for dms related endpoints that should be shown in our public swagger documentation.
Locates a concrete domain entity in the history.
This builder can be used to create
DomainEntityId
s more
conveniently.Model for
DomainNode
.sets relContact_person and relAddress on newly created Contacts based on a related Donation
sums up donation amount for same users and same addresses together and puts it in a map
to be accessed by the report.
Check donation entity if either relation to donator user and/or relation to organisation is set.
Deprecated.
A file converter for DownloadFile which forces file download (instead of delivering it as base64 data url).
Deprecated.
A custom rule decorator that optionally prepends a package statement and a header to
a given rule.
A
DropDefaultValueGenerator
that works with postgres.Just used to force dwr to include all the converters into the dwr-all.js file.
Returns empty
AddressData
for Dummy_newsletter_receiver entities.Factory to create an empty session-only entity of type Dummy_newsletter_receiver.
A dummy client that simply creates response objects without
involving networking or other resources.
set printed date on Dunning
check dunning dates for dunning stop
Represents a duplicate configuration ('Duplicate_config' entity and its related entities).
Goes through all column defintions with a remark attribute of value "localized".
Creates a copy of a page content.
Creates a copy of a resource content.
Creates a copy of a section
All linked widget configurations and "Widget_legacy" entities (needed for section visibilities) will also be copied.
Is executed after the
DuplicateListener
and checks whether
multiple duplicate entities should be merged into one.Is executed after the
DuplicateListener
and checks whether
a group of duplicates needs to be split up into multiple duplicate entities.Deprecated.
use joda or java built in
Deprecated.
use
Duration
or Period
if you absolutely need to work with different time unitsDeprecated.
Deprecated.
Deprecated.
Calculators for duration in ReservationRegistrationEntityListener
Deprecated.
String syntax: Either just an amount of millis or:
TODO Change syntax to require hours:minutes:seconds in input, and always output at least these parts.
Time amount utility class for safely converting between time units.
Utility methods for dealing with durations (time ranges).
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Tests marshalling back an forth of objects and data structures.
Deprecated.
Deprecated.
Deprecated.
This custom providers provides information about whether a url (field: name) is edited or not
DWR service needed for the editor in the client.
This model provider returns all enabled templates of type "editor" if the
the tree context of the given node is in admin mode.
This listener sets the boolean flag "edited" on Cms_template to true, if an external template is updated and if it
hasn't been edited yet.
Deprecated.
Deprecated.
contains logic used to connect Educational_objectives and Reservations to each other
Copies educational_objectives from an existing event a created event
used when a seminar is started or lifted, or a event is logic copied
used instead of EducationalObjectiveEventLogicCopyExtension from reservation when educationschedule is installed
is used in js/nice2/optional/educationschedule/actions/EducationScheduleAssignScheduleAction.js
used to copy
Education_schedule
entities with all their related Educational_objective
and Education_content
entitiesEffectiveRecipient
is a wrapper for a Person
or Address
entity to be used as delegate for the
ConcernedRecipient
.The simple representation of a
EffectiveRecipient
to be used for client UI.Calculate `duration_effective` from fields `from` and `to`.
Checks if field duration or from and to are filled
Updates the "projection"-field, if it's null, on the "Effort"-entity to one of the following values:
example:
copy the effort projection of the project if a "Task"-entity has been linked with the "Effort"-entity
Validate related entity Effort_projection on Project,Case,Certification,Campaign entity.
Validate on effort projection entity if only one of relation
"relUser" or "relEffort_type" is set but not both.
Call this method when encountering the element specified.
Iterates through all child elements of the given tag name.
Receive the name of the current element.
Encodes all email addresses in a
PageContent
using EmailAddressEncoding
.Static class to encode email addresses.
Used to contribute all "technical relations" of Email_archive
All other relations are considered as "content relations"
Content relations are automatically copied to "answer emails".
set the email_archive_type based on relations to entities
Deprecated.
Handles the reading of the email-field tag, which is a specialized text-field.
Deprecated.
Deprecated.
used to send mails to all users that where defined in the
Email_relation_config
passed to the flowbean class to be used with
EmailRelationConfigTask
to send customized emails from Registration entitiesadds the header of the Email_template_layout to the text of e Email_template, if one is related
Loads email templates from Email_template entity.
Deprecated.
Email Address validator.
Extends the EmploymentActionResource with custom copy logic (e.g copying some fields only for DE customers)
Interface to EmploymentActionServiceImpl
Employ an applicant
An EntityList impl that contains no entries.
A module reader that does not have any resources (used when no
META-INF directory has been found).
Query
implementation that can be used when no results will be available.Contributes the
EncodedPassword
type to hibernate.Use this directive to encode an email address.
Methods annotated with @EndElement will be called when the element, that caused the
object to be on top of the stack, ends.
Static methods for dealing with
entities
.A
DataPathNavigator
which navigates over the EntityModel
This resource provides a collection of the entities of a certain type.
EntityValidators need to implement this interface and be contributed to the configuration point
"nice2.model.entity.EntityValidators" along with a filter describing which entity models will use the
validator.
The current state of the in-memory representation of an entity in respect of the
database.
Deprecated.
Fields that can be enabled to be added and used automatically by the system.
Helper class for dealing with auto fields (version, create_user, ...)
Common interface for all entity based selectors
An instance of this class is returned by the
SearchRequest
class.This service is due to apply incoming entity data.
Defines the behaviour of a cache type used by
CacheControl
used to create Calendar_event for entities with an entity calendar
also handles deletion of Calendar_event when the source entity gets deleted
Deprecated.
try to sort on the database whenever possible, refer to methods in
EntityModelUtils
Cache configuration for the conditions cache used by the
EntitySecurityDomain
Entity context that is injected into every
AbstractHibernateEntity
.Listener for entity creation events.
Helper class which allows deletion of entities
The models are ordered in a way to avoid constraint violations:
- the many to one side is deleted first (because the foreign key is on that side)
- many to many: the owning side is deleted first (because the owning side manages the join table)
Deprecated.
Special handling of entitydocs relations when the target is a Resource entity (relResource_entitydocs).
Add relation model between main widget entity and Content_reference entity (DMS).
Special handling of entitydocs relations when the target is a Folder entity (relFolder_entitydocs).
Special strategy for loading entity doc entities by primary key.
Merge handler that moves all documents to the target entity.
Provides the entity documents for the given entity.
This data-provider returns thumbnail url (as string) of an entity doc.
Does everything DmsTreeViewProvider does and adds an additional node for the current Entity-Document-Folder
if the treeContext is a EntityTreeViewContext that has as well a "parentEntityModel" as a "parentEntityKey".
Represents the errors of a single entity.
Deprecated.
The items are ordered by priority, in decreasing order.
Deprecated.
Column that points to a relation returns the default display of the referenced entity.
Implement this to convert data consumed via
ExportDataConsumer
into a specific output format.EntityFacadeListener
s receive notifications for changes on entities.Manages
EntityFacadeListener
.A fact that encapsulates an
Entity
.Creates an instance with the default constructor and injects the required services.
Represents the search params which are used to fetch an entity.
Specialized cell value for values coming from the entity system (fields).
Implement this interface and add it to the configuration point
`nice2.rest.entity.EntityFieldValueFactories` to output values
for certain field types in a special way.
Filters by appending more constraints on a query.
After commit listener creating folders and resources in an entity's folder according to Entity_folder_templates
Adds links to the required forms to entity beans.
Deprecated.
Controls the way a given EntityBean is applied to the Entity.
Interface for implementations for
EntityHandlings
.A hash-representation for an
Entity
, used in freemarker.Configuration that defines when a history snapshot is created for a certain entity and
what is included in the snapshot.
Tracks deleted entities and save them as Entity_history
A EntityHistoryConfig/ChildEntityHistoryConfig is required, as an example:
Tracks field changes on existing entities and save them as Entity_history
A EntityHistoryConfig/ChildEntityHistoryConfig is required, as an example:
Tracks field changes on existing entities and save them as Entity_history
A EntityHistoryConfig/ChildEntityHistoryConfig is required, as an example:
Class used to identify a specific entity (model + primary key).
The
EntityInsertActionResolver
creates a list of EntityInsertAction
implementations
to insert a number of newly created entities without causing constraint violations.Input: an unordered list of
Entity
instances that were newly created during a transaction
Output: a list of EntityInsertAction
instances that are ordered such that they don't cause
any constraint violations during insertion.Creates an
EntityInterceptor
for AbstractHibernateEntity
entities.Applies
FieldResolver.resolveField(EntityModel, String)
to all field references in the Node.A list of (possibly
hollow
) entities.EntityListener
s get notifications on actions taken on Entities
.TemplateObjectWrapper
for
EntityList
s added to the template model.This resolve results represents a entity list.
Rebinds resolve results of type
EntityListResolveResult
.Bean which contains the result of a query: An
EntityList
(may be limited by pagination params)
and the total count.This class consists exclusively of static methods that operate on or return
entity lists
(think java.util.Collections).Deprecated.
Deprecated.
please use api from exec package
A task to re-load an entity, if it has been invalidated.
Provides access to entities.
Methods for marking entities
Methods for marking an entity
Provides the entity merge action (old and new) to the gui (in the legacy client).
Adds the entity merge action to the forms where this action is desired (in the new client).
Contains the merge result.
Provides metadata for entities.
The model for the data-mapping, but with addional information for the nice-system.
XML reader for the entities (entityModel root tag).
Helper to prefix (and lower case) a field name.
Hashes an
EntityModel
by including all relevant fields used by the
JavassistEntityPojoFactory
so that the hash value can be used to
validate the cached class.Checks if all referenced entity, field and relation models do exist.
This resource provides the model of a certain entity type.
This resource provides a list of all available entity types.
Static utility functions for dealing with entities and relations.
Only include named entities.
Deprecated.
TemplateObjectWrapper
for
Entity
s added to the template model.Represents a certain field or relation of a specific entity
GuardFactory
for EntityPath
objects.Security domain which guards access to entity fields and relations (
EntityPath
objects)Selector factory for entityPath ACL rules.
Selects EntityPath objects.
Query builder that returns
Entity
instances as query result.Query builder that returns
Entity
instances as query result.Interface that abstracts access to the data provided by the API client to create/update entities
using the
EntityBeanRebinder
.Interface for classes that reference an Entity instance.
Builds a reference object for a simple entity.
Specialized cell value for values coming from the entity system (relations).
This resolve results represents a single entity.
Rebinds resolve results of type
EntityResolveResult
.This resource provides a single entity (a single record).
Represents the search params which are used to query entities.
The search part of a
EntityModel
.Provides static utility methods for dealing with security related to persistence.
Deprecated.
Deprecated.
Entity impl of a
Source
.helper class to provide a consistent way to send entities to notifications as strings
Utility tasks usually working on
Entity
s.used by
TemplateService
to add additional values to the template valuesDeprecated.
A task that executes another task once and caches the result
as instance member.
A task that expects an entity model name and a template id in form `Tuple.of(baseModel, id)` and
will then perform a query to fetch all template entities with those properties and relUser empty
or equal to the current User.
A task that loads previously saved relation values for a template back into the template
entity.
Task that creates a new empty template entity (entity of model `Entity_template`).
A task that takes a template entity and sets all fields read from a concrete
base entity, given by its primary key.
A task to create the special
TemplateEntity
from a normal Entity
of model
`Entity_template`.A task that expects a template entity (of model Entity_template) or a "normal"
entity and creates an URI for it.
checks if a specific field or relation (configured in hivemodule) was touched,
and sets the corresponding flag true
Tracks all newly created entities per session/transaction and inserts them using the
EntityInsertActionResolver
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
The kind of entity, STANDARD or LOOKUP.
This URI represents an entity URI.
A reference parser for entity URIs of pattern "entity://[entity-type]/[entity-pk]".
This factory creates
EntityUris
.Converter for converting
EntityUris
into
AdminUris
.converts Page EntityUris with
EntityUriToPublicUriConverter
and everything else with EntityUriToAdminUriConverter
Converter for converting
EntityUris
into
PublicUris
.Static methods for common entity operations to avoid copy/paste coding.
Deprecated.
use
EntitiesValidator
insteadThe visualisation-part of an
EntityModel
set the 'entrance' and 'exit' date on user if the fields 'valid_from', 'valid_till'
or the relation 'relUser' changes
The enum datatype is rendered as select box by default.
Iterates over all documents in a set of envelopes, while giving access to
status information, like the current envelope and the index of the item
in the current envelope.
Wraps error id generated in
ExceptionBarrierImpl
to display on the clientthis class provides functionalities for parsing esr files in the xml format
This batch job looks for entities (Reservations, Registrations, Lecturer_bookings) with conflict status
"unknown" and sets the correct status for them.
Evaluates the field 'label' of the related Questionnaire using freemarker.
A grid of
GridRecord
s to handle all promotion data about participants affected by an Evaluation
Meta data class holding all information of an
Evaluation
result to be displayed to the user.Deprecated.
returns a list of all valid Registration entities of a given Evaluation_data
arguments:
1) Entity of type Evaluation_data
updates the statistics on an Evaluation based on its Evaluation_data
use this interface to customize the behaviour of the evaluation excel export
Implement this interface to get notified when a answer is saved in the
evaluation execution widget.
Factory to create
PromotionEvaluation
instances
for different evaluation situations.Deprecated.
Deprecated.
Deprecated.
Deprecated.
allows qualification reports to be created for a selection of Evaluation_data or an entire Evaluation
task that runs an Evaluation, including calculating averages and sums, running promotion ruleNodes and writing promotion status
An Evaluation_template needs both fields ('relEmail_template_reminder' and 'days_till_remind') filled out.
EvaluationTreeGridInfo
holds all information needed to build the grid in the UI.EvaluationTreeGridInfo.CellDisplay
holds all data needed to render a cell in a EvaluationTreeGrid as used in
EvaluationActionService
.make it possible to extend the eventLogicCopyAction with additional functionality
example: qualificationEventLogicCopyExtension
Calculates the total costs, costs per participant and the break-even
from the entity "event".
The Event can only be set to the status "cancelled", if there aren't
any lecturerbooking with status "booked" and registrations with
other statuses listed in the Set statusNames.
Count the difference between
-
duration_hour_actual
and duration_hour_target
and writes it to duration_hour_difference
- lessons_actual_total
and lessons_desired_total
and writes it to lessons_difference_total
adjust seminarIsTemplate state on Seminar if all events from one seminar have the same state
Base class for hibernate listeners which provides functionality to map entities
to
EntityListener
or EntityFacadeListener
Adds the `nice2.optional.event.eventLogicCopyAction` action to the menues where it's desired (in the legacy client).
Deprecated.
Deprecated.
Setup a
PredefinedAnswers.Answer
the EventLogicCopyActionService will use to answer ClientQuestion
s
asked during executionused in EventRegistration flow to display modules of a event
validate registration with state 'booked' or 'registered',
if event overbook state is 'reject' or 'waiting-list' and
the registration amount is bigger than max participation,
the validator will give an error.
sets period_nr and relPeriod on events based on the top-most event in their module hierarchy
removes period_nr and relPeriod when their relation to relevant modules or seminars is removed
generate reservation_registration and lecturer_booking_reservation entities
Deprecated.
This service can be used to easily create or update
Event_question_answer
s for a specific
Event_question
and Registration
.Deprecated.
Deprecated.
Listener that allows contributing tasks that run in one after commit task when a registration is created.
sends an email if a registration is created using the public flow
and the flow was configured to send a confirmation mail
used to figure out which modules to display in event registration and what checkboxes to use
Extend logic of
EventRegistrationModuleTask
for fields/relations which are not available in the event modulecopies a Registration to all selected modules
- set the source to 'module_registration'
- sets mail_required to false
- relates the new registrations to the original by relEvent_registration
saves question values selected by the user while registering
notifies a responsible user by email, might be a related user or a email directly on the Event
Email_template 'event_registration_admin' is used
gets the created Registration from the User, or creates one if none exists
sets relEvent, relUser, relRegistration_source and relRegistration_status on the registration
source is set to 'event_registration'
status is set to 'waiting_list' if too many Registrations exist and the Event is configured as such, 'registered' otherwise
Deprecated.
implemented in
EventRegistrationResource
for new widgetcan be used to work with Events related by Event_relationship
Creates `Reservation_registration` and `Reservation_lecturer_booking` entities in an efficient manner.
recursively sets relSeminar and relSeminar_is_template on events based on their related Seminar
updates relSeminar_is_template recursively on all related Events of a Seminar
removes relSeminar and relSeminar_is_template when their relation to relevant modules or seminars is removed
Exam
is a wrapper for the Exam entity, providing an easy way to do common work with it.The
ExamAverageAfterCommitListener
is listening to modifications on Rating
s.representation of an Exam entity in Drools
ensures that the sum of max points on an inputs exams matches the max points on the input itself
ensures that an Input_node always has exactly as many Exam_templates as is defined by num_ratings
used to start qualification exports for Evaluation or Input
Export Evaluation or Input
Export Evaluation or Input
representation of the a excel sheet.
Exception barrier for DWR RPC Services.
Exception barrier for DWR RPC Services.
Deprecated.
Implement and map (hivemodule) this interface to handle a certain exception.
Deprecated.
This service manages the
ExceptionHandler
s.Translates a throwable to another one.
Handles
Throwable
s returned by service methods.The ExecutionContext is used as the place to put common things (objects, variables) into.
Takes multiple inputs and runs its inner task with each.
Calculate costs field if projection_km and number_km fields are not null
Validate on expense entity projection_km and number_km.
Adds the `nice2.reporting.export` action to the forms where these action is desired.
Represents a column that should be exported.
Adds the `nice2.reporting.export` action to the forms where these actions are desired (in the legacy client).
Export all values from entities which are defined lookup
beans extending from this class can be extended through the hivemodule contribution
'EvaluationStructureExportImportConfig', allowing the bean to contain new fields without changing the
'qualification_structure.xsd'
Overrides
CollectionPersister.isAffectedByEnabledFilters(SharedSessionContractImplementor)
and always returns
true.Custom
InitializeCollectionEventListener
that allows contributions for custom collection loading.Extension of
Liquibase
to be able to catch and ignore checksum errors when ignoreErrors is setOverrides
CollectionPersister.isAffectedByEnabledFilters(SharedSessionContractImplementor)
and always returns
true.This processor investigates update or insert statements to localized fields.
Deprecated.
this service is used to get the structure of a evaluation node and the points entered into it
Service to edit Event entities from ExternalEventEdit flow
This custom providers provides understandable information about the origin of a template and whether
it is synchronized with the external source (if there is one) or not.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Copy date fields from facility to reservation if reservation date fields are empty
Only for relations.
Deprecated.
A form field which represents a field of an entity model.
Utility class to resolve field paths in queries built with the
PredicateBuilder
Deprecated.
Deprecated.
Represents the errors of a single field.
Handler for 'field' tags.
Handler for the basic, unspecialized
<field>
tag.Deprecated.
Creates an iterator that goes through all declared fields of a class and
all fields of its superclass(es).
The model of one
Entity Model's
field.Represents a field tag and sub elements of an entityModel xml.
Operator for field value comparison.
This resolve results represents a single entity field.
Rebinds resolve results of type
FieldResolveResult
.Combines all contributed
FieldResolverStrategy
with the default strategy.Allows custom resolving of field names to
Attributes
.Represents a search param that contains of a single field.
Search param extractor for
FieldSearchParams
.Has a reference to a
Field
and provides methods for additional information which determine how the field
should be displayed.The result from a validation operation.
Utility class to extract operator from string containing operator and value.
Deprecated.
A module reader that is used to read resources from the file system.
A wrapper over an
EntityList
to possibly filter out entries.Represents a search param that requests a filter (entity Search_filter).
Search param extractor for
FilterSearchParams
.Deprecated.
please use api from exec package
Returns a query to find all entities with
determine_geolocation
set to true
and Geo_location_status
is not set or is error
or timeout
.Finds
LogEntry
s for a given `task_state`.Deprecated.
Deprecated.
Runs after NotificationJobListener and processes the progress and progress log (if another JobListener runs later the progress cannot be changed)
validation logic for questionnaires.
this fragment fixes all counters of all entity models
counters need to be of type "counter" to be considered
fixing consists of the following actions:
- sets new counters on entities (can only happen with faulty databases, counters are not-null and unique)
- deletes counters which have a businessunit but should not have one, and the other way around
- deletes duplicate counters, meaning the same field, entity and businessunit (if entity model is linked to businessunit)
- creates counters that should exist, but do not
- set counters to correct count
A list iterator for fixed-length lists that are a list-representation of fields.
A handle to map the list elements to their underlying fields.
Generate missing search text for resource content entities.
Layout used for a multi-select field.
Xml reader for the flip-flop multi-select field layout.
Marker interface for types whose fields should be ignored when
rendering flows for crawlers.
GuardFactory
for entity document folders.Model for
FolderNode
.Efficient implementation of the following rule for Folder entities:
Returns all Folders with key in treeContext.getTreeStartNode() (comma separated list).
merges the folder 'resources/font' of the conversion module and the folder 'share/resources/font' of the
current customer into a single temporary folder.
Deprecated.
A form component represents any kind of form written in xml.
Deprecated.
Use methods of date beans directly (i.e.
Set/Override the form_base in the configObject with the form_base of the related form entity.
A builder to dynamically create
Form
instances.Parses existing xml forms into the new structure which will be used by the REST api in the future.
Collects and manages form during parsing.
Search param extractor for
PlainQueryParams
.Deprecated.
The root handler for parsing forms.
Deprecated.
Interceptor to modify forms on the fly (for example to add custom actions).
Deprecated.
This action factory reads the actions from the form model as defined on the form's xml.
Deprecated.
Deprecated.
Deprecated.
Reload action to reload the form configuration.
Set/Override the form_name in the configObject with the form_name of the related form entity.
This resource provides a single form.
Deprecated.
Deprecated.
This resource provides a collection of all available forms.
Deprecated.
Deprecated.
If a custom formula is needed, add a custom implementation annotated with
Primary
Deprecated.
used to create and delete intrusions for Forum entities with a Classroom
additional to a Forum_intrusion entity, the administrators on a forum are set to the admins and moderators of the classroom
helper class to check topic status and set topic and post counters
This class holds the contributed
InstallFragment
together with
information provided from the contribution.A report from installing a fragment.
Validates if the code field of the Freemarker_code_widget_config is valid freemarker by evaluating the freemarker code
This resource provides all available freemarker keywords
This output processor renders the freemarker template main.ftl with the
given model and writes the processed content onto the response.
Resolver strategy for default values.
ReportFactory using Freemarker as a TemplateEngine
Resolver strategy for default values.
This bean is used to control template processing in the templates.
Interface for handling any field type and mapping field names to index field names.
Deprecated.
This listener handles all create, update and delete actions of any entity type.
This is the main service of the enterprise search functionality.
Represents a fulltext search field.
Helper for appending fulltext to an existing query.
What kind of fulltext search it is:
FulltextSearchBuilder.SearchScope.FULLTEXT
, FulltextSearchBuilder.SearchScope.RELATION
or FulltextSearchBuilder.SearchScope.REMOTEFIELD
.Factory for creating
FulltextSearchBuilder
instances.This interface is only to have one interface combining both
FulltextSearchBuilderFactory
and SqlFulltextSearchBuilderFactory
to allow double registration.Used for operations in the flow (web) UI.
Handler for 'fulltext-search' tags.
Handles reading of the 'fulltext-search' field xml model.
The fulltext-search part of an
EntitySearchModel
.Handles the fulltext-search tag inside a search tag.
Represents a search param that triggers a fulltext search for an entity type.
Search param extractor for
FulltextSearchParams
.A data transfer object for a fulltext index search query.
A data transfer object for a fulltext index search response.
A data transfer object for a result document (i.e.
Provides datatype-specific behavior for fulltext searching.
Used to collect futures of
CollectingAfterCommitListener
.A generic validator for verifying email addresses.
Sets the
salutation
and address
strings for all EffectiveRecipient
s of the given CommunicationTarget.ClientRepresentationmethod to generate a calendar export url
usage:
${generateCalendarUrl(calendarExportConf)} ← uses the installation base url
${generateCalendarUrl(calendarExportConf, "http://test-url.com")} ← uses the 2nd parameter as base url
This visitor assumes depth-first traversal and creates the initial db changelog for
db schema and constraints on each node visit.
generates educational objective
Deprecated.
Generates missing model forms with a template (FormTemplateProvider)
Task to generate the OutputJobBuilder for a given Serial Correspondence
method to generate a sso registration url
usage:
${generateRegistrationUrl(openIdLinkInformation)} ← uses the installation base url
${generateRegistrationUrl(openIdLinkInformation, "http://test-url.com")} ← uses the 2nd parameter as base url
Bean class holding parameters for report generation from client (GUI)
Generates reservation for selected events
Generates Reservation_registration entities after csv data import
Freemarker method that generates a random UUID.
handles Calendar_event entities for all entity models defined in
CalendarEventContribution
when
- creating
- adjusting
- deletingDeprecated.
The validator checks if a condition is valid for a list of entities.
A generic policy processor to handle the write access for hierarchical business unit structures.
Helper structure that contains all referenced related
Entity
instances per batch, so that they have to be loaded only once per batch.Task for the GenericImporterAction
- splits the file and commit each split
- write file with error rows
create display of generic_label report on list and detail (in the legacy client).
Adds the new generic label report action to the forms where this action is desired (in the new client).
Deprecated.
Generic listener that publishes Resources satisfying any of the contributed
GenericResourcePublishPredicateSupplier
s'
Predicate
Must run after EntityDocumentsPropagateRelationEntityListener
which is ensured by implementing
this listener as CollectingAfterFlushEntityListener
(EntityDocumentsPropagateRelationEntityListener
is a normal CollectingEntityListener
and runs before the after flush listeners).Implement this interface and contribute to
GenericResourcePublishEntityListener
to have Resource entities satisfying the provided Predicate
automatically
published upon changes or creation.Response object (partly!) as returned from googles web service.
Creates geocoding-tasks for specific geocoding services.
This service queries a geocoding service to retrive geographical location intformation
for a given address query.
Base exception thrown by services in this module.
This service runs the geocoding service for the given address query to retrive geographical location
intformation.
Calculates how many years are between param and now
Takes a primary key of a Page_content_to_section entity and returns a list of all available content states.
Java class for GetDeliveryStates complex type.
Java class for GetDeliveryStatesResponse complex type.
Java class for GetDeliveryStatus complex type.
Java class for GetDeliveryStatusResponse complex type.
Receives a `Docs_browser_conf` as single argument, resolves the linked root folders (`relRoot_folder`)
*in privileged mode* and returns their primary keys as string along with a boolean flag whether it's an
entity document folder or not.
returns a
EventModuleRegistrationService.EventModule
for a passed eventresolves the events of a given input data
Entity
usage: getEventsOfInputData(inputData)Returns a list of the keys of the entities in a list.
Task that resolves a set of optional relations to find a related entity.
Returns the primary key of the entity docs folder of the currently logged in user
(or null, if not logged in)
Task to get the price of an article.
This task fetches a list of all running tasks.
Receives a `Public_dms_conf` as single argument, resolves the linked root folder (`relRoot_folder`)
*in privileged mode* and returns its primary key as string (or null, if no folder is linked).
Method to get field `uuid` of an entity in privileged mode.
Expects a Resource or Folder entity and resolves to the linked
target entity as specified in the field `entity_model`.
returns the rating of a given input data
Entity
or a text resource
in case of dispensation.Get all selected page states.
Unifies the returned maps of several
AbstractGetSelectStatesTask
in a single map.Get selected widget states.
Returns either the entity of the principal with the given username or
null
.Get a list of all available snippets.
provides all answers given in the passed
Survey_question_answer
Entity
.Freemarker wrapper for ActiveVatRateService
- gets the correct Vat_rate for the given Voucher
A glob implementation.
Enum for wildcards.
Normally if an entity is bu-dependant, the field is only unique per business unit.
Implements the functionality of the 'glob' user type.
A generic validator for verifying that a Number is within an allowed range.
https://developers.google.com/maps/documentation/geolocation/intro
encapsulates any country specific logic used in comparing grades
bean class to hold different types of data used in evaluation display
ensures the grade scale is set correctly on evaluation nodes
Simple representation for an
Input_data
entity to use in the client UI.Deprecated.
This cache caches the results of
Selector.isSelected(RelationModel, EntityReference, EntityReference)
.SelectorFactory
that creates selectors based on groovy expressions that
are evaluated using the GroovyEvaluationService
.Deprecated.
groups a sequence of EntityHashModel by a path, given as a String, and orders them by an order query, also given as a String
usage: groupBy(data, "relAddress_c.relAddress_status.unique_id", "sorting desc, query")
groups a sequence of EntityHashModel by a selected month-field and order the groups ascending or descending
Base interface for the Group Validators (validators containing other validators of any kind).
Handles the validations tag with children as well as the group tag.
Static utility methods for dealing with
group validators
.A restricted, non-modifiable view on a
GroupValidator
.The
Guard
protects a single object.The result of a permission evaluation.
Abstract
SecurityDomain
that caches Policy
instances and shares them between different secured objects
that use the same rules (per SecurityContext
).Provides additional functionality for custom guard implementations, like
access to the current principal and security context as well as the ability
to evaluate conditions.
A contribution which enables other modules to inject custom
Guard
implementations to enable custom security behaviour for certain objects.Url validation
Base class for HAL representations.
Class for links built according to the HAL specification.
Strategy of
Authenticator
using a contributed list of AuthenticationHandler
s
that are asked to vote for the passed credentials.Implement this interface and annotate it with @Primary to override the default
implementation
DefaultHasAnyEditableQuestionProvider
in a customer module.Helper fact to set a node to use formula for grade calculation
This query function makes it possible to use binaries in queries.
displays body if currentUser has one of the given roles
Template Directive to check if a value exists
Compares the value with the emptyValue of his type
If the type can't be evaluated, only checks if the value isn't null
Represents the head element of an HTML document.
Represents a header entry.
Represents a collection of HTTP header entries.
This model provider returns an empty
Headers
instance.Utility to find the head element in an HTML document.
Extension point which enables other modules to participate in the hibernate bootstrap.
Core configuration of the session factory.
Uses the
PersistenceService
to evaluate the conditions.Builder for a
Map
of commonly used hibernate properties.Loads hibernate configuration properties from *.properties files.
Hibernate adapter for the
Query
interface.Deprecated.
The strategy handler for the
HierarchyStrategyType.HIERARCHICAL
type.Provides a
HierarchyStrategy
for a specific HierarchyStrategyType
.Defines a read/write access strategy for hierarchical business units.
Deprecated.
Initially creates all necessary tables and indices required for the
history database.
Initializes a separate
SessionFactory
for the history database using the
properties of the 'hikaricp.history.properties'.By default the history is only enabled in
RunEnv.TEST
and RunEnv.PRODUCTION
.Grants access to the history for all entities to the 'configurator' role.
Deprecated.
Deprecated.
This class (split up into several listener inner classes) provides the entire functionality to create a history entry.
Deprecated.
Deprecated.
Handles
HorizontalBoxImpl
componentsDeprecated.
Deprecated.
Implementation of ConverterConfig for Html2PdfConverter.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Lower prio than 'text'.
This user type is required because there are multiple extensions for
type "html" located in different modules.
Parser for the Accept-Language HTTP Header value.
Retrieves credentials from the request header as specified in
RFC2617 and
returns a
UsernamePasswordCredentials
object if
such header is found.Makes an HTTP Get request to the url.
Holds the value of the X-Language request header.
Holder for the current session id of the client.
Filter stores the clients http session id to the current thread.
XML reader for the IBAN
IbanValidator
validator.Verifies that a field contains a valid IBAN.
Validates that the identifier-names are valid (ConceptionModelValidators).
this directive renders its body in the NULL business unit
Adds xml handler methods which ignore all elements which are
not (yet) handled by the class that implements this interface.
Ignore the return value of a method.
Deprecated.
Deprecated.
Deprecated.
The final states of a authentication challenge.
Contribute a mapping for roles that imply other roles.
Provider for implied roles.
Adds the `nice2.entityoperation.entityImporter` action to the forms where this action is desired (in the new client).
imports camt.053.xml files
imports camt.054.xml files
a factory providing a (potentially stateful) implementation of an
ImportConverter
Stateful service that converts values.
Provider for
ImportConverterService
which can not be injected because it is stateful.example:
Adds csv import action to the "Actions" action group if the currently logged in user has create permissions on the
current entity (in the legacy client).
This class was generated by the JAX-WS RI.
This class was generated by the JAX-WS RI.
Java class for IncaMessage complex type.
Java class for IncaMessageMeta complex type.
Handles the adding of a template to a form.
Creates a
IncomeMail
object from each Message
and sets it into
the MailboxReader.Context
using the hashCode()
of the
Message
object as key.Wraps a
MimeMessage
from an inbox.This handler provides methods which are used in different places where incoming payments are handled.
Depending on what modules are installed, incoming payments must be handled differently (e.g.
provides functionalities for handling the Incoming_payment
Index extractors can be contributed per entity type.
Compare info boxes to create an ordering.
Sets and gets preferences for an info box of the current user
and current business unit.
A remote service for getting info boxes.
Implements the nice_info cookie.
used to add data to the nice_info cookie
Marker interface for exceptions that return information to the client.
Creates Exceptions which are shown to the user
Put result that also knows about changes done in the same transaction of which the
sender was not aware.
This simple helper calculates the depth of the inheritance tree.
This filter adds the response header for every request and specifies some global
error handling.
An initial relation provided by the client when creating the binding for a new entity.
This fragment creates and fills the initial_values_status table, which is used in
YamlInitialValuesFragment
to figure out how to handle values that are inserted into existing databases.A
PersisterFactory
which delegates object creation to PersisterFactoryImpl
and then injects services into the persisters if a suitable setter is found.Deprecated.
Deprecated.
runs evaluation when Rating values are changed
updates num_ratings for changes on text ratings, and runs evaluation for changes to dispensation or grade
Resource is available for all logins since InputEdit can be used as a widget.
used to validate if the InputEdit action is allowed for some inputs
checks if inputs are not closed and if the Input_nodes are compatible if multiple are given
updates exams and runs evaluation for an Input where the number of ratings changed
ensures every Input has a related Evaluation
see TOCDEV-1007, this validator mainly exists to discover the source of incorrect relation handling in the system
Enumeration for rows not containing the actual rating data.
used to determine if a input excel import is running
ensures that the field
points_max
of the entity Input_node
is set if the relation to the
Input_type
with the unique id points
is set.wraps a
Evaluation_node_input_node
calls
AbstractInputType.aggregateInputData()
on the Input of all updated or created Input_data entitieswraps a
Input
entityIn
AbstractCriteriaBuilderWrapper
,
if the order by expression contains a join to a table that has security restrictions,
the expression is wrapped into a 'CASE ..Inserts a new entity into the database by calling
Session.persist(Object)
.This post processor appends a meta tag named "fragment" to the document head.
Insert a snippet into a page.
An installation step is a complete installation of a certain part of the
system.
An install fragment is part of a
InstallationStep
and encapsulates a single
action that is run during install.Collects a set of parameters.
Simple "bean-like" implementation of
InstallParameters
Deprecated.
Integer as in "not a real" (mathematically), covering all types
byte, short, integer, long.
Node that can be extended to integrate custom nodes and behaviour into the tree.
Wraps the
CriteriaBuilder
instance created by Hibernate and adds additional
conditions (created by QueryBuilderInterceptor
instances) when predicates are
created that involve JOINs.This class is used for dms related endpoints that should not be shown in the public swagger documentation.
Deprecated.
Deprecated.
Deprecated.
use
EntityFacadeListener
directlyAccepts all
CalendarEvent
s that are within the specified range.The default unmarshaller.
This listener invalidates the cache of the template loader, when a template is changed.
Indicates wrong counter values.
Used when passed credentials are not valid (i.e.
This exception is thrown if an order path doesn't exist for the
given base entity model.
Exception thrown by the
SecurityManager
when the policy validation fails.Base interface with common methods for the different invoice action interfaces.
Task that invokes the
OrderGeneratorService
for a selection of entities.Simple
UsernamePasswordCredentials
holding information in String objects.Deprecated.
predicate that can be used to check, if several fields and relations are the same between two entities
Helper fact to set a node to "graded" (i.e.
Used to create
ItemReaderContext
which
is used to create item readers.Used to create item readers.
Deprecated.
Deprecated.
Deprecated.
Factory for builders for column/constraint iterators
Deprecated.
Servlet for logging javascript errors.
Servlet which produces JS and jsb2 package files.
Contains helper methods for creating annotations with javassist.
Creates a subclass of
AbstractPojoEntity
based on an EntityModel
on-the-fly for use with hibernate.This interface can be used to contribute additional query functions that are based on raw SQL.
Registers the user types for
DateTime
and LocalDate
.A default client answer supplier that translates a json-object to a
ClientAnswer
This parameter mapper reads the tracking params from the JSON object
within the request body.
Deprecated.
Builds a tree out of the entity and relation events
allows cookies to use JWT to sign their content
Investigates changesets for dropColumn tags that are localized and specified with
keep_default
.A wrapper that sorts the EntityList automatically by a given sequence of PKs.
A wrapper over an
EntityList
to sort the entries by PrimaryKey.A query function that allows to search by primary key.
Deprecated.
Compiles a `KnowledgeBase` by aggregating system and custom rules.
The main entry point to the i18n system defining the l10n for the current thread.
The represents current localization context.
Resolves the virtual localized field to the actual localized field for the current locale (value → value_de).
Deprecated.
If the label of this component is to be used in the gui.
Deprecated.
Deprecated.
Use
QueryDirective
in combination with ListDirective
Marker interface so far.
Can be used to layout a form in different ways.
The type of the
Layout
.An abstract xml handler that handles layout components.
Handler for 'vertical-box', 'horizontal-box' and 'table' tags.
Reader for the layout tag.
Horizontal vs.
An implementation of
EntityList
that delays initialization until the entities are actually accessed.Auto complete for Lecturer_booking
a) if user is set and default salary exists for this user, override existing values for Salary, income_per_hour and Salary_type
b) if salary is set, override existing values for income_per_hour and Salary_type
Creates and deletes Reservation_lecturer_booking entities.
calculates the total lessons from lecturer booking
configures
LecturerBookingUserUpdateListener
to update any relation based on a change in Lecturer_booking_relUserDeprecated.
How to control which legacy actions should be enabled:
1.
Deprecated.
can be removed once we no longer support netui/dwr
Deprecated.
Listener sends notification to the legacy client if the progress changes
XML reader for the length
LengthValidator
validator.Verifies that the length of a string is within the borders specified (min/max).
Copies on licence type related billing positions to current created licence
Copies dates from/till on related licence season to current licence entity if date fields are empty
Checks if there the fields valid_from and valid_till are in the
saisonperiod.
Implementation of our old "fulltext-search" function.
Exception to pass to the client when any
Throwable
occurred during RPC execution
when the server runs in live mode.Represents a line in the csv file that is to import.
Deprecated.
Generates the value for the
<link/>
tag of a relation.Listener which gets notified by liquibase and logs currently running and failed changesets.
A directive that iterates over a
TemplateSequenceModel
.Deprecated.
Returns all business units that the principal is associated to by the
specified role.
Adds wildcard at end of last term (results in "(myterm OR myterm*), if:
* real search server is used and the search is not directly done one the database
* term is not a number
* term does not start with a quote (")
* term does not end with a wildcard or question mark (* / ?)
* term does not end with a brace (()
* term does not end with a range operator (] / })
* term is longer than one char
used to create and delete subscriptions for Lms_object entities with a Classroom
additionally, "openable_when_completed" is set to false
finds the Lms_subscription of the current principal for a Lms_object, if one exists
uses
LmsSubscriptionQueryService
Parameters
key of lms object as longLoad an article with the primary key.
Template Directive to load the current user
Directive for
FreemarkerEngine
to load a collection
of entities from within a template.Includes a font as '@font-face' CSS.
Includes Google Fonts in your CSS.
Template Directive to load URL of an image from the repository
This directive loads the HTTP path of a node.
loads paths for a given freemarker EntityListSequenceModel
parameters:
1.
Load the path for the redirect (in privileged mode).
This directive loads and prints the references which point to a node.
This directive loads a thumbnail resource from an entity.
Helper class for loading entities.
Deprecated.
use freemarker syntax directly (e.g.
LocalDate
bean wrapper used as a date type in freemarkerLocalTime
bean wrapper used as a time type in freemarkerThis class creates
LocalDate
objects from inbound date strings.Parses a Locale string into
Locale
objects.A
LocaleResolver
is responsible for detecting the current locales.Service for dealing with
locales
and languages.Utilities for dealing with locales.
Locale match scores.
This resource provides the best available locale for a given locale.
This resource provides all available locales.
Provides utility functions for handling
Locale
s.Specifies to which level a locale needs to match.
This processor looks for localized columns and sets its final column name depending
on the language.
Display value evaluating a label of a localized field for a component
depending on configuration parameters in the form xml.
This class is meant to help with localized fields.
Deprecated.
Use the methods provided by
EntityModel
Deprecated.
Use the methods provided by
EntityModel
In case of a
FieldModel
, includes only those that are localized.Used to localize a field after it has been created
This class creates
LocalTime
objects from inbound time strings.Represents a location in some resource.
Deprecated.
Represents a location field, which is used to write multiple fields (see config) simultaneously
Deprecated.
Model reader for the "location-field" tag.
Deprecated.
Deprecated.
See equivalent JPA lock modes for details.
A pool of keyed locks.
A shared keyed lock.
Represents a log entry.
Additional state of a log entry to the flag `failed` or `completed`.
Retrieves log files and their content.
Retrieves log files and their content.
Deprecated.
Logs every model check error to tne configured logging facility.
Deprecated.
Deprecated.
Deprecated.
This references resolver returns all domains, which have the given page set as login page.
Returns a JSON object containing the following information:
- success (true, if a known principal currently is logged in (not anonymous))
- timeout (how long the session is valid (in minutes))
This servlet actually doesn't refresh the session.
For adapters or other contributions to implement if they would like to receive the logger
from the TypeManager when they get created.
Deprecated.
Creates a default 'detail' form for lookup entities.
The default configuration for lookup entities.
Creates a default 'list' form for lookup entities.
Creates a default 'search' form for lookup entities.
FormTemplateProvider for standard lookup entities
FormTemplateProvider for search forms of standard lookup entities
Deprecated.
please use tasks in
EntityTasks
Deprecated.
Extends the MailAction before the mail is sent
Implementation of
MailboxReader
that reads all messages of one specific folder.Iterates through a set of
Message
s passing them to a provided MailboxReaderHandler
.Context that may be used by the
MailboxReaderHandler
to communicate to
the MailboxReader
and to store information while iterating.This validator ensures that a folder can't be marked as an mail box
with settings so that the actual user couldn't edit it anymore
can be used in scripts to build and send mails
Contains the configuration for a mail form widget.
Provides more comfortable access to the configuration of a mail form.
This validator ensures, that
there is at least one recipient (either on the mail template or on the widget config)
there is a mail body on the template
DWR service for MailFormFlow.
Entry point to the mail integration system.
An abstraction that enables to use the
MessageProcessor
using different
kinds of mail representations.The processor applies the provided
MailWorker
s.Gets the
IncomeMail
object from the context and feeds in into the MailProcessor
.Thottles method invocations by allowing N invocations per second
using guava's
RateLimiter
.Stores the mail in "Email_archive" using the
MailArchive
service.Classes that work on mails.
Screen=main-modal, scope=update.
This is the only
ExceptionMapper
which is registered in the Jersey
config directly.Instantiates the
MainExceptionMapper
.Screen=explorer-main, scope=list.
Screen=main-modal, scope=update.
This URI resolve strategy tries to resolve a domain (by URL and alias field) and from this point on step by step
the remaining URI (only taking the name of the subnodes into account).
Handles the reading of the "mandatory" tag.
Verifies that a field is filled in.
The class
ManifestImporter
imports the manifest into the database.Directive for
FreemarkerEngine
to add days to a date.Deprecated.
This search handler is needed for the legacy actions in the new client only.
Splits a string by the new line chracter, filters empty lines and maps the remaining lines to a simple template.
ResultRowMapperFactory
that returns the query results in a nested Map
.Add actions to mark entities on detail and list (in the new client)
ActionService for marking entity
ActionService for marking entity
Iterates over all documents in a set of envelopes while marking the first page of
the first document in an envelope.
Is entity marked or not
QueryParameterHandler for search by marks
This utility class provides functionality to replace certain markup
pieces in a markup string.
Provides the "mass mutation" action to the gui (in the legacy client).
Adds the mass mutation actions to the forms where these actions are desired (in the new client).
Mutate multiple records at once.
A service to determine if the MassRegistrationAction is running in the current thread.
helper class to easily round values to a given decimal in promotion rules
Static class providing utility methods for maths tasks
handles single choice matrix and multiple choice matrix questions
This class adds a save button to the membership_administration detail view
because the default actions are disabled, yet a save button is needed.
Implementation of
AbstractMembershipHierarchyPolicyProcessor
for 'Membership'
entities.Deprecated.
Deprecated.
Deprecated.
Deprecated.
DWR Service for membership registration stuff
Deprecated.
for new widget email is sent direcly in
MembershipRegistrationResource
Extends the MembershipRegistrationResource with custom copy logic (e.g copying some fields)
Deprecated.
This DWR service provides further information about membership types.
Check if fileds are filled when there is set a certain type.
set the user_answer flag to true if a related user exists
An implementation of
EntityList
that loads the entities in batches (similar to LazyEntityList
),
but uses a new Context
for every page.A menu item.
Used to create labels for a menu item.
You can only use
RootMenuItem
's as selectors.used to generate multiple reports together in a single Output_job
this task merges Order_position entities if all relations and field on the detail form are the same,
except:
- nr
- quantity
- total_net
- total_vat
- total_gross
- relOrder (we only get Order_position entities from the same orders anyway)
while merging, the quantity and discount fields from two order positions are added up
bean representing an OutputJob to be sent back and forth between client and server...
set a field or relation to be checked in MergeOrdersTask or MergeOrderPositionsTask
set isRelation="true" for relations
Add field to check:
set a field or relation to be checked in MergeOrdersTask or MergeOrderPositionsTask
set isRelation="true" for relations
Add field to check:
Java class for MessageAttributes complex type.
Can be used as last handler with
CompositeMailReaderHandler
that will set the Flags.Flag.DELETED
flag on a message if the context contains a attribute.Java class for MessageHeader complex type.
Divides a
MimeMessage
into text and binary parts.Access jdbc metadata associated to a connection's database.
Deprecated.
Provides additional information about the data model that are specific to JPA and cannot be resolved using the
DataModel
.This service is eagerly loaded at startup and observes
all tasks executed by the
CommandService
and collects
metrics if necessary.Servlet filter that collects metrics for certain HTTP requests.
This service is eagerly loaded at startup and observes
all tasks executed by the
TaskSchedulingService
and collects
metrics if necessary.This is a threaded service so we can simply cache the
MetricsData
for the current thread.ServicePointListener
that intercepts 'remote service' calls and
collects metrics.Deprecated.
Java class for MimePart complex type.
Helper for mime type and file extension evaluation.
A
NiceModelProvider
that creates default detail, list and search forms for all entities
if no explicit form exists.This exception indicates that the request body is missing.
Screen=explorer-modal, scope=create.
Screen=explorer-modal, scope=update.
Mode for resolving an URI.
Mode for getting the page content.
Describes the execution of a task; such as
whether the task is executed in a transaction
can control exception handling of
PersistException
.The root-interface for the data-model.
Iterator that is iterating over all model elements (
FieldModel
and/or
RelationModel
) of an entity model or all entity models of a given set.Persist exception thrown when the model had an error.
Tree object marshalled to client.
The exception thrown by
ComponentValidator
s.Validates the model during reading.
Allows to wrap
PersistTask
s for implementing modes.modifies the configured fields on the given entity
take note that if the same field is modified in multiple contributions, only the one from the last module is used
modifies the configured relations on the given entity
take note that if the same relation is modified in multiple contributions, only the one from the last module is used
update the field
lessons_actual_total
by adding up the duration_hour_actual
of the current (parent)
event and the duration_hour_actual
of all child events.Only includes relations, whose source entity has not been defined in the given module.
An iterator iterating over all entity models specified in a module.
Includes only those fields that are provided in the specified module.
A filter for collections of
RelationModel
s that removes any models not
from the specified module.Iterating over all relation models defined in the given module.
This provider is intended for reading configuration of all the modules.
This resource provides a list of installed modules
Resource is mapped to "/modules".
Support dealing with modules and db changelogs.
Read all text-resources of the modules
This value class handles money.
Deprecated.
Deprecated.
Deprecated.
Creates a billing_position for a movement when an article is added or changed or the
fields quantity and estimation are adjusted.
Deprecated.
A wrapper to handle multiple
entity lists
as one.A simple multimap implemenation that is serializable, i.e.
This class is respsonsible for creating salutation and address strings for a list of
user entities.
Deprecated.
This exception is thrown, if an URI resolves multiple nodes.
Deprecated.
Deprecated.
Tag 'multi-remote-field'.
Deprecated.
The multi-remote-field part of an
EntitySearchModel
.Deprecated.
This resolve results represents a collection of other resolve results.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
An enum denoting a possible source for an upload.
logic implementing this interface gets a name and is only active when configured through Input_node_relInput_data_logic
A named list class providing easy access by name to an ArrayList in rules.
Deprecated.
Deprecated.
Deprecated.
Implementation of
MailboxReader
that reads all messages of a folder
while recursively stepping down in nested folders.Used to annotate a nested bean of a custom query result bean.
Serves the static file for the new client.
Create a new
LocalDateBean
.Checks if the birthdate of the user lies with in the given range on the licence_type
Service to dispatch a newsletters to the selected recipients.
Standard implementation of the
NewsletterDispatchActionService
interface.Modify all newsletter links to track the clicks.
This filter requires an URL parameter called "receiver", which contains the UID
of a Newsletter_receiver entity.
This listener updates the "receiver_read" field of the corresponding
Newsletter_dispatch everytime a Newsletter_receiver is updated.
This filter relates the link and receiver entity when
a link is clicked in the newsletter.
Simply rebinds the values to the newsletter entity.
Jersey Servlet instance for Nice2.
Resource config for Nice2 REST resources.
Interface for a Nice2Template
This immutable class represents the nice2 version scheme as
described here.
Sets the content of 'nice,version' to system property `nice2.version`.
Something that contains actions.
A custom
LazyInitializer
that is aware of the Entity
interface.Custom
ByteBuddyProxyFactory
that sets our own custom lazy initializer
to the created proxies.The data-model which nice uses for internal representations.
Provides extensions of the
FieldModel
which are not available through the JPA datamodel.Adds parts of the model from a single-resource.
A Model-Provider represents a separate Reading-Phase or store.
A tree containing model information per module.
The validator validates the model during the reading-process.
Base interface for nice URIs.
A factory for creating
NiceUris
.Each binary field must have a foreign key into the _nice_binary table.
Immutable class holding information about a node.
A custom
CollectionInitializer
that initializes the sub resources of a folder.Contribution to assign a Node_permission to a node type.
Holder service point for necessary service points in Nodes
Generic visitor for simple trees.
Exception thrown in
Entities.resolvePathWithoutLastStep(Entity, Path)
when resolving a relation path did not
return an EntityA field is present but there is no corresponding column in the database table.
See: http://wiki.openstreetmap.org/wiki/Nominatim
There is no table corresponding to the entity model
This exception handler sends a 404 error code.
This references resolver returns all domains, which have the given page set as 404 error page.
Represents a notification that is displayed on the client.
Listener sends notification to the new client if the progress changes and the job is started/finished
should run after StartingTaskExecutionJobListener and before FinishedTaskExecutionJobListener
Represents a notification that is displayed on the client, which represents
a running task.
Temporary exception, this will be removed.
Implement this interface if the bean may contain a null value.
Base class for values which may be null.
Make sure that the entity validation runs in the
BusinessUnit.NULL_BUSINESS_UNIT
.Wrapper for returning null for fields of type 'counter'.
This is a placeholder which is used if a single relation resolves to null.
This object wrapper creates a
EntityHashModel
with null as entity delegate.Wrapper for not returning any primary key info.
A
null
worker used for prioritizing workers.Hack to have fields in entity forms that are not related to an entity field.
Model reader that gets used when the relation is disabled.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Mapped to all numeric data types for which fulltext searching is enabled.
XML reader for the number-range
NumberRangeValidator
validator.Verifies that a number is within an allowed range.
Provides functionality to converting between Java objects
and matching JSON constructs.
Converts objects using Jacksons
ObjectMapper
.This object contains factory methods for each
Java content interface and Java element interface
generated in the ch.tocco.nice2.optional.incamail.impl.soap package.
Could not get a hold of the object.
Deprecated.
This handler transforms an
ObjectOutdatedException
into an
ObjectOutdatedExceptionHandler.ObjectOutdatedInformationException
which is sent to the client.Deprecated.
Filters all offtime calendars of the specified entity model.
This listener must be created using "threaded" model and registered to entities of type "Offtime_event".
validates if event_count or until is set on Offtime_event
Collect the old paths of this node.
Deprecated.
this listener makes sure that always one specified default value exists.
example:
Listen to Voucher_type Entities whose standard Field is called standard
Deprecated.
This listener sets the sso fields (sso_subject and relOpenid_provider) according to the corresponding values
on the linked user.
This processor checks whether the current request URL and the optimal path of the resolved node are equal
and does a redirect to the optimal path if this is not the case.
Deprecated.
A task encapsulating the
null
-Check allowing for better chaining
of tasks.Deprecated.
use same named class in exec package
Always allow OPTIONS requests.
validates if the account on the order isn't present on any order_position
It validates that order billing date is
in range from not closes financial years.
example:
set a field or relation to be ignored in OrderBillPrintedEntityListener or OrderPositionBillPrintedEntityListener
set type="field" for fields and "relation" for relations
by default contributions are used for Orders, this can be changed by setting model="Order_position"
this service contains all the order booking logic
Can be used to order a list of entities by an order string.
this service contains all the order cancelling logic
checks if an order has more than one debitor
Sorts the selected order or dunning entities by the given sorting path from report settings entity
used to describe illegal states of orders when booking them
service to create and update billing and delivery address block for orders
example:
example:
This class specifies the ordering policy of a query.
One of ASCENDING, DESCENDING
Represents an ordering rule.
Takes a string of orderings and returns
Order
objects which can be
used with QueryBuilder
.validates if the incomeAccount isn't the same as on the related order
set action CreateOrderPositionAction as default create action
Only allow order positions to be created on orders which aren't booked
set a path to a boolean to be checked in OrderPositionDiscountEntityListener,
with an expected Value
Service that may be used for creating order positions
Contains methods to copy values from articles and billing positions to the order position.
Service that generates order rates for a given order
this service calculates the Order_rates for an Order, the rules are as follows
- the initial_rate is always enforced (if the value exceeds the totalGrossMc
then one rate with the value of totalGrossMc is created)
- normal rates refers to all rates except an initial_rate if present and the last rate
- the minimal_rate is enforced for all normal rates
- the rounding is applied to all normal rates
- no negative or 0.00 rates are created; therefore the numberOfRates is only a guideline and not enforced
if other criteria have to be met
Deprecated.
Thrown when update action fails because saved record is
outdated (version field on record is used therefore).
Deprecated.
Server methods for client side OutputCenterService: used to give user access to generated documents.
This Interceptor collects all loose actions in the output group and puts them into an actions sub group and sorts them
If there is no contribution the label and timestamp of the related Output_job is used as default display of the Output_job_item.
Adds the documents of an output job as attachments to the mail.
A merge item is either linked to an
OutputJob
, to an dms document
or to both.Deprecated.
This service provides functionality to order contributions by module.
A strategy to find ACL rules that grant permission to all depending on some relation to the logged in principal.
A DWR service for changing the content of a page.
This exception is thrown if there occurred a problem while fetching
or saving page content.
This class provides the main content of a page.
A service to read the content of a page and also to do all changes and to publish a page.
This utility provides static methods to "navigate" around in the page content entity structure.
A simple bean containing a Page entity and a boolean value to determine if the page was resolved by
the published Page_content entity or the one to edit.
Calls the given
PagedLoader.Query
in partitions of PagedLoader.pageSize
and calls the PagedLoader.resultProcessing
for each loaded partition.Custom history configuration for 'Page' entities.
Makes sure that users can't create Page_limit entities for higher page sizes than 1000.
Model for
PageNode
.PolicyProcessor
that efficiently implements the equivalent of the following acl rule:PolicyProcessor
that efficiently implements the equivalent of the following acl rule:PageViewActionService
provides functionality to load URLs based on a Page
entity or it's key
and vice versa.Default implementation of
PageViewActionService
.Object which represents the offset and limit of a db query.
adds new Registrations to parallel events, if they were added as booked to original events
removes Registrations from parallel events, if they were removed as booked from original events
Java class for ParameterFault complex type.
This class was generated by the JAX-WS RI.
Provides a parameter value that is automatically set to the query if
it contains a parameter with the given name.
A descriptor for the parent element the default value descriptor is attached to.
This validator checks if a ContentTreeNode has a parent.
A
PersistTaskIterable
that takes an Iterable
of parameters.Deprecated.
Deprecated.
Deprecated.
Looks for a configurable request parameter specifying the password of a user.
Contains a password rule (name, description and properties).
REST result which contains the password rules.
Checks the password policy
- Length at least 8
- At least one lower case character
- At least one upper case character
- At least one digit
- May not contain words
Deprecated.
Updates the password of a principal and checks the validity of the new password
The result of a PasswordValidator.
This strategy is mapped onto
EntityHandling.PATCH
.Path class for working with entity field and relation paths.
Represents a selection path of a custom selection.
Collects the paths of a
ContentTreeNode
.Represents a conflict which results when a path resolves to more than one ContentTreeNodes.
Deprecated.
Deprecated.
Deprecated.
This task resolves a given path against a given entity model and returns
information
about the result.Information gathered when resolving a path against a source entity model.
Util to normalize and validate paths and file names.
Query builder that returns a custom selection in an
Object
[] as result.Query builder that returns a custom selection in an
Object
[] as result.executes a query using the path query builder
parameters:
name: name of the variable
paths: string, comma seperated list of paths to be loaded
limit: optional, number, limit for the query
returns a List of Maps that can be accessed similarly to an EntityListSequenceModel
example:
[@pathQuery name="memberships" paths="relSingle_user.firstname,relSingle_user.lastname,relSingle_user.relAddress_user.relAddress.company_c")]find Membership[/@pathQuery]
[#list memberships as membership]
${membership.relUser.firstname} ${membership.relUser.lastname}
...
This exception mapper is registered on the
PathResolveLimitExceededException
.Helper to resolve persist paths.
Helper class that is provided to the
EntityBeanFactory
in order to facilitate access to
the result data and security permissions.Default permission evaluator checking write access for path
For paths ending with a selector always set writable flag to true
This allows creation of new entities using "selector" relations
e.g.
An implementation of
SearchRequest
that uses a CustomSelection to resolve the _paths directly
using the CriteriaQueryBuilder
instead of using Entity.resolve(String)
.This validator ensures that each path which resolves to a ContentTreeNode is unique.
A special
TargetResolver
that collects path identifiers
to a partial URI.Ensure path uniqueness.
This ModelProvider has two behaviors:
First: Based on the pattern given from the
For example a pattern could be: basePath="model/entities" and the pattern="*mode.xml".
First: Based on the pattern given from the
SourceContribution.getPattern()
and the given
SourceContribution.getBasePath()
it will decide if this resource needs to be parsed.For example a pattern could be: basePath="model/entities" and the pattern="*mode.xml".
Allows to directly map a string regular expession to a compiled Pattern.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Thrown for problems that are permanent, and thus a developer/admin must analyze it and
for example fix the model definition or update the storage backend or so.
Represents the permission to perform a certain operation.
Exception to be thrown if an error occurred during
Guard
's permission evaluation.This interface exists so that the permission evaluation logic can be
overridden in other modules.
Java class for PermissionFault complex type.
This class was generated by the JAX-WS RI.
Service that efficiently queries the Node_right permissions for CMS/DMS entities.
This is the main service to be used by other modules for database interactions.
Representation of a JPA Session to allow session-scoped functionality without
exposing the actual JPA/Hibernate classes.
Internal interface for
PersistenceSession
that is only visible within
the persist/core module.Validates with the persistence-validators.
Deprecated.
use PersistTaskIterable from exec package
This class provides an empty implementation of
PersistQLListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.This interface defines a complete listener for a parse tree produced by
PersistQLParser
.Implemented by users.
Deprecated.
PersistTask
has default method implementations - there is need of extending
this abstract class anymore.Deprecated.
use the same named class from exec package
A task that returns an iterable.
Deprecated.
this (huge) class is now deprecated in favor for the api in exec package or classes in task2 package.
Utility class for setting and getting position values from
entities.
Sets the folder of current user as root folder.
While any user may call this service, any action will throw an exception if not called on your own principal.
This mail action extension sets the correct link href for the personalized newsletter.
An efficient implementation of the 'columnExists' precondition for PostgreSQL that uses
a query instead of database metadata.
An efficient implementation of the 'foreignKeyConstraintExists' precondition for PostgreSQL that uses
a query instead of database metadata.
An efficient implementation of the 'indexExists' precondition for PostgreSQL that uses
a query instead of database metadata.
An efficient implementation of the 'primaryKeyExists' precondition for PostgreSQL that uses
a query instead of database metadata.
An efficient implementation of the 'tableExists' precondition for PostgreSQL that uses
a query instead of database metadata.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Uses
PhoneImportConverter
to convert 'phone' data types in csv import.Deprecated.
Validates phone numbers.
A pile is a portion of lines from the excel file.
Java class for PingRequest complex type.
Java class for PingRequest_1 complex type.
Java class for PingResponse complex type.
Java class for PingResponse_1 complex type.
A ping.
A simple converter to convert plain text to html code (linebreaks and escaping).
Represents a search param that contains a condition written in raw persist query language.
Search param extractor for
PlainQuerySearchParams
.Deprecated.
AbstractInputType
is mostly used for old client, but since points averages are only supported in new client
we overwrite as little as possible hereAbstractInputType
is mostly used for old client, but since points averages are only supported in new client
we overwrite as little as possible herehandles data and logic for points input
Hibernate adapter for the
EntityManager
interfaceReflection utilities
A set of rules.
Result object of a
PolicyValidator
.Simple implementation of
Policy
.Provides a hook for contributing policy post-processors.
A geographical position specified by a pair of latitude and longitude coordinates.
Deprecated.
This interface contains all needed to use the
PositionBasedSorter
.Deprecated.
Deprecated.
Implement this interface to manipulate the HTML document after template processing.
Response bean for action resources (returned by
AbstractActionResource
).This exception indicates that a precondition has failed.
This exception indicates that a precondition has failed.
This exception mapper is registered on the
PreconditionRequiredException
.Defines predefined answers for client questions.
Static container class to hold
PredefinedAnswers
thread locally.This invoker sets predefined answers for client questions thread
locally onto the
PredefinedAnswersHolder
, so that the ClientQuestionService
can fetch them from there.Deprecated.
Implementation of this interface can participate in the building of
CriteriaQuery
created by one the query builders.This interface allows to create subqueries in predicates without exposing the
CriteriaQuery
instance.Converts a nice2 condition (
Node
instances) to a hibernate/jpa Predicate
Used for security conditions and the 'WHERE' clause of queries.Factory for
Preferences
objects.This implemenation maintains two maps: one is the initial map as specified when creating this object, the other
one collects all changes tracked by the various setters.
Used as remote service to make preferences available to the client.
Creates
DataPath
objects by prefix.Builds a
PreprocessedDeletionSet
.processes freemarker templates on first recipient entity in order to test if the templates are correct
so we can prevent the execution of the background task with a invalid template
Creates a
PreprocessedDeletionSet
.contains presence values for a user
handles display and logic for presence input types
Check if the to be deleted price_category is the standard category or if the category has an address
used to set the price_sorting field on Article entities
A simple helper class that's used for identifying entities of a known type.
A content reference with a key of type PrimaryKey.
EntityList
implementation for a list of primary keys.Custom strategy for loading entities by primary key.
Query builder that returns
PrimaryKey
instances.The principal represents a user.
Stores user specific data as used for authentication.
This interface allows retrieval of user-specific data.
Automatically generates a login if a new user is created.
Sets user information (id, username, session id) to MDC for logging before each request.
Interface to the principal store.
This interface combines
PrincipalManager
, PrincipalService
and PrincipalDetailService
to have both implementations in one class.Listens for changes of the principal name.
Data access interface for the "Principal" entity.
Deletes sessions in case of:
* user changes his own password (all sessions except current sessions get deleted)
* principal status gets changed to something else than 'active'
Converts a principal entity into a
Principal
object.Sets the given fields for any given principal entity.
Converts a role entity into a
Role
object taking implied roles
into account.Directive to format two dates in freemarker
If the two dates are on the same day the date gets only printed once,
else both dates will be displayed.
The priority is an indicator for the level at which a
ModeWrapper
is applied.CollectionInitializer
that optimizes the query
for the contributed entities (e.g.This service makes sure that all transaction commits and rollbacks are executed in
privileged mode.
Call
ObjectWrapper.wrap(Object)
with an Entity
wrapped in a PrivilegedEntity
instance
and it will be wrapped in a EntityHashModel
where all fields and relations will be resolved in
privileged mode.This is a wrapper for
EntityHashModel
which simply delegates all calls in privileged mode.Wraps
PrivilegedEntities
in a PrivilegedEntityHashModel
.Make sure that entity validation runs in privileged mode.
Generates the template for the
Correspondence
and applies the template to it.Represents the progress of a task and can be updated.
Represents the current progress of a task.
This class provides log functionality for a task.
Implementation of
ProgressLogger
which compiles the report in a StringBuilder
and displays progress messages through the MessageCallback
This service provides methods to fetch and save Task_execution and Log_entry entities.
when the attempts or promotion status on an Evaluation_data or Input_data entity are changed, gather all attempts
and promotion status for its user from entities connected to the same Event, and write those from the highest attempt
to the Registration of the User
keep promotion rule unique id from breaking drools
This child function sets the business unit of the domain on all child nodes
when the business unit on the domain is changed (or removed).
Service that sets and gets properties of an entity using reflection.
Accesses entity properties using reflections.
Description of a property (a field or an association).
Deprecated.
Deprecated.
Handler for the <list> tag.
Handler for the <map> tag.
Deprecated.
Deprecated.
Basic implementation of
Connection
that delegates all calls to a delegate instance.Cms content tree context for
ContentTreeContext.Mode.PUBLIC
.Removes the complete
Actions
menu from list and tree in PublicDms widget.Only returns domains of type "public_file_repository".
Replaces CMS/DMS admin URIs with public URIs in mail content.
Adds wildcard at begin and end of every single term, if:
* term does not start with a quote
Represents an URI for rendering in public.
This factory creates
PublicUris
.This URI resolve strategy looks up a node in the `Node_url` table.
This validator ensures that published content exists unless publish status is
PublishStatus.OFFLINE
.Copies the section linked on "relSection" to "relSection_published" using
PublishSnippetTask
.This task is responsible to publish all snippets of the page.
This task publishes a snippet:
* get published section of snippet and delete it
* duplicate unpublished section and link the copy as published section
Deprecated.
Handles the reading of the pulldown-date-field tag, which is a specialized date input field.
Deprecated.
Deprecated.
The QRBillAddressDirective is used to generate address "text" for QR bills
Params:
mode: "qr" or "display" qr, displays the 7 line output for the qr code itself (separated by \n).
Generates a qr code from the given data with the provided size.
helper service to easier handle creation of qualification entity beans
used in
QualificationStructureMethod
and DisplayQualificationStructureDirective
to send values used
in qualification reports to the freemarker engineprints the paths where a qualification node is used
in the form of "(top most parent) - (child) - (child) ...
sets attempt and relPromotion_status on created Registration, based on previous Evaluation_data and Input_data
this only happens on events that are a module, have either relEvaluation or relInput and have either
relEvent_relationship_promotion_logic or relEvent_relationship_attempt_logic set
used to build the qualification data tree when creating reports
builds the entire tree, without checking for visible flags or level constraints
this can be handled in
DisplayQualificationStructureDirective
or in freemarker itself
the starting node can be given as a argument
arguments:
1) an Evaluation_data
Entity
2) a node id as a String
to start the tree from (optional)Configure and execute queries.
The execution mode of the query.
Deprecated.
use
QueryBuilderBase
Base interface for query builders.
Base class for query builders.
Factory class for hibernate query builders
Deprecated.
Deprecated.
Deprecated.
Interceptor for
CriteriaQueryBuilder
.Used to annotate custom query builder result beans.
Compile a query string to an executable query.
A configuration of query (conditions, order and so on) that can be applied to any
CriteriaQueryBuilder
.Same as the query directive but does return the count instead of the entities.
A class that holds all data required to build a query.
Strategy regarding the `distinct` keyword to use for queries.
An implementation of this interface is available to script listeners.
Deprecated.
Deprecated.
Attempts to ease adding parameters to a query that are often used and/or
evaluated as late as possible (for example the current date).
Implements
QueryPopulator
using a list of
contributed ArgumentFactory
s.A query processor can modify a requested query before executing it against the index.
Standard implementation of
QueryBuilderInterceptor.SelectionInterceptor.QueryResult
.Standard implementation of
QueryBuilderInterceptor.SelectionInterceptor.QueryResult.Row
that directly reads from / writes to the underlying Object
[]Simple implementation of
QueryBuilderInterceptor.SelectionInterceptor.SelectionData
that wraps a SelectionRegistry
.Resolves the 'singlequery' default value.
Deprecated.
use
QueryBuilderFactory
directlyThe exception is mapped onto a 408 REQUEST TIMEOUT response.
A
ScriptVariableProvider
that contributed an instance
of QueryExecutor
into the scripts.Deprecated.
handles the values of a given Survey_question_type for the
SurveyExportActionService
Deprecated.
Deprecated.
Deprecated.
Validator which ensures, that "description" OR "freemarker" fields are filled in all required languages.
Adds the `nice2.optional.survey.actions.questionlogiccopy.QuestionLogicCopyAction` action to the menues where
it's desired (in the legacy client).
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
only used by old widget
Deprecated.
- Ensures, that only questions with a question type that allows answer options
actually has answer options attached.
Closes quotes at end of last term in case of uneven count of quotes.
Abstract Coordinate implemenation that stores coordinate values
normalized to RADIAN measure.
Layout used for a group of radio buttons.
Xml reader for the radio-group layout.
Utility class for Range header values.
Returns all "allday"-events in the specified date range.
Creates query constraints that return all events within a specified range together with all
recurring events before the specified range (as they may create dates within this range).
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Represents a range value as received back from the client.
used to determine what rating nodes are used in evaluation
configured by setting
nice2.optional.qualification.ratingNodeGatheringType
property to the enum nameThis mail action extension appends a blind gif to the newsletter mail body
in order to track the read date for each receiver.
Used to create item readers contributed by several modules.
Java class for ReadMessage complex type.
Java class for ReadMessageResponse complex type.
An api to access an underlying map that uses T as keys.
holds configs to create Requirement_reason entities out of
contains the id of a Requirement_reason_template and variable that should be set on its freemarker template
Deprecated.
Deprecated.
Controls the way the EntityBeans are applied to the Entities.
Deprecated.
Rebinds the rebind values submitted from user/address form.
Deprecated.
Deprecated.
RecipientActionService
for retrieving recipients for a selection of entities based on various criteria.Service to create the recipient options used in the report settings.
This model provider returns the receiver entity for newsletter pages.
The
RecipientParameters
to transfer all information needed in RecipientService
and
RecipientActionService
to evaluate the correct EffectiveRecipient
for a set of
selectedEntity
in the client ui.This processor can rewrite recipient addresses according to a configured set of mapping
rules.
A recurrence rule "RRULE" as specified by the iCal specification.
Builder for one
Recurrence
.Deprecated, for removal: This API element is subject to removal in a future version.
use
Recur.Builder
directlyThis is a collection of information for recurring
CalendarEvent
s.A
CalendarEvent
with an attached recurrence information.Applies to Calendar_event and returns only those where a recurrence rule is available.
Iterates through all child elements recursively while skipping non-element nodes.
PersistTask to recursively get all child nodes of a given node.
This directive sends a HTTP redirect.
Represents a reference to display for a certain node.
Interface for reference builders.
Predicate to filter a collection of
ContentReferenceParsers
.generates a reference code for a order, when it is created
uses
ReferenceCodeService
AfterCommitListener because it needs the order number, which is generated on commitused to generate the reference code of orders
Groups a bunch of
References
and assigns a label.Helper class to easily build a
ReferenceGroup
.This converter replaces links and image sources in HTML fields on Entity#getValue():
* If
ClientType.getType()
returns ClientType.FRONTEND
, ClientType.REST
or ClientType.UNKNOWN
, EntityUris are replaced with PublicUris.Collects references that point to the given entity and returns them as a bunch of HTML lists.
Create HTML lists from
ReferenceGroups
.Implement this interface to find and group references.
Collects references that point to the given entity.
Collects references that point to the given entity.
updates the reference code of a order every time the esr account or the addresses are changed
uses
ReferenceCodeService
calls the RefreshTotalsService and recalculates the totals of all
created or adjusted Order_position entities
calls the RefreshTotalsService and recalculates the totals of all
orders where order_positions have been changed
used to recalculate totals of OrderPosition
Handles the reading of the "regex" tag.
Validator that acts based on regular expressions.
Deprecated.
set the timestamp fields if Approval_instance is first set to this value
Autocomplete for relUser
Set relUser of registration to relUser of the case from which the registration is being created.
This batchjob is used to update all "total presence rates", "total hours actual" and "total hours desired" on
registrations of events which have a related module (also an Event).
Creates and deletes Reservation_registration entities.
helper to copy Registration to another Event during raising of a Seminar, based on Registration_type and Registration_option
count participants with Notification_status: registration, waiting_list or cancelled
ensures that at least one Registration_status has relevant_for_qualification checked
sets other side of address to address relation
Deprecated.
relates a event to the parents of its parallel events
relates a given list of events to another event as parallel events
A specialised entity list returned by
RelationQueries
.Deprecated.
Checks for an existing relation.
Checks for existence of a relation in the provided business unit
Directive that prints the content of the 'nice.duplicate.DuplicateFilters' contribution
for a given model in a human readable way.
Decodes the strings in the <link> tag in relation xml files into its parts.
This interface describes a nice-extended relation.
The XML receiver for the relation model.
Validates the basics of the relation-model (ConceptionModelValidators).
Checks for an existing relation.
Reads the model of the source and target tags in relation xml files.
A specialised query variant used by the
Entity.resolve(String)
method.The relation-search part of an
EntitySearchModel
.Handles the relation-search tag inside a search tag.
A class to adjust lookup entity relations depending on other fields pr relations.
Screen=explorer-relations, scope=list.
Deprecated.
Impl notes: code based on GetRelationTypesAction.
Holds information about a resolved relation to business-unit dependent
targets.
Converts a relation field to a multi-remote-field where multiple values may be selected.
Converts a relation field to a flip-flop field.
Converts a relation field to a remote-field where just one value may be selected.
Converts a relation field to a select-box.
Converts a relation field to a simple text field.
Extension of
PersistentSet
which supports reloading.Tell the configuration-system to reload the configuration.
Action for reloading cms configuration, acl, entities, relations, forms, textresources and menu
Emits reload-events which are triggerd by
ReloadAction
Deprecated.
Reload service to reload the configuration.
Deprecated.
Filter creates a RemoteContext and stores it to the current thread.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Tag 'remote-field'.
Deprecated.
The remote-field part of an
EntitySearchModel
.Handles the remote-field tag, currently used inside the entity's search tag,
probably later also as a specialized form field tag (to customize).
Deprecated.
Deprecated.
Remove empty action groups as we remove the selection (in the frontend) if there is no main action bar.
removes any links from a html snippet that might crash wkhtmltopdf, i.e.
Parses all remove forms and removes the specified components from the corresponding forms.
Handler for remove forms.
Looks for column defintions and removes any columns that are localized to a language
which does not exist in the current nice2 instance.
removes a parallel event
removes parents that are no longer connected from parallel events
Some actions are sometimes only added as placeholder (e.g.
Removes all remarks attributes from elements.
Deprecated.
Deprecated.
This fragment iterates through all localized fields of all entity models
and renames the column from something like "label" to "label_de", where
"de" is the default language currently configured in `application.properties`.
BatchJob which periodically calls the
RepairReferenceCountService
to
initialize (or repair) invalid reference_count columns in _nice_binary.On execution the sql function defined in repair_reference_counter.sql is (re)created
and executed for a certain amount of rows.
Listener offers to update all resource contents which contain exactly the same binary (=data → hash) like the
updated resource content contained before update.
Prevents ReplaceBinaryEntityListener from running recursively (when updating from ReplaceBinaryActionService).
Replaces $
<widget></widget>
tags in section html with [@macro/].Represents a report action, identified by its report id.
adds reports to the forms that they are defined on
A remote service that provides endpoints to generate reports.
Builder for
Report
components.Builder for
ReportImpl
components.Bean class holding parameters for report generation.
Reports inserted and updated data.
A reporter receives
CheckEvent
s from the SchemaCheck
s during
model validation.Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Generates an
OutputJob
out of a ReportConfiguration
.Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Handler for
'<report/>'
tags.Deprecated.
Deprecated.
nice2_reporting_ReportSynchronizer.synchronizeReports
This fragment runs the ReportSynchronizer.
Holder for the current request context.
This directive provides the current request with url and url parameters.
Service that implements the "requestPassword" functionality.
Gets the value for #localeParameterName from the HTTP request and
sets it in
RequestParameterLocaleResolver
.Locale resolver that reads from the request parameter (GET/POST).
Contains the HttpServletRequest which belongs to the current request.
Contains the HttpServletRequest which belongs to the current request.
Shortcut for
@Cardinality(min=1, max=1)
(if true
) or
@Cardinality(min=0, max=1)
(if false
).returns the key of a entity as string
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Calculates the accrual amount by the count of reservations after the deadline
compared to the total number of reservations
count duration_hour_actual fields and write it to related event
set the fields first_course_date and last_course_date on event automatically if there are changes in reservation
Copies educational_objectives from an existing event a created event
used when a seminar is started or lifted, or a event is logic copied
Encapsulates all information needed to create or modify a
CalendarEvent
for
a given Reservation
entity.A calendar event of a reservation may be associated to either a room or appliance.
Create a query that finds `Reservation` entities that have invalid calendar data.
set accomplishment status for given reservation_lecturer_bookings
update duration_hour_actual if it is changed on reservation/registration
Updates the lessons on Reservation_registration when the field lesson on the entity Registration is changed
Distribute objects from groups to targets.
Listener resets the conflict status of related entities to "none" when a conflict is deleted
(so that their status can be reevaluated by
EvaluateConflictStatusBatchJob
).set the field 'fail_login_attempts' to zero if the Principal status is set to 'active'
Sets the business unit of an entity according to the business
unit relation of another entity.
Deprecated.
Deprecated.
Builds the child-of condition for Resource nodes.
GuardFactory
for Resource_content entities which delegates to the guard
of the related Resource instance.GuardFactory
for entity document resources (Resource entities which are attached to another entity (or field)).Receive the resource name (location, file path and name) of the current resouce
where the element is in.
Model for
ResourceNode
.General exception which can be thrown if a resource could not be found.
Maps
ResourceNotFoundExceptions
to response status 404.PolicyProcessor
that efficiently implements the equivalent of the following acl rules:Extract the text content of a binary.
Extract the text content of a binary with apache tika.
Index resource content (binary) with apache tika.
If in the resource detail a different file is uploaded (field relContent.data), the update_timestamp and update_user are not modified
(if the resource is not published and no other field is changed).
Adds headers to the response.
Contains the HttpServletResponse which belongs to the current request.
Contains the HttpServletResponse which belongs to the current request.
Deprecated.
This action restores external templates which have been edited.
Base interface for all REST resources.
creates contributions for the
RestrictRelationRemovalEntityInterceptorContribution
based on the
HierarchySpecifications for the entity models User and Address so that the relation defined as businessUnitRelation
cannot be removed if any of the blocking relations are set.Provide contributions for the
RestrictRelationRemovalEntityInterceptorContribution
that cannot be hard
coded like a regular contribution.Prevents relations defined in the contribution as "restrictedRelations" from being removed,
if one of the "blockingRelations" is set
Used to annotate a field of a custom query builder result bean.
A strategy that converts the raw results (
Object
[]) of the hibernate query to a different representation.Set this annotation on a
PersistTask
if it can simply be executed
again when it failed because of a OutdatedException
.Implement this interface if a persist task can simply be executed
again when it failed because of a
OutdatedException
.Deprecated.
sets relQuestion_parallel reverse and makes validation check on newly created relation
Clears the edit content and copies the published content to it.
Copies the section linked on "relSection_published" to "relSection" using
DuplicateSectionTask
,
but only, if the snippet is contained in exactly 1 page with publish status "changed" or "offline".Implement this interface to provide paths the mustn't be crawled and indexed by search engine bots.
This filter delivers a robots.txt.
A principal's role.
Implements the nice_roles cookie.
Compares the roles gathered from the ACL policy files with the existing
roles in the database.
This exception is thrown when trying to commit a transaction that was set
rollback-only.
Adds the room proposal action to the action menus where it is desired (in the legacy client).
Adds the `nice2.optional.facilityreservation.roomProposal` action to the forms where this action is desired
(in the new client).
This utility class helps to load the root entity efficiently.
Marker interface for root menu items.
Uri target for loading a list of entity-templates
Deprecated.
Exception to pass to the client when any
Throwable
occurred during RPC execution.Deprecated.
Class that reads the news from a specific channel and writes them in an xml file using XStream
Represents a single rule in the policy.
Utility to filter
Rules
by different predicates.resets every Requirement to status 'open' if its Requirement_rule gets adjusted.
Dynamic role adding
We make our own type enumeration because we don't support all types Drools
supports.
Utility methods for dealing with
RuleSource
s.Provides basic syntax validation of
condition
query
on a Rule
entity.The run environment like DEVELOPMENT or PRODUCTION for the system.
Executes the given fragments
Parameters:
* fragments The fragments to run (comma separated list)
Example:
Updates all entities where geographic coordinates should be updated
for a certain address.
Where to run a validator.
Task to process invoice logic
A binary storage strategy which uses an S3 compatible storage server
Bean that contains all necessary configuration data to connect a S3 bucket.
Proxy implementation of
BinaryAccessProvider
which forwards all requests
to different S3AccessProvider
.Auto complete for Salary
if income_per_hour is set on salary_type it will override the value in Salary
Directive to receive the salutation for a specified user
This validator is triggered when the path part or the parent relation has been changed.
Checks if there already exists a sibling with the same name.
Checks that a path of a node is not set as main url on a domain.
Save action is always added that it can be used to define the sorting (e.g.
Store current business unit in preferences when a user manually switches the business unit.
This task saves a new Log_entry.
Task that saves a RequirementResult created during evaluation of Requirements.
This exception is used to wrap any errors that occur during SAX parsing, to
UnmarshalException
s.A SAX handler which converts SAX events to unmarshalling events as specified by
Unmarshaller
.Allows to associate a schema string to this data source.
A schema check receives a
CheckData
object generated by the SchemaModelValidator
and checks the data for integrity.Executes the
SchemaModelValidatorTask
in the backround.Compares the jdbc metadata against the data model.
Service for dealing with database schema.
It is important that the entire migrations is done in one liquibase operation.
Deprecated.
used in ScoreControllingFlow as action service for the edit page
Service offering functionality to manage scorm contents like importing a scorm folder / domain as lms-object.
CollectingEntityListener
that is registered for every entity.Exception that is thrown when the evaluation of a script fails.
An instance of this context will be bound to the current thread, whenever a
groovy script is executed.
runs a
Dynamic_batch_job
script from the task queue
needs a key passed through the task data with ScriptJob.DYNAMIC_BATCH_JOB_KEY
Container for an
Entity
and its changed fields.Can be accessed through the current
ScriptExecutionContext
and be used to
store information about the script run.used to schedule
Dynamic_batch_job
entities that have a schedule definedused to submit
Dynamic_batch_job
entities as tasks in the task queuestarts all active
Dynamic_batch_job
that are defined with a cron schedule and aren't already scheduledensure that no active
Dynamic_batch_job
entities contain an invalid scheduleAn interface for implementing variables which will be available in dynamic groovy
scripts (see
GroovyEvaluationService
).Extractor for entities which contain a search config.
The model for the content of the search-fields tag, as used inside the remote-field and other tags.
Handles the search-fields tag which may appear in different places.
Enum defining possible modes for search field model manipulation
Something that can receive the config read from the search-fields tag.
This component can be included in search forms with the search-filter tag.
Special component bean representing search filter tags in search forms.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Handler for 'search-filter' tags.
Deprecated.
runs a search filter given by its unique_id and returns the resulting entitylist
Deprecated.
Handler for 'vertical-box', 'horizontal-box' used in search forms.
Java class for SearchMessages complex type.
Java class for SearchMessagesResponse complex type.
Handles the search tag inside an entityModel root tag.
Validates the 'search' part of the entity model (FinalModelValidators).
Base class for search params.
Implementations of this interface are due to extract the search parameters from
the map of query params.
Provides the given query params in a usable form.
Deprecated.
Deprecated.
can be used to build queries from REST requests, use a
SearchRequest.Builder
to create the request and
RestSearchService
to execute itDeprecated.
Deprecated.
SearchTerm
is the representation of a lucene
search term, which can handle parentheses, asterisks
and field prefixes.Parses fulltext search input text as expected.
The result of one term in the user's search input.
Builds the reference object for sections.
An implementation of
QueryBuilderInterceptor
which adds predicates
based on the ACL rules of the current user.Servlet that checks if requests come through a secure connection.
A factory for secure tree query builders.
A builder that combines some conditional tree with conditions from the ACL.
Base implementation of
WebSocket
that verifies the authentication
during the handshake request and supports sending messages to specific users.This form interceptor removes the actions from the forms which the current user is not
allowed to execute.
This modifier is used to disable/remove any actions without appropriate permission.
Based on
.
invalid reference
Suppliers#memoize(Supplier)
This class is passed to the ch.tocco.nice2.scripting.groovy.TypeCheckingExtension (via a
ThreadLocal
)
and used to configure its behaviour.The security context of the current principal and factory for
Guard
s.If the principal name changes, the principal name on the thread must be changed, too.
Specifies a domain (usually based on the obejct type) for security.
Checks
CreatePermission
for new entities.EntityInterceptorContribution
that checks permissions for Entity.getValue(String)
,
Entity.setValue(String, Object)
and Entity.delete()
Factory for
SecurityContext
s.Reload action to reload the security configuration (ACL).
Utility methods dealing with
Principal
and SecurityManager
.This helper class provides static methods for simple security stuff.
This helper class provides static methods for simple security stuff.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
A strategy how to efficiently fetch a
Path
of a CustomSelection
from the database.Deprecated.
A registry for a
CustomSelection
which tracks the following two things:
- at which position the user expects the paths that were added through CustomSelection.addPath(String...)
.Layout used for a dropdown or open select field.
Xml reader for the select single-select field layout.
Takes a list of
Templates
and sets the
"selected" flag for the given primary key of Page_content_to_section entity.The strategy handler for the
HierarchyStrategyType.SELF
type.Deprecated.
Deprecated.
helper to load Seminar_event from a Seminar
checks that no Event with Registrations (or Registrations on one of its children) gets related to a template Seminar
actualise all Seminar_is_template stati on Event entities
Deprecated.
Deprecated.
sets number_of_period on template Seminars based on amount of related Events
also sets number_of_period to the value of the template a seminar is based on if it is not a template
since QualificationEventLogicCopyExtension is a bit of a mess, the order of operations between it and
SeminarQualificationEventCopyExtension can be unclear.
raises a Seminar, by following approximately these steps
- copy next available Seminar_event from template Seminar
- copy Event using logic copy with all default options
- increment Period and set on Seminar and Event
- copy Registrations from last Event to new Event, ignoring auditors
most of these steps can be configured further by
SeminarActionConfiguration
starts a Seminar, by following approximately these steps
- copy template Seminar and set period, codes and dates
- copy first Seminar_event from template Seminar
- copy Event using logic copy with all default options
most of these steps can be configured further by
SeminarActionConfiguration
the action Begin/lift can only be used if there's no Seminar with the same unique_id and
with a valid_from date which is after the Seminar you want to start
Extracts the sender address from the collection of form fields.
Java class for SenderLogo complex type.
SenderMessageProcessor
checks if the sender email address is one of the customer's domain.sends mails for Registrations if
mail_required
is true
and relRegistration_source
is event_registrationsends an invitation mail if it is set and an evaluation execution gets created
A bean for durable and ephemeral attachements.
A task that sends additional E-Mails after a user registered using the EventRegistration Flow
Task param: Registration Entity
Task return value: Boolean that indicates whether a mail has been sent or not
Java class for SendMessage complex type.
Java class for SendMessageResponse complex type.
Deprecated.
Java class for ServiceFault complex type.
This class was generated by the JAX-WS RI.
Service injector can be used with custom changes to inject
InjectService
annotated
fields.Deprecated.
Called from Javassist generated code, as auto-boxing is not supported
by the Javassist compiler.
Exception thrown on method call timeout.
Interface for the "Session" entity.
Authentication handler that returns the principal associated to the session
specified by
SessionCredentials
.Credentials that represent an already logged-in user by its session uuid.
Unchecked exception thrown on any error when operating with the "Session" entity.
Manages hibernate session.
This class manages the
Session
lifecycle for both the old (ContextManagerAdapter
) and
new (PersistenceServiceImpl
) persistence API.Factory bean which initializes the hibernate environment.
Service that encapsulates operations on the "Session" entity.
Returns a JSON object containing the following information:
- success (true, if a known principal currently is logged in (not anonymous))
- timeout (how long the session is valid (in minutes))
This servlet actually doesn't refresh the session.
Closes the web socket
Session
if the session that is associated
with the given SecurityContext
is no longer active.write value of correspondence_address and billing_address to User and verifies that the boolean fields
correspondence_address, delivery_address and billing_address are always set once per user.
Listener that sets 'assigned' field on Incoming_payment to true if a relevant relation is set.
This listener sets the business unit of the root node on all moved and created nodes.
This persist task sets publish status "changed" on a entity.
Sets a boolean flag "has_children" on container nodes.
Outbound: Converts a Set to a JS array.
if no salary is set for a created Lecturer_booking, set default salary of user (plus copy income_per_hour and Salary_type
to Lecturer_booking)
Note: If a Lecturer_booking has no salary, the set values for income_per_hour and Salary_type are overridden
sets the defaults and non-nullable fields on a entity
This facade listener sets the parent folder on entity documents.
Sets the 'expiration_date' field depending on the boolean field 'archive'.
call action used to set canton and district based on the zip code on addresses
Contribution which describes available 'set-field' actions for source entities of a merge
Strategy which sets a field of the source entities to a specific value after the merge
Calls
GeolocListenerService.runGeoLocationService(Entity, String)
with the
given entity.sets hidden relation Input_data.relRegistration
bean class containing the debitor data which are needed for the action.
bean class containing the order rates data of the selected debitor.
Set relations relCollective/relSingle/relBilling_address on Membership depend on type (single/collective)
This listener updates permission flags on entities, which represent a ContentTreeNode.
Contribution which describes available 'set-relation' actions for source entities of a merge
Strategy which sets a relation of the source entities to a specific value after the merge
This service counts how many Reservation_registrations are related to a Reservation and
then set the RegistrationCounter of the Reservation
Update Section_visibility entities for a given Page_content_to_section entity.
Task to set the service_start_date and the service_end_date on the Order
Sets a date- or datetime-field on an entity if gets related to an entity with configured unique_id.
example:
set the "confirmed_datetime" field on the "Case" entity as soon as the "relCase_status" changes to "confirmed".
Sets the flag
has_unbalanced_prepayment
to true
if any Prepayment
related to the debitor information has the status not_balanced
This task sets the status of all uncompleted Task_execution entities to "stopped".
Creates a Task_execution entity with status `pending`.
An implementation of
BinaryHashingService
which uses SHA-256 and Base-64.Represents a cell of an excel sheet.
Provides the "ShowDocumentsAction" to the gui (in the legacy client).
Adds the `show-output-jobs-action` to the forms where this action is desired (in the new client).
Method to shuffle any sequence.
Deprecated.
Value object that identifies an entity instance.
Deprecated.
Deprecated.
When instantiating, the first constructor where every argument can be found is used, where the order is from
the most parameters to the least.
A
DataPathNavigator
which
just navigates over names (like fields and relations, key-names in maps etc).This factory simply returns `true` to indicate that a certain validator is present.
Deprecated.
Deprecated.
Simple
UsernamePasswordCredentials
holding information in String objects.Deprecated.
Policy provider that compiles one ACL file.
Deprecated.
create action to mark entity and display mark on detail and list (in legacy client)
Query builder that returns exactly one path as result.
Query builder that returns exactly one path as result.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Use this change to update your data if you want to change a n:1 or a n:0..1 relation to a n:n relation.
This filter delivers a sitemap.xml of a domain (Domain_type has to be "web").
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Service for evaluating the size of a folders or resources
Filters out
RelationModel
s that are targeted at the business-unit entity
only if the source entity is extended.Skips all fields that are localized and not represent the default language.
This interface declares the methods which every SMS client needs to implement
Factory class which returns the SmsClient implementation of the provider which is set in the application.properties
file with the key "smsgateway.provider".
Implement this interface to do something with the snippet when page content is duplicated.
Builds the reference object for snippets.
XML reader for the SocialSecurityNumber
SocialSecurityNrValidator
validator.Represents a comparable form field which can contain a sorting number
in the field name.
An item that provides all information necessary to apply the order as described
in the specification.
The result when sorting a set of
OutputJob
s.sorts forms
be sure to set the order of any interceptor adding components before this, and the order of any interceptor removing
components after this
Describes how something is sorted.
Parses the sorting-syntax on the object-model.
Deprecated.
Deprecated.
Contributes a
NiceModelBuilder
into the model-building process.Validates that the correct specific config relation is set according to `relWidget`
(the right relation doesn't have to be set, but *no wrong* relations must be set)
if the source entity is a registration, has a percentage and a split user or address set, this task creates
a second order, and split the price of all order positions up
relates the new order with the source registration and the parent order
This service is used to process SqlLogEntries that are recorded directly at the datasource.
Creates SQL statements that aim to fix a specific error.
Helper class for manually writing SQL queries.
Checks if exactly one of the available relations is set
example:
checks if an Effort entity is either linked to exactly one Task or one Case entity
Validator which ensures, that if no module is selected the Evaluation_template cannot be
a standard template.
Validator which ensures, that Evaluation_templates have zero or one standard template
per selected module.
Entity validator class validating that at least one of the provided fields and relation is not empty.
Checks, if fields are filled.
Checks if either non or all of the fields are filled out
Validator witch checks that either all of the provided fields are empty or all of the provided fields are filled out.
validate the number of relations.
Entities can only be created and related to other entities with certain status.
Checks if the till-field is after from.
Methods annotated with @StartElement will be called when a new element starts.
Listener creates a task execution and should be run as first JobListenerSupport
States that apply to an executed fragment or step.
Serves a static file.
Status Provider may be implemented in module and are ment to provide a way to implement vital consistecy checks or the like.
Creates Lecturer_bookings for StintAuctionFlow and sends confirmation and notification mails if needed
Deprecated.
Deprecated.
This class contains convenience methods to be able to migrate
Iterables
usages efficiently.Deprecated.
use
Joiner
Converts to a
LinkedHashSet<String>
by splitting a list of values by comma.Converts a string representation of a hash code to a
BinaryQueryParameter
.Implementation of
WriteableMap
that uses strings as values.If a task is submitted it is executed on a separate thread.
A query builder for
Subquery
, which can be used in conditions.A query builder for
Subquery
.Translates the subquery keywords from ACL to another language.
Represents a sub-table within a detail form, which is used to display relations.
Parses 'table' tags that are used to display sub-tables inside
a 'horizontal-box' or 'vertical-box'.
A helper class to aggregate a collection of
NumberContainer
s
during drools evaluation.When using the
Input_type
"points" or "points_average", the amount of points reachable in a course is defined by
the various Input_node
s of a structure.bean class that holds survey structures for
SurveyExportActionService
Checks if quantity_of_random_questions is set if use_random_questions on Survey_category_definition entities
Checks if the selected category is from same survey definition as question definition will be saved to.
used to create and delete intrusions for Survey entities with a Classroom
additional to a Survey_intrusion entity, the authors on a survey are set to the admins and moderators of the classroom
Evaluates a survey based on user performance
creates a xls file with the help of the
QuestionExportHandler
Deprecated.
This Action copies the whole survey definition structure (survey definition, category definitions,
questions and answer definitions) in an other EntityModel to fix it.
used as
SearchService
replacement in SurveyIntrusionFlowLooks that the points from the field "passed_with" are equal or smaller
than the points form the field "max_points".
Deprecated.
returns true if the table for a entity model exists in the database
Deprecated.
Deprecated.
Deprecated.
Copy selected registrations to another event
allow takeRegistration to run in background
Appends a query constraint to filter only those calendar events that are linked to the
specified target entity.
set the target path of resources that have none.
Service to manually schedule
AbstractJob
tasks.DWR action service for task queue manipulations.
a lecturer can connect the selected Educational_objectives to the current reservation
and writes the fields comment and operation
Deprecated.
This service collects the templates from several sources.
This service uses
CollectStrategies
to collect the templates to synchronize.Template Engine Factory provides the client a Template Engine
this custom change is used to migrate the 'entities' field on template entities to the new module relation
the 'entities' field was a comma-separated list of entity names
the new '*rel*_module' relation is a n:n relation
Some identifiers used for templating
This exception is thrown if a specific operation on a template cannot be executed, because the template is in use.
Deprecated.
Interface to provide attributes to be available by default in freemarker
Nice2Template
s.Deprecated.
This exception is thrown, if a template could not be found.
Interface for Object Wrappers used in freemarker.
This PageModelProvider returns all applicable template properties
for the given page node.
Reload action for cms templates.
Inserts an executed 'Template_snippet' entity.
A service to determine if template synchronization is currently running in current thread.
This service synchronizes templates (which are located in the file system) with the database.
This service synchronizes templates, which are located in the file system with the database.
wraps a
Threshold_value_template
Utilities for
Template
manipulations.Deprecated.
Action service for timereport terminal.
Add more source entities to Terms_condition_confirmation depending on the already linked source entity.
Custom term condition resolver if not the term condition on the widget config or business unit should be used
service to create a Terms_condition_confirmation and link it with the Terms_condition, Widget_config and source entity
Testing utilities
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
handles text matrix and cloze questions
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Represents a text.
formats the
TextMessage
provided by the exception
using TextResources
and wraps it into a TextInformationException
handles text questions
Deprecated.
Just aggregate the two interfaces
An exception witch is thrown when a text-resource cannot be found.
Only client textresources are supported.
Provides TextResources
provides access to all text resources
Reload action to reload the text resources.
Creates thread instances that properly configure the
ThreadScope
.All beans of this type are called when threads are setup/destroyed.
updates grades when threshold values are changed
helper class used around
ThresholdValueEditorActionService
is used to gather values for
ThresholdValueEditorActionService
used to facilitate usage of
ThresholdValueProvider
Removes any existing thumbnails once a new binary gets set.
This one works by sending and receiving time values as strings, eg "23:59:59"
Deprecated.
Handles the reading of the time-field tag.
Deprecated.
Deprecated.
Auto complete for Timereport, compute duration
check if on the same Timereport_day already a record exist with the same Timereport_code
Only the code normal (Arbeitszeit) can occur multiple times
Batch job that creates Timereport_days for each active Contract
service to help create Timereport_days for Contracts
Java representation class for Entity Timereport_record.
TimereportSchemeListener sets all affected Contract entities dirty for the TimereportDayGeneratorBatchJob.
Used to load lecturer of own reservations privileged
Parameters:
- entity The reservation to load lecturers from.
Deprecated.
A
TimezoneResolver
is responsible for detecting the current timezone.Service for dealing with time zones.
Creates a
BusinessUnit
from a corresponding Entity
.A custom
BytecodeProvider
which initializes its ProxyFactory
on demand,
which leads to faster startup time and less memory usage because only the proxies which are
really needed are initialized.Custom
DialectResolver
which automatically resolved our custom dialects.create Checklist_note entities from positions and categories
create Checklist_note entities from positions and categories
SelectionPathHandler
for all to-many fields of type binary that are detail documents.Maps a to-many hibernate collection to the
Relation
interface
Note: size() might execute a database query - therefore we do not use
size() if we intend to access all entities anyway (toList() or iterator()).Merge handler which handles to-many relations.
Maps a to-many hibernate collection the
RelationQuery
interfaceSelectionPathHandler
for all to-one fields of type binary, which are *not* detail documents.SelectionPathHandler
for all to-many fields (except binaries).Service to evaluate a tooltip of an entity.
SelectionPathHandler
for all to-one fields of type binary, which are detail documents.Maps a to-one hibernate collection to the
Relation
interfaceMerge handler which handles to-one relations.
Maps a to-one hibernate collection the
RelationQuery
interfaceSelectionPathHandler
for all to-one fields of type binary, which are *not* detail documents.SelectionPathHandler
for all to-one fields (except binaries).Represents a transaction.
Enumeration describing the state of the transaction.
Adapter between hibernate and nice Transactions.
Transaction callback object that can be registered on
Transaction
s.Control for a wrapped hibernate
Transaction
.Entry point into the transaction subsystem.
Handles transactions based on a hibernate
Session
transfers educational_objectives to other events
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Describes a relation between to nodes in a tree (from the point of view
of the first node).
Deprecated.
Deprecated.
Truncates content after a defined length and appends "...".
This class does not make defensive copies, changes to the "value" object write through!
Provides utility methods for dealing with (German) Umlauts.
Exception thrown when the permission for a certain operation is denied.
Maps
UnauthorizedException
to a response.Aborts requests with invalid credentials sent with status code 401.
Marks a missing or incomplete unique constraint.
A content reference with a key of type String (a unique id).
Validates that all names of elements in the (form) model are unique.
Produces a HTTP 400 response when the path to a display expression in invalid.
An unmarshaller takes events as they occur when unmarshalling hierarchically organised
structures in stream form (like e.g.
The class
Unmarshaller
provides functionality to unmarshal an
InputSource
.Wrapper for making an entity unmodifiable.
An exception indicating that some portion of code has been reached that is supposed
to be unreachable.
This exception is thrown if a
ContentTreeNode
could not be resolved.Deprecated.
Deprecated.
Base class for the task to execute in
AbstractCopyContentTask
if the current publish status of the entity is not supported.Updates the classroom for each contributed base entity name (e.g.
Concrete implementation of
AbstractUpdateDomainShortcutListener
for handling
ContentTreeNode
s i.e.Recalculate the contingent whenever a movement has bee touched
Concrete implementation of
AbstractUpdateDomainShortcutListener
for handling
ContentTreeNode
s i.e.Deprecated.
if someone change his email address and User.email==Principal.username → set the new email as Principal.username
if the email address was empty before, set it as Principal.username in case the username is standard firstname_lastname
Updates the position of the siblings and itself, when a page is deleted or created.
Request body of POST requests.
Thrown in
PasswordUpdateService
when the supplied password is invalidThis tasks sets a new progress type and label.
There is a listener which sets the publish status of a ContentTreeNode to 'changed' automatically.
This
EntityFacadeListener
sets
the publish status on a given entity.This listener calls
ContentReferenceService.updateReferences(Entity, String)
}
for each updated HTML field on each entity.Task for updating the html content of a section.
Updates the URL index for the children of all nodes marked with `index_children_urls`.
This listener updates the URLs for the updated node
AND sets `index_children_urls` to true if the node can have children
(the children URLs then will be updated by the
UpdateUrlIndexBatchJob
).Ensures that there exists for each widget which is included in a section a "Widget_legacy" entity.
Creates a database changelog to install a new language.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
On each call of
Entity.getValue(String)
(and overloaded methods)
for HTML fields an entity interceptor is triggered to convert entity URIs to admin oder public URI.A service for converting
NiceUris
into other types of NiceUris.A converter for converting
NiceUris
.A registry of all
UriConverters
A registry of all
NiceUriFactories
Sets the current
UriInfo
of the request
onto RequestContext
.Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Listens on changes of the "url" field of a Domain.
URL (web address) validator.
adapter for type url
If the label of this component is to be used in the gui.
Deprecated.
Credentials type that are recognized by
AuthenticationHandlers
when new credentials are requested to set.ensures that no search filter with related users is set as default
Sends an email to the "old" email address if the email field of an User has changed.
saves question values selected by the user while registering
this service returns qualification data for User entities for use in forms
Handles userinfo request.
Implementation of
AbstractMembershipHierarchyPolicyProcessor
for 'User' entities.Checks if the username consists only of ASCII characters
Strategy that validates a username/password combination.
A simple
Credentials
for presenting username and password.Get the username-password credentials from request parameters.
uses UserSignatureService to return data from a Correspondence_signature
Custom
for User→User_user relations.
invalid reference
RelationMergeHandler
Static helper methods.
Deprecated.
Deprecated.
Deprecated.
Hibernate java type which saves
UUID
objects as varchar (instead of a native uuid type).Deprecated.
Provides helper functions to work with UUIDs.
A persist task that applies the validators for a entity model to an entity.
Data for a single validator.
Responsible to return validation meta data for a certain validator
that can be sent to the client, so that the client is able to
validate some data.
This service pulls out useful validation parameters for arbitrary validators.
Class which contains all different types of validator errors.
Thrown when the data coming in to be stored does not validate the model.
This exception mapper is registered on the
ValidationException
.Interceptor
that validates entities upon save and update (flush).Receives progress messages from within the validation task.
Empty implementation.
REST result which contains the result of the password validation.
Converts a
ValidationResult
to beans which can be sent
to the client.Converts a
CommitValidationResult
into a map with the entities
as keys and the errors of the entity as values.Interface for value validators.
A validator to check if data matches expected rules.
Defines how to merge the constraint properties of two validators.
Context factory for creating a context for creating data validator
xml readers.
Common interface for the form and entity models to receive validators (in the model reading process).
Collector for validators that are produced in a row.
Type adapter for contributing data type specific validation rules.
Checks if the entered "valid from" date is before the current "valid from" date
If it is before a errormessage is displayed
If the entity with the "valid from" date has a different category than the current "valid from" entity no errormessage is displayed
Implement this interface and register
Deprecated.
Deprecated.
Providing a value for a specific field or setter used by the
Injector
.Deprecated.
interface for values that belong to a node
all these methods function the same way
returns the netto, brutto or vat amount based on:
1.
service that calculcates the amount based on the desired bruttoAmount and the vat information
Note: The amount is the field on the Voucher that is usually entered by the user
From the amount and the chosen vatCode the netto, vat and brutto field totals are then calculated
Deprecated.
This reader factory reads the resources from a specific
root folder from the VCS.
Adds the current nice2 version to the context attribute.
Deprecated.
Handles
VerticalBoxImpl
componentsDeprecated.
Deprecated.
Used in the GroupValidatorView to decide if a validator is visible or not.
Abstract class that implements visiting code.
Handles the visualistion-Info on the nice-entity-model.
This listener calls registered VoucherChangeHandler if a Voucher that is related
to the contributed Entity Model is changed.
This interface is used to implement handlers that are called whenever a voucher
that is related to targetEntity was changed.
this service is used when creating voucher
it provides several methods that are needed to complete a voucher
the creation of a voucher itself has to be handled manually, because many things need to be set individually
bean class containing calculated netto, brutto and vat amounts
checks that a Voucher_type declared as standard cannot be set to inactive
Auto complete for Wage
if income_per_hour is set on salary_type it will override the value in Wage
Deprecated.
Provides the
PersistTask
and WageValueProvider
which will be used to create a wageDWR service to load an article with the PK.
DWR service for webshop flow.
Deprecated, for removal: This API element is subject to removal in a future version.
use
WeekDay
directlyDeprecated, for removal: This API element is subject to removal in a future version.
just use a normal list
Deprecated.
This content reference represents a reference to a widget config entity.
A reference parser for widget configurations.
Implement a WidgetConfigContributor for custom logic to modify the widget config object
This listener sets the publish status of the corresponding page to "changed"
when a widget config entity is updated.
Indicates if an entity model belongs to a widget configuration.
This form provider removes the relation field to Content_reference on widget config entity detail forms.
This list form provider adds constrictions on widget list forms in order to display only unpublished widget
entities.
Adds access permissions for widget entities:
- read permission for all (including anonymous)
- create, write and delete permissions for role "redactor"
The rules are added at login phase.
This references resolver returns all references, which come from a widget
config entity.
Static util methods for widget stuff.
Serves the Widget Showcase index.html.
Reference to the Cms_template of a widget.
A reference parser for widget templates.
A base handler for children of a
ComponentContainer
(field set or column).Sets X-Language request header to
HttpRequestXLanguageLocaleResolver
.Creates a xlsx file, based on a form
Creates a xlsx file, based on a form
Reads menu structures
Adds relations to the model.
Adds relations to the model.
Supports removing entities, fields an relations in the relation.
Filters html text and removes code classified as vulnerable.
Checks any string based field for content which could lead in a XSS-breach.
use this builder to get an instance of
XStream
the available methods are designed to be used with a annotation-based configuration of XStream, but you can configure
the built instance further if you'd like
this builder makes sure that the security framework is initialized so no warnings get logged.this can be used to read YAML initial values during a liquibase run
usage:
Servlet to create and return a ZIP file based on the path to a
ContentTreeNode
.this service sets fields on addresses based on the zip code that on the address
calls
ZipFieldsService
to set the canton and district fields
on addresses that left those fields empty
AbstractEntitiesValidator
instead