LDEV-4407 Move contentrepository specific code to lams_contentrepositorySplit IToolContentHandler into IToolContentFullHandler andIToolContentHandler interfaces1. IToolContentFullHandler is going to be used by lams_contentrepositoryonly2. IToolContentHandler - by all other modules
LDEV-4619 Encode properly inline filesIt seems, setting charset=UTF-8 makes sense only for txt files.However, we will set it for files of all mime types.
LDEV-4407 Move shared contentrepository classes to lams_commonThis is done in order to eliminate the need for other projects to be dependent on lams_contentrepository.
LDEV-4407 Move lams_contentrepository exceptions to the proper packagelams_contentrepository's exception classes were moved tocontentrepository.exception package.(To access exceptions' earlier history use Eclipse's Show in Historyfeature or run 'git log --follow ./path/to/file')
LDEV-3971: Remove pointless synchronisation from Java methods. It would not work in multi-node environment anyway. Focus on DB transactions. General clean up and formatting.
LDEV-3735, LDEV-3674: Rewrite LD import using JDK XML tools. Remove cglib library which does not seem to be used by XStream anymore. Remove Axis and wsdl4j libraries, and several Java classes made obsolete by Flash removal. Fix LD import in FLA and several Tools.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.Attach activity to Hibernate session in completeActivity() method.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.Attach activity to Hibernate session in completeActivity() method.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.