- Login now works
- CdiUtil now uses JNDI to lookup CDI BeanManager because that works more reliable.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3862 8810af33-2d31-482b-a856-94f89814c4df
Also this commits adds the DefaultEntityGraph annotation which allows it to name a (named) EntityGraph which should be applied by default to when the entity is loaded from the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3859 8810af33-2d31-482b-a856-94f89814c4df
- Added UUID field to CcmObject
- Added interface Identifiable. All entities which are identifiable via a UUID (which will be all "root" entities) will implement this interface directly or indirectly.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3854 8810af33-2d31-482b-a856-94f89814c4df
- adds the base structure for the new second version of the exporter/importer routine
- the abstract super class for the objectentities, the enum for possible fomats and the marshal itself for im-/exporting list of objects
- adds a first implementation of the AbstractResourceMarshal for extending the abstact super 'AbstactMarshal'
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3850 8810af33-2d31-482b-a856-94f89814c4df
- deletes the previous versions of exporter and importer in package core
- modifies pom for use of jackson libraries
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3849 8810af33-2d31-482b-a856-94f89814c4df
- modifies the jpa strukture of Resource-File-Folder in the package docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3838 8810af33-2d31-482b-a856-94f89814c4df
- adds Manager and Repository for both File and Folder classes in DocRepo
- changed class definition of Resource, ResourceManager and ResourceRepository to abstract
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3828 8810af33-2d31-482b-a856-94f89814c4df
- adds implementation for the ObjectImporter
- changes name for the im-/exporter business from exchange to portation
(the package name)
- adds implemtation of ObjectImporter for the File in DocRepo
- adds build dependancy for DocRepo
- removes non-compilable stuff of DocRepo
(necessary so the tests in docrepo can be compiled before running)
- adds testclass for the FileExporter and FileImporter (last not functioning yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3810 8810af33-2d31-482b-a856-94f89814c4df
- Migrated MailConfig and XmlConfig to new configuration system
- Replaced StringJoiner to several toString methods with collection.stream().collect and Collectors#joining
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3797 8810af33-2d31-482b-a856-94f89814c4df
- changes the structure of the abstract methods of the ObjectExporter
- corrects the overriding methods in the ResourceExporter
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3794 8810af33-2d31-482b-a856-94f89814c4df
- adds dependency for 'com.opencsv' to parent-pom.xml and core-pom.xml
- adds package exchange to ccm-core for the export-import-routines
- adds class ObjectExporter to the exchange-package for the basic export-functionalities
- adds dummy package docrepo.exchange.exporter into the exchange package of core
- adds ResourceExporter to the dummy package for implementation of the abstact methods of the ObjectExporter
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3792 8810af33-2d31-482b-a856-94f89814c4df
- adds additional classes from docrepo to ccm_ng
- adds two classes with massive errors, sorry, was necessary
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3774 8810af33-2d31-482b-a856-94f89814c4df
- removed the CdiLookupExceptions
- added db.notfound.file/folder/resources to the Resources.properties
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3771 8810af33-2d31-482b-a856-94f89814c4df
- Replaced CdiLookupException with IllegalStateException. IllegalStateException
is a RuntimeException, therefore it is not necessary to catch the exception.
An error in the findBean method usually is not recoverable, therefore it is
not necessary to use a checked exception.
- Removed several uses of UncheckedWrapperException
- CategoryRepository and CategoryManager are now implemented (not completetly
yet) and have tests.
- Changed value field of EnumConfigurationEntry from List to Set to avoid
duplicate entries.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3770 8810af33-2d31-482b-a856-94f89814c4df