35 #ifndef _PROCESSOR_PROVIDER_INTERFACE_HPP_INCLUDED
36 #define _PROCESSOR_PROVIDER_INTERFACE_HPP_INCLUDED
65 class ProtocolHandler;
67 class DoctypeDetector;
72 class AuthorizationFunction;
97 virtual bool hasProtocol(
const std::string& protocol)
const=0;
101 virtual bool hasCommand(
const std::string& command)
const=0;
virtual const langbind::AuditFunction * auditFunction(const std::string &name) const =0
Get an audit function by name.
virtual const types::NormalizeFunction * normalizeFunction(const std::string &name) const =0
Get a normalization function.
virtual cmdbind::DoctypeDetector * doctypeDetector() const =0
Create a new document type and format detector (defined in modules)
Class of basic normalization functions instantiated by arguments.
Definition: normalizeFunction.hpp:81
virtual const types::NormalizeFunctionType * normalizeFunctionType(const std::string &name) const =0
Get a normalization function type.
virtual db::Transaction * transaction(const std::string &name) const =0
Get a database transaction object for the given name.
Transaction interface.
Definition: transaction.hpp:52
virtual const types::FormDescription * formDescription(const std::string &name) const =0
Get a form description.
Command handler interface.
Definition: commandHandler.hpp:54
Abstract class as processor provider interface.
Definition: procProviderInterface.hpp:81
virtual cmdbind::CommandHandler * cmdhandler(const std::string &command, const std::string &docformat) const =0
Create a command handler for a specific command and doc format.
virtual const std::string & referencePath() const =0
Get the application configuration reference path.
Interface of a an authorization function.
Definition: authorizationFunction.hpp:51
virtual const types::CustomDataType * customDataType(const std::string &name) const =0
Get a custom data type.
Structure defining a type of a filter (used as virtual constructor to create filter instances) ...
Definition: filter.hpp:111
Basic normalization function for atomic values (variant type)
Definition: normalizeFunction.hpp:52
virtual bool hasProtocol(const std::string &protocol) const =0
Find out if a protocol with a specific name exists.
virtual cmdbind::ProtocolHandler * protocolHandler(const std::string &protocol) const =0
Create a new protocol handler for a command and for a document format (e.g. XML,JSON,...)
virtual db::Database * transactionDatabase() const =0
Get the database for transactions.
virtual const langbind::FormFunction * formFunction(const std::string &name) const =0
Get a form function.
Custom Data Type Definition.
Definition: customDataType.hpp:105
virtual ~ProcessorProviderInterface()
Destructor.
Definition: procProviderInterface.hpp:85
Interface of a an auditing function as special form function.
Definition: auditFunction.hpp:44
Interface to document type and format detection.
Definition: doctypeDetector.hpp:46
virtual bool hasCommand(const std::string &command) const =0
Find out if there exists a command handler for a specific command without creating it...
Base class for database interface. All databases should provide this interface.
Definition: database.hpp:50
Protocol handler interface.
Definition: protocolHandler.hpp:52
virtual const langbind::FilterType * filterType(const std::string &name) const =0
Get a filter type.
virtual const langbind::AuthorizationFunction * authorizationFunction(const std::string &name) const =0
Get an authorization function by name.
Interface for filter class.