Package de.xima.fc.dao
Class DaoProvider
- java.lang.Object
-
- de.xima.fc.dao.DaoProvider
-
public final class DaoProvider extends Object
Keeps a static reference to all DAO (data access object) instances. Each constant name must conform to the patternEntityClass.getSimpleName().toUpperCase()
_DAO.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DaoProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
IGenericDao<T>forEntity(T entity)
Finds and return the DAO instance for the given entitystatic <T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
IGenericDao<T>forEntityName(String entityName)
Deprecated.static <T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
IGenericDao<T>forEntityType(Class<T> entityClass)
Finds and returns the DAO instance for the given entity class.
-
-
-
Field Detail
-
AKTION_DAO
@Deprecated public static final IAktionDao AKTION_DAO
Deprecated.Aktion
entities exist only in the old workflow. UseWORKFLOWNODE_DAO
for the closest equivalent in the new workflow.
-
APPOINTMENT_DAO
public static final IAppointmentDao APPOINTMENT_DAO
-
APPOINTMENTTEMPLATE_DAO
public static final IAppointmentTemplateDao APPOINTMENTTEMPLATE_DAO
-
APPOINTMENTTYPE_DAO
public static final IAppointmentTypeDao APPOINTMENTTYPE_DAO
-
APPOINTMENTSLOT_DAO
public static final IAppointmentSlotDao APPOINTMENTSLOT_DAO
-
ATTACHMENT_DAO
public static final IAttachmentDao ATTACHMENT_DAO
-
BEDINGUNG_DAO
@Deprecated public static final IBedingungDao BEDINGUNG_DAO
Deprecated.Aktion
entities exist only in the old workflow. UseWORKFLOWNODE_DAO
for the closest equivalent in the new workflow. Conditions correspond to workflow nodes of typeEWorkflowNodeType.FC_MULTIPLE_CONDITION
.
-
BENUTZER_DAO
public static final IBenutzerDao BENUTZER_DAO
-
BENUTZERGRUPPE_DAO
public static final IBenutzerGruppeDao BENUTZERGRUPPE_DAO
-
DATENBANKZUGRIFF_DAO
public static final IDatenbankZugriffDao DATENBANKZUGRIFF_DAO
-
DATENQUELLE_DAO
public static final IDatenquelleDao DATENQUELLE_DAO
-
ENTITYBERECHTIGUNG_DAO
public static final IEntityberechtigungDao ENTITYBERECHTIGUNG_DAO
-
FORMEINGANG_DAO
public static final IFormEingangDao FORMEINGANG_DAO
-
FORMELEMENT_DAO
public static final IFormElementDao FORMELEMENT_DAO
-
FORMVERSION_DAO
public static final IFormVersionDao FORMVERSION_DAO
-
FORMVERSIONBACKUP_DAO
public static final IFormVersionBackupDao FORMVERSIONBACKUP_DAO
-
MANDANT_DAO
public static final IMandantDao MANDANT_DAO
-
MANDANTMAILDATA_DAO
public static final IMandantMailDataDao MANDANTMAILDATA_DAO
-
MANDANTLDAPDATA_DAO
public static final IMandantLdapDataDao MANDANTLDAPDATA_DAO
-
MODUL_DAO
public static final IModulDao MODUL_DAO
-
PROTOCOLENTRYPROCESS_DAO
public static final IProtocolEntryProcessDao PROTOCOLENTRYPROCESS_DAO
-
PROTOCOLENTRYCLIENT_DAO
public static final IProtocolEntryClientDao PROTOCOLENTRYCLIENT_DAO
-
PROTOCOLENTRYSYSTEM_DAO
public static final IProtocolEntrySystemDao PROTOCOLENTRYSYSTEM_DAO
-
POSTFACH_DAO
public static final IPostfachDao POSTFACH_DAO
-
PROJEKT_DAO
public static final IProjektDao PROJEKT_DAO
-
PROJECTDOIDATA_DAO
public static final IProjectDOIDataDao PROJECTDOIDATA_DAO
-
PROJECTIDENTITYCHECKDATA_DAO
public static final IProjectIdentityCheckDataDao PROJECTIDENTITYCHECKDATA_DAO
-
PROJECTINVITEDATA_DAO
public static final IProjectInviteDataDao PROJECTINVITEDATA_DAO
-
PROJECTAUTHENTICATORCONFIG_DAO
public static final IProjectAuthenticatorConfigDao PROJECTAUTHENTICATORCONFIG_DAO
-
ROLLE_DAO
public static final IRolleDao ROLLE_DAO
-
PROJECTTAG_DAO
public static final IProjectTagDao PROJECTTAG_DAO
-
STATUS_DAO
@Deprecated public static final IStatusDao STATUS_DAO
Deprecated.Aktion
entities exist only in the old workflow. UseWORKFLOWSTATE_DAO
for the closest equivalent in the new workflow.
-
TEXTBAUSTEIN_DAO
public static final ITextbausteinDao TEXTBAUSTEIN_DAO
-
TEMPLATE_DAO
public static final IFormTemplateDao TEMPLATE_DAO
-
VORGANG_DAO
public static final IVorgangDao VORGANG_DAO
-
FRONTENDSERVER_DAO
public static final IFrontendServerDao FRONTENDSERVER_DAO
-
MANDANTFRONTENDSERVER_DAO
public static final IMandantFrontendServerDao MANDANTFRONTENDSERVER_DAO
-
AKTUELLERBENUTZER_DAO
public static final IBenutzerDao AKTUELLERBENUTZER_DAO
-
VORGANG_DATA_DAO
public static final IVorgangsDataDao VORGANG_DATA_DAO
-
PROJEKTRESSOURCE_DAO
public static final IProjektRessourceDao PROJEKTRESSOURCE_DAO
-
MANDANTRESSOURCE_DAO
public static final IMandantRessourceDao MANDANTRESSOURCE_DAO
-
PROJEKTZAEHLER_DAO
public static final IProjektZaehlerDao PROJEKTZAEHLER_DAO
-
PROJEKTZAEHLERDATEN_DAO
public static final IProjektZaehlerDatenDao PROJEKTZAEHLERDATEN_DAO
-
LDAPZUGRIFF_DAO
public static final ILDAPZugriffDao LDAPZUGRIFF_DAO
-
LDAPABFRAGE_DAO
public static final ILDAPAbfrageDao LDAPABFRAGE_DAO
-
LDAPGRUPPE_DAO
public static final ILDAPGruppeDao LDAPGRUPPE_DAO
-
CLIENTAUTHENTICATOR_DAO
public static final IClientAuthenticatorDao CLIENTAUTHENTICATOR_DAO
-
CLIENTCOUNTER_DAO
public static final IClientCounterDao CLIENTCOUNTER_DAO
-
GENERIC_FILE_DAO
public static final IGenericFileDao GENERIC_FILE_DAO
-
LICENSE_FILE_DAO
public static final ILicenseFileDao LICENSE_FILE_DAO
-
DATENTABELLE_DAO
public static final IDatentabelleDao DATENTABELLE_DAO
-
SYSTEMMESSAGE_DAO
public static final ISystemMessageDao SYSTEMMESSAGE_DAO
-
SYSTEMCHANGE_DAO
public static final ISystemChangeDao SYSTEMCHANGE_DAO
-
SYSTEMPROPERTY_DAO
public static final ISystemPropertyDao SYSTEMPROPERTY_DAO
-
SYSTEMAUTHENTICATOR_DAO
public static final ISystemAuthenticatorDao SYSTEMAUTHENTICATOR_DAO
-
WORKFLOWVERSION_DAO
public static final IWorkflowVersionDao WORKFLOWVERSION_DAO
The singleton instance ofIWorkflowVersionDao
for accessing, creating, deleting, and updatingWorkflowVersion
entities.
-
WORKFLOWSTATE_DAO
public static final IWorkflowStateDao WORKFLOWSTATE_DAO
The singleton instance ofIWorkflowStateDao
for accessing, creating, deleting, and updatingWorkflowState
entities.
-
WORKFLOWPROCESS_DAO
public static final IWorkflowProcessDao WORKFLOWPROCESS_DAO
The singleton instance ofIWorkflowProcessDao
for accessing, creating, deleting, and updatingWorkflowProcess
entities.
-
WORKFLOWTASK_DAO
public static final IWorkflowTaskDao WORKFLOWTASK_DAO
The singleton instance ofIWorkflowTaskDao
for accessing, creating, deleting, and updatingWorkflowTask
entities.
-
WORKFLOWNODE_DAO
public static final IWorkflowNodeDao WORKFLOWNODE_DAO
The singleton instance ofIWorkflowNodeDao
for accessing, creating, deleting, and updatingWorkflowNode
entities.
-
WORKFLOWTRIGGER_DAO
public static final IWorkflowTriggerDao WORKFLOWTRIGGER_DAO
The singleton instance ofIWorkflowTriggerDao
for accessing, creating, deleting, and updatingWorkflowTrigger
entities.
-
WORKFLOWTRIGGERSEARCHTERM_DAO
public static final IWorkflowTriggerSearchTermDao WORKFLOWTRIGGERSEARCHTERM_DAO
The singleton instance ofIWorkflowTriggerSearchTermDao
for accessing, creating, deleting, and updatingWorkflowTriggerSearchTerm
entities.
-
WORKFLOWNODESEARCHTERM_DAO
public static final IWorkflowNodeSearchTermDao WORKFLOWNODESEARCHTERM_DAO
The singleton instance ofIWorkflowNodeSearchTermDao
for accessing, creating, deleting, and updatingWorkflowNodeSearchTerm
entities.
-
FORMRECORDLOCK_DAO
public static final IFormRecordLockDao FORMRECORDLOCK_DAO
The singleton instance ofIFormRecordLockDao
for locking and unlockingform records
.
-
WORKFLOWVERSIONBACKUP_DAO
public static final IWorkflowVersionBackupDao WORKFLOWVERSIONBACKUP_DAO
The singleton instance ofIWorkflowVersionBackupDao
for accessing, creating, deleting, and updatingWorkflowVersionBackup
entities.
-
SYSTEMPLUGIN_DAO
public static final ISystemPluginDao SYSTEMPLUGIN_DAO
-
CLIENTPLUGIN_DAO
public static final IClientPluginDao CLIENTPLUGIN_DAO
-
-
Method Detail
-
forEntityName
@Deprecated public static <T extends de.xima.cmn.dao.interfaces.IEntity<Long>> IGenericDao<T> forEntityName(String entityName)
Deprecated.Finds the DAO instance for the given entity class.- Parameters:
entityName
- Name of the entity, ie.entity.getClass().getSimpleName()
.- Returns:
- The DAO instance, or
null
if no DAO instance is available.
-
forEntityType
public static <T extends de.xima.cmn.dao.interfaces.IEntity<Long>> IGenericDao<T> forEntityType(Class<T> entityClass)
Finds and returns the DAO instance for the given entity class.- Parameters:
entityClass
- TheIEntity
for which to determine the DAO.- Returns:
- The DAO instance, or
null
if no DAO instance is available.
-
forEntity
public static final <T extends de.xima.cmn.dao.interfaces.IEntity<Long>> IGenericDao<T> forEntity(T entity)
Finds and return the DAO instance for the given entity- Type Parameters:
T
- Type of the DAO- Parameters:
entity
-IEntity
for which to determine the DAO- Returns:
- The DAO instance, or
null
if no DAO instance is available.
-
-