SmappState determineFollowingSmappStateFromPattern( SmappStateProcessingContext context ) throws DBException, CryptoException